CVEfocus › CVE database › CVE-2025-3887

CVE-2025-3887GStreamer H265 Codec Parsing Stack-based Buffer Overflow Remote Code Execution…

CVSS 8.8 HighEPSS 1.5% (higher than 74% of CVEs)Published 2025-05-22Updated 2025-06-17Assigner: zdi

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.

CWE-121

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

25Fixed
8Fix pending
5Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04gst-plugins-bad1.0Not affected
vulnerable_code_not_present
Ubuntu 25.10gst-plugins-bad1.0Not affected
vulnerable_code_not_present
Ubuntu 24.04gst-plugins-bad1.0Fix pending1.24.2-1ubuntu4+esm1 (Ubuntu Pro)UBUNTU-CVE-2025-3887
Ubuntu 22.04gst-plugins-bad1.0Fix pending1.20.3-0ubuntu1.1+esm2 (Ubuntu Pro)UBUNTU-CVE-2025-3887
Ubuntu 20.04gst-plugins-bad1.0Fix pending1.16.3-0ubuntu1.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2025-3887
Ubuntu 18.04gst-plugins-bad1.0Fix pending1.14.5-0ubuntu1~18.04.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2025-3887
Ubuntu 16.04gst-plugins-bad1.0Fix pending1.8.3-1ubuntu0.2+esm1 (Ubuntu Pro)UBUNTU-CVE-2025-3887
Debian 14gst-plugins-bad1.0Fixed1.26.1-1DEBIAN-CVE-2025-3887
Debian 13gst-plugins-bad1.0Fixed1.26.1-1DEBIAN-CVE-2025-3887
Debian 12gst-plugins-bad1.0Fixed1.22.0-4+deb12u6DEBIAN-CVE-2025-3887
Red Hat Enterprise Linux 10gstreamer1-plugins-bad-freeFixed0:1.24.11-2.el10_0RHSA-2025:8184
Red Hat Enterprise Linux 10gstreamer1-plugins-bad-free-develFixed0:1.24.11-2.el10_0RHSA-2025:8184
Red Hat Enterprise Linux 10gstreamer1-plugins-bad-free-libsFixed0:1.24.11-2.el10_0RHSA-2025:8184
Red Hat Enterprise Linux 9gstreamer1-plugins-bad-freeFixed0:1.22.12-4.el9_6RHSA-2025:8183
Red Hat Enterprise Linux 9gstreamer1-plugins-bad-free-develFixed0:1.22.12-4.el9_6RHSA-2025:8183
Red Hat Enterprise Linux 9gstreamer1-plugins-bad-free-libsFixed0:1.22.12-4.el9_6RHSA-2025:8183
Red Hat Enterprise Linux 8gstreamer1-plugins-bad-freeFixed0:1.16.1-5.el8_10RHSA-2025:8201
Red Hat Enterprise Linux 8gstreamer1-plugins-bad-free-develFixed0:1.16.1-5.el8_10RHSA-2025:8201
Red Hat Enterprise Linux 8mingw-gstreamer1-plugins-bad-freeFix pending
Affected
Red Hat Enterprise Linux 8mingw32-gstreamer1-plugins-bad-freeFix pending
Affected
Red Hat Enterprise Linux 8mingw64-gstreamer1-plugins-bad-freeFix pending
Affected
Red Hat Enterprise Linux 7gstreamer1-plugins-bad-freeNot affected
Red Hat Enterprise Linux 7gstreamer1-plugins-bad-free-develNot affected
Red Hat Enterprise Linux 7gstreamer1-plugins-bad-free-gtkNot affected
AlmaLinux 10gstreamer1-plugins-bad-freeFixed1.24.11-2.el10_0ALSA-2025:8184
AlmaLinux 10gstreamer1-plugins-bad-free-develFixed1.24.11-2.el10_0ALSA-2025:8184
AlmaLinux 10gstreamer1-plugins-bad-free-libsFixed1.24.11-2.el10_0ALSA-2025:8184
AlmaLinux 9gstreamer1-plugins-bad-freeFixed1.22.12-4.el9_6ALSA-2025:8183
AlmaLinux 9gstreamer1-plugins-bad-free-develFixed1.22.12-4.el9_6ALSA-2025:8183
AlmaLinux 9gstreamer1-plugins-bad-free-libsFixed1.22.12-4.el9_6ALSA-2025:8183
AlmaLinux 8gstreamer1-plugins-bad-freeFixed1.16.1-5.el8_10ALSA-2025:8201
AlmaLinux 8gstreamer1-plugins-bad-free-develFixed1.16.1-5.el8_10ALSA-2025:8201
Rocky Linux 10gstreamer1-plugins-bad-freeFixed0:1.24.11-2.el10_0RLSA-2025:8184
Rocky Linux 9gstreamer1-plugins-bad-freeFixed0:1.22.12-4.el9_6RLSA-2025:8183
Rocky Linux 8gstreamer1-plugins-bad-freeFixed0:1.16.1-5.el8_10RLSA-2025:8201
Alpine Linux 3.24gst-plugins-badFixed1.26.1-r0ALPINE-CVE-2025-3887
Alpine Linux 3.23gst-plugins-badFixed1.26.1-r0ALPINE-CVE-2025-3887
Alpine Linux 3.22gst-plugins-badFixed1.26.1-r0ALPINE-CVE-2025-3887

What the vendor says

As published in the CVE record by zdi, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.