8.8

CVE-2023-40476: gstreamer Stack-based Buffer Overflow

CVSS: 8.8v3.0HighModified
AliasesUBUNTU-CVE-2023-40476DEBIAN-CVE-2023-40476
Published 03-05-2024Last modified 04-11-2025

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 82.7% of scored vulnerabilities.

Overall risk
36/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.8/10
010
High · v3.0 (CVE.org)
EPSS score
2.26%
0%100%
Low · +0.25 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 13 · Related 9

Timeline

  1. 03-05-2024
    PublishedVulnerability first disclosed.
  2. 04-11-2025
    Last 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

6 scores · 4 sources · 2 versions

EPSS trend

Probability

2.26%

Chance of exploitation in the next 30 days

Percentile

83%

Versus all other CVEs

30-day change

+0.25 pp

From 2.01% on 20-09-2026

20-09-202620-10-2026
EPSS score
2.26%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

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

3 vendors · 3 products

References

9 links