CVE-2023-40476: GStreamer H265 Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability
Vulnerability summary
CVE-2023-40476 is a high (CVSS 8.8) Stack-based Buffer Overflow vulnerability in gstreamer. EPSS estimates a 2.26% chance of exploitation in the next 30 days, higher than 83.5% of scored vulnerabilities.
Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 14 · Related 9Timeline
- 03-05-2024PublishedVulnerability first disclosed.
- 04-11-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
7 scores · 5 sources · 2 versions- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · AlpineEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVDNIST8.8HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
2.26%
Chance of exploitation in the next 30 days
Percentile
84%
Versus all other CVEs
30-day change
No change 0.00 pp
From 2.26% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Alpine1 product
- gst-plugins-bad< 1.22.7-r0 | < 1.22.6-r0
Debian1 product
- gst-plugins-bad1.0< 1.22.0-4+deb12u2 | < 1.22.7-1
Gstreamer1 product
- gstreamerEOL1.22.4 and 8dddb9ad2009705dfc3e50d59d7c56fc7314cfc3 | < 1.22.6
Ubuntu1 product
- gst-plugins-bad1.0< 1.8.3-1ubuntu0.2+esm1 | < 1.14.5-0ubuntu1~18.04.1+esm1 | < 1.16.3-0ubuntu1.1 | < 1.20.3-0ubuntu1.1
4 vendors · 4 products