CVE-2025-3887 Details
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.
A stack-based buffer overflow vulnerability allowing remote code execution has been identified in the GStreamer H265 codec parsing. The issue arises from improper validation of user-supplied data lengths before copying them to a fixed-length stack-based buffer, particularly in the parsing of H265 slice headers. This vulnerability requires interaction with the GStreamer library to exploit, and can be leveraged to execute arbitrary code in the context of the current process.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 22, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://lists.debian.org/debian-lts-announce/2025/06/msg00017.html | CVE | Mailing ListThird Party Advisory |
| https://www.zerodayinitiative.com/advisories/ZDI-25-267/ | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
| CWE-121 | Stack-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| gstreamer gstreamer | >= 1.0.0, < 1.26.1 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 17, 2026 | CPE Deprecation Remap | [email protected] |
| Aug 13, 2025 | Initial Analysis | [email protected] |
| Jun 17, 2025 | CVE Modified | CVE |
| May 22, 2025 | New CVE Received | [email protected] |