cve.bz

CVE-2025-3887 Out-of-bounds Write

8.8 highEPSS 0.9%

High (8.8). EPSS 0.9% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

8.8 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 61st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2025-05-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-787 Out-of-bounds Write
CWE-121 Stack-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-3887 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-3887?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-3887?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-3887 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gstreamer:gstreamerfrom 1.0.0 before 1.26.1
debian:debian_linux11.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11gst-plugins-bad1.01.18.4-3+deb11u5DLA-4219-1
Debian12gst-plugins-bad1.01.22.0-4+deb12u6DEBIAN-CVE-2025-3887 DSA-5941-1
Debian13, 14gst-plugins-bad1.01.26.1-1DEBIAN-CVE-2025-3887
UbuntuPro:16.04:LTSgst-plugins-bad1.01.8.3-1ubuntu0.2+esm1UBUNTU-CVE-2025-3887
UbuntuPro:18.04:LTSgst-plugins-bad1.01.14.5-0ubuntu1~18.04.1+esm1UBUNTU-CVE-2025-3887
UbuntuPro:20.04:LTSgst-plugins-bad1.01.16.3-0ubuntu1.1+esm1UBUNTU-CVE-2025-3887 USN-7558-1
UbuntuPro:22.04:LTSgst-plugins-bad1.01.20.3-0ubuntu1.1+esm2UBUNTU-CVE-2025-3887 USN-7558-1
UbuntuPro:24.04:LTSgst-plugins-bad1.01.24.2-1ubuntu4+esm1UBUNTU-CVE-2025-3887 USN-7558-1
Red Hatenterprise_linux:8::appstreamgstreamer1-plugins-bad-free, gstreamer1-plugins-bad-free-debuginfo, gstreamer1-plugins-bad-free-debugsource0:1.16.1-5.el8_10RHSA-2025:8201
Red Hatenterprise_linux:8::crbgstreamer1-plugins-bad-free-devel, gstreamer1-plugins-bad-free-debuginfo, gstreamer1-plugins-bad-free-debugsource0:1.16.1-5.el8_10RHSA-2025:8201
Red Hatenterprise_linux:9::appstreamgstreamer1-plugins-bad-free, gstreamer1-plugins-bad-free-libs, gstreamer1-plugins-bad-free-debuginfo and 2 more0:1.22.12-4.el9_6RHSA-2025:8183
Red Hatenterprise_linux:9::crbgstreamer1-plugins-bad-free-devel, gstreamer1-plugins-bad-free-debuginfo, gstreamer1-plugins-bad-free-debugsource and 1 more0:1.22.12-4.el9_6RHSA-2025:8183
Red Hatenterprise_linux:10.0gstreamer1-plugins-bad-free, gstreamer1-plugins-bad-free-libs, gstreamer1-plugins-bad-free-devel and 3 more0:1.24.11-2.el10_0RHSA-2025:8184
Red Hatrhel_aus:8.2::appstreamgstreamer1-plugins-bad-free, gstreamer1-plugins-bad-free-debuginfo, gstreamer1-plugins-bad-free-debugsource0:1.16.1-3.el8_2RHSA-2025:8981
Red Hatrhel_aus:8.4::appstreamgstreamer1-plugins-bad-free, gstreamer1-plugins-bad-free-debuginfo, gstreamer1-plugins-bad-free-debugsource0:1.16.1-3.el8_4RHSA-2025:8980
Red Hatrhel_aus:8.6::appstream, rhel_e4s:8.6::appstream, rhel_tus:8.6::appstreamgstreamer1-plugins-bad-free, gstreamer1-plugins-bad-free-debuginfo, gstreamer1-plugins-bad-free-debugsource0:1.16.1-3.el8_6RHSA-2025:9056
Red Hatrhel_e4s:8.8::appstream, rhel_tus:8.8::appstreamgstreamer1-plugins-bad-free, gstreamer1-plugins-bad-free-debuginfo, gstreamer1-plugins-bad-free-debugsource0:1.16.1-3.el8_8RHSA-2025:8976
Red Hatrhel_e4s:9.0::appstreamgstreamer1-plugins-bad-free, gstreamer1-plugins-bad-free-debuginfo, gstreamer1-plugins-bad-free-debugsource0:1.18.4-7.el9_0RHSA-2025:8978
Red Hatrhel_e4s:9.2::appstreamgstreamer1-plugins-bad-free, gstreamer1-plugins-bad-free-debuginfo, gstreamer1-plugins-bad-free-debugsource0:1.18.4-8.el9_2RHSA-2025:8977
Red Hatrhel_eus:9.4::appstreamgstreamer1-plugins-bad-free, gstreamer1-plugins-bad-free-debuginfo, gstreamer1-plugins-bad-free-debugsource0:1.22.1-5.el9_4RHSA-2025:8979
1 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Server 15 SP3-LTSS and 1 moregstreamer-plugins-bad1.16.3-150300.9.21.1SUSE-SU-2025:01718-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 3 moregstreamer-plugins-bad1.20.1-150400.3.26.1SUSE-SU-2025:01725-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Server 15 SP5-LTSS and 1 moregstreamer-plugins-bad1.22.0-150500.3.28.1SUSE-SU-2025:01717-1
SUSELinux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Basesystem 15 SP7, Linux Enterprise Module for Desktop Applications 15 SP6 and 3 moregstreamer-plugins-bad1.24.0-150600.4.3.1SUSE-SU-2025:01737-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5gstreamer-plugins-bad1.8.3-18.18.1SUSE-SU-2025:01729-1
AlmaLinux8gstreamer1-plugins-bad-free, gstreamer1-plugins-bad-free-devel1.16.1-5.el8_10ALSA-2025:8201
AlmaLinux9gstreamer1-plugins-bad-free, gstreamer1-plugins-bad-free-libs, gstreamer1-plugins-bad-free-devel1.22.12-4.el9_6ALSA-2025:8183
AlmaLinux10gstreamer1-plugins-bad-free, gstreamer1-plugins-bad-free-libs, gstreamer1-plugins-bad-free-devel1.24.11-2.el10_0ALSA-2025:8184
Rocky Linux8gstreamer1-plugins-bad-free0:1.16.1-5.el8_10RLSA-2025:8201
Rocky Linux9gstreamer1-plugins-bad-free0:1.22.12-4.el9_6RLSA-2025:8183
Rocky Linux10gstreamer1-plugins-bad-free0:1.24.11-2.el10_0RLSA-2025:8184
Alpinev3.22, v3.23, v3.24gst-plugins-bad1.26.1-r0ALPINE-CVE-2025-3887

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat has stack protection mechanisms in place, such as FORTIFY_SOURCE, Position Independent Executables, or Stack Smashing Protection. Furthermore, caution is advised against unknown or random sources of data.

