CVE-2023-40476

EUVD-2023-45047
GStreamer H265 Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GStreamer. Interaction with this library is required to exploit this vulnerability but attack vectors may vary depending on the implementation.

The specific flaw exists within the parsing of H265 encoded video files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process.
. Was ZDI-CAN-21768.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
8.8 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
zdiCNA
8.8 HIGH
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 90%
Affected Products (NVD)
VendorProductVersion
gstreamer_projectgstreamer
𝑥
< 1.22.6
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
gst-plugins-bad1.0
bookworm
1.22.0-4+deb12u5
fixed
bookworm (security)
1.22.0-4+deb12u5
fixed
bullseye
1.18.4-3+deb11u4
fixed
bullseye (security)
1.18.4-3+deb11u4
fixed
sid
1.24.10-2
fixed
trixie
1.24.10-2
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
gst-plugins-bad0.10
bionic
ignored
focal
dne
jammy
dne
lunar
dne
mantic
dne
noble
dne
oracular
dne
trusty
not-affected
xenial
ignored
gst-plugins-bad1.0
bionic
needed
focal
Fixed 1.16.3-0ubuntu1.1
released
jammy
Fixed 1.20.3-0ubuntu1.1
released
lunar
Fixed 1.22.1-1ubuntu1.1
released
mantic
Fixed 1.22.4-1ubuntu1.1
released
noble
pending
oracular
not-affected
trusty
not-affected
xenial
needed