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

Published May 22, 2025
·
Updated

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.

Affected Software

4 affected components
GStreamer GStreamer
GStreamer GStreamer
GStreamer GStreamer>=1.0.0<1.26.1
Debian Debian Linux=11.0

Event History

May 22, 2025
CVE Published
via MITRE·12:47 AM
Data Sourced
via MITRE·12:47 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:15 AM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via Red Hat·02:01 AM
DescriptionSeverityAffected Software
Jul 5, 2025
Advisory Published
via ZDI·01:15 AM
Data Sourced
via ZDI·01:15 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-3887?

CVE-2025-3887 is rated as critical due to its potential for remote code execution.

2

How do I fix CVE-2025-3887?

To fix CVE-2025-3887, update to the latest version of GStreamer that addresses this vulnerability.

3

What impact does CVE-2025-3887 have on GStreamer installations?

CVE-2025-3887 allows remote attackers to execute arbitrary code, posing a significant risk to affected GStreamer installations.

4

Is CVE-2025-3887 easily exploitable?

Exploitation of CVE-2025-3887 requires interaction with the vulnerable GStreamer library, making it dependent on the attack vector.

5

When was CVE-2025-3887 disclosed?

CVE-2025-3887 was disclosed as part of security improvements for GStreamer and is currently under active investigation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203