Red Hat's mitigation

Mitigation 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.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10gstreamer1-plugins-bad-free-0:1.24.11-2.el10_0Fixed 2025-05-27RHSA-2025:8184
Red Hat Enterprise Linux 8gstreamer1-plugins-bad-free-0:1.16.1-5.el8_10Fixed 2025-05-27RHSA-2025:8201
Red Hat Enterprise Linux 8.2 Advanced Update Supportgstreamer1-plugins-bad-free-0:1.16.1-3.el8_2Fixed 2025-06-12RHSA-2025:8981
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportgstreamer1-plugins-bad-free-0:1.16.1-3.el8_4Fixed 2025-06-12RHSA-2025:8980
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportgstreamer1-plugins-bad-free-0:1.16.1-3.el8_6Fixed 2025-06-13RHSA-2025:9056
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicegstreamer1-plugins-bad-free-0:1.16.1-3.el8_6Fixed 2025-06-13RHSA-2025:9056
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionsgstreamer1-plugins-bad-free-0:1.16.1-3.el8_6Fixed 2025-06-13RHSA-2025:9056
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicegstreamer1-plugins-bad-free-0:1.16.1-3.el8_8Fixed 2025-06-12RHSA-2025:8976
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionsgstreamer1-plugins-bad-free-0:1.16.1-3.el8_8Fixed 2025-06-12RHSA-2025:8976
Red Hat Enterprise Linux 9gstreamer1-plugins-bad-free-0:1.22.12-4.el9_6Fixed 2025-05-27RHSA-2025:8183
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionsgstreamer1-plugins-bad-free-0:1.18.4-7.el9_0Fixed 2025-06-12RHSA-2025:8978
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsgstreamer1-plugins-bad-free-0:1.18.4-8.el9_2Fixed 2025-06-12RHSA-2025:8977
Red Hat Enterprise Linux 9.4 Extended Update Supportgstreamer1-plugins-bad-free-0:1.22.1-5.el9_4Fixed 2025-06-12RHSA-2025:8979
Red Hat Enterprise Linux 7gstreamer1-plugins-bad-freeNot affected
Red Hat Enterprise Linux 8mingw-gstreamer1-plugins-bad-freeAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-3887.

References

Check your stackJSON