CVE-2025-3887
No exploitation reported by the sources we read.
- Published2025-05-22
- WeaknessCWE-121 · CWE-787
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2025-05-2201:15CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 11.0 | = 11.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.x | ≥ 1.0.0, < 1.26.1 | 1.26.1 | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As zdi, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- GStreamerother versions: unknownAffected
- = 2e8b542145c1b11f8b8d927f6c679fd8028ceb60no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2025-05-22
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- gst-plugins-badAlpine:v3.24all versions · fixed in 1.26.1-r0
- gst-plugins-badAlpine:v3.23all versions · fixed in 1.26.1-r0
- gst-plugins-badAlpine:v3.22all versions · fixed in 1.26.1-r0
- gst-plugins-bad1.0Ubuntu:Pro:24.04:LTSall versions · fixed in 1.24.2-1ubuntu4+esm1
- gst-plugins-bad1.0Ubuntu:Pro:22.04:LTSall versions · fixed in 1.20.3-0ubuntu1.1+esm2
- gst-plugins-bad1.0Ubuntu:Pro:20.04:LTSall versions · fixed in 1.16.3-0ubuntu1.1+esm1
- gst-plugins-bad1.0Ubuntu:Pro:18.04:LTSall versions · fixed in 1.14.5-0ubuntu1~18.04.1+esm1
- gst-plugins-bad1.0Ubuntu:Pro:16.04:LTSall versions · fixed in 1.8.3-1ubuntu0.2+esm1
52 more package ranges on OSV.dev
Vendor advisories
gstreamer1-plugins-bad-free: mingw-gstreamer1-plugins-bad-free: GStreamer H265 Codec Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability
mingw-gstreamer1-plugins-bad-free.src as a component of Red Hat Enterprise Linux 8 · mingw32-gstreamer1-plugins-bad-free as a component of Red Hat Enterprise Linux 8 · mingw64-gstreamer1-plugins-bad-free as a component of Red Hat Enterprise Linux 8
Red Hat Security Advisory: gstreamer1-plugins-bad-free security update
Red Hat Security Advisory: gstreamer1-plugins-bad-free security update
Red Hat Security Advisory: gstreamer1-plugins-bad-free security update
Red Hat Security Advisory: gstreamer1-plugins-bad-free security update
Red Hat Security Advisory: gstreamer1-plugins-bad-free security update
5 more advisories
Fix
- Vendor fix Red Hat Product Security RHSA-2025:9056 · 30 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Workaround from the vendor Red Hat Product Security RHSA-2025:9056 · 30 productsMitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-26
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2025-05-22
- CNACVSS 3.08.8known since 2026-10-23
- CNAweakness (CWE)CWE-121known since 2026-10-23
- NVDweakness (CWE)CWE-787read 2026-10-23
- FIRST EPSSEPSS score1.5 %2026-11-25
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- EUVD-2025-16092same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-vm2x-3jwq-mv8xsame flawGitHub Advisory Database · CC-BY-4.0
- ALSA-2025:8183advisory covering several CVEsAlmaLinux · MIT
- ALSA-2025:8184advisory covering several CVEsAlmaLinux · MIT
- ALSA-2025:8201advisory covering several CVEsAlmaLinux · MIT
- DLA-4219-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-5941-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2025-0264advisory covering several CVEsMageia · LicenseRef-unstated
- RHSA-2025:8183advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:8184advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:8201advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:8976advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:8977advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:8978advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:8979advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:8980advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:8981advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:9056advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2025:8183advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2025:8184advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2025:8201advisory covering several CVEsRocky Linux · BSD-3-Clause
- SUSE-SU-2025:01717-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:01718-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:01725-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:01729-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:01737-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-7558-1advisory covering several CVEsUbuntu
- USN-8205-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Published
- 2025-05-22
- Last modified
- 2026-06-17
- NVD status
- Analyzed
- GitHub advisory
- GHSA-vm2x-3jwq-mv8x
Frequently asked questions
What is CVE-2025-3887?
Is CVE-2025-3887 actively exploited?
What is the CVSS score for CVE-2025-3887?
Running gstreamer1-plugins-bad-free? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-vm2x-3jwq-mv8x
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0