CVE-2025-3887: debian debian_linux Stack-based Buffer Overflow
Vulnerability summary
CVE-2025-3887 is a high (CVSS 8.8) Stack-based Buffer Overflow vulnerability in debian debian_linux. EPSS estimates a 0.91% chance of exploitation in the next 30 days, higher than 59.4% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 1 · Related 2Timeline
- 22-05-2025PublishedVulnerability first disclosed.
- 17-06-2025Last modifiedVulnerability information updated.
Description
GStreamer H265 Codec 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 slice headers. 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-26596.
CVSS metrics
5 scores · 5 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem 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
0.91%
Chance of exploitation in the next 30 days
Percentile
59%
Versus all other CVEs
30-day change
+0.06 pp
From 0.85% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-121Stack-based Buffer OverflowA stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Suse22 products
- gstreamer-plugins-bad&distro=SUSE Enterprise Storage 7.1< 1.16.3-150300.9.21.1
- gstreamer-plugins-bad&distro=SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS< 1.16.3-150300.9.21.1
- gstreamer-plugins-bad&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS< 1.20.1-150400.3.26.1
- gstreamer-plugins-bad&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS< 1.20.1-150400.3.26.1
- gstreamer-plugins-bad&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS< 1.22.0-150500.3.28.1
Redhat6 products
- gstreamer1-plugins-bad-free< 0:1.22.12-4.el9_6 | < 0:1.24.11-2.el10_0 | < 0:1.16.1-5.el8_10 | < 0:1.16.1-3.el8_8 | < 0:1.18.4-8.el9_2 | < 0:1.18.4-7.el9_0 | < 0:1.22.1-5.el9_4 | < 0:1.16.1-3.el8_4 | < 0:1.16.1-3.el8_2 | < 0:1.16.1-3.el8_6
- gstreamer1-plugins-bad-free-debuginfo< 0:1.22.12-4.el9_6 | < 0:1.24.11-2.el10_0 | < 0:1.16.1-5.el8_10 | < 0:1.16.1-3.el8_8 | < 0:1.18.4-8.el9_2 | < 0:1.18.4-7.el9_0 | < 0:1.22.1-5.el9_4 | < 0:1.16.1-3.el8_4 | < 0:1.16.1-3.el8_2 | < 0:1.16.1-3.el8_6
- gstreamer1-plugins-bad-free-debugsource< 0:1.22.12-4.el9_6 | < 0:1.24.11-2.el10_0 | < 0:1.16.1-5.el8_10 | < 0:1.16.1-3.el8_8 | < 0:1.18.4-8.el9_2 | < 0:1.18.4-7.el9_0 | < 0:1.22.1-5.el9_4 | < 0:1.16.1-3.el8_4 | < 0:1.16.1-3.el8_2 | < 0:1.16.1-3.el8_6
- gstreamer1-plugins-bad-free-devel< 0:1.22.12-4.el9_6 | < 0:1.24.11-2.el10_0 | < 0:1.16.1-5.el8_10 | < 0:1.22.1-5.el9_4
- gstreamer1-plugins-bad-free-libs< 0:1.22.12-4.el9_6 | < 0:1.24.11-2.el10_0
Debian2 products
- gst-plugins-bad1.0< 1.26.1-1 | < 1.22.0-4+deb12u6 | < 1.18.4-3+deb11u5
- debian_linuxEOL11.0
Gstreamer1 product
- gstreamer2e8b542145c1b11f8b8d927f6c679fd8028ceb60 | ≥ 1.0.0, < 1.26.1
Mageia1 product
- gstreamer1.0-plugins-bad< 1.22.11-1.1.mga9 | < 1.22.11-1.1.mga9.tainted
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+esm1 | < 1.20.3-0ubuntu1.1+esm2 | < 1.24.2-1ubuntu4+esm1
6 vendors · 33 products
References
45 links- www.zerodayinitiative.com/advisories/ZDI-25-267/X Research AdvisoryARTICLEREPORTThird Party Advisory