Skip to main content
No exploitation reportedFix available

CVE-2025-3887

No exploitation reported by the sources we read.

  • Published2025-05-22
  • WeaknessCWE-121 · CWE-787

Am I 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
  1. 2025-05-2201:15CVE publishedNVD

Versions per branch

NVD
Debian debian linux
BranchAffectedFixed in
11.0= 11.0no fix published
Gstreamer
BranchAffectedFixed in
1.x≥ 1.0.0, < 1.26.11.26.1

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: unknown
    Affected
    • = 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

  • CVE-2025-3887 Red Hat Product Security238 products fixed · 3 known affected

    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

  • RHSA-2025:9056 Red Hat Product Security30 products fixed

    Red Hat Security Advisory: gstreamer1-plugins-bad-free security update

  • RHSA-2025:8979 Red Hat Product Security31 products fixed

    Red Hat Security Advisory: gstreamer1-plugins-bad-free security update

  • RHSA-2025:8977 Red Hat Product Security16 products fixed

    Red Hat Security Advisory: gstreamer1-plugins-bad-free security update

  • RHSA-2025:8980 Red Hat Product Security7 products fixed

    Red Hat Security Advisory: gstreamer1-plugins-bad-free security update

  • RHSA-2025:8981 Red Hat Product Security7 products fixed

    Red Hat Security Advisory: gstreamer1-plugins-bad-free security update

5 more advisories

Full record on NVD

Fix

  1. 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
  2. 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
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

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?

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.

Is CVE-2025-3887 actively exploited?

Active exploitation of CVE-2025-3887 has not been confirmed. Its EPSS score was 1.5% on 2026-11-25, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2025-3887?

CVE-2025-3887 has a CVSS v3 base score of 8.8 (High severity), with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

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

Sources for this record