Bug 2367919 (CVE-2025-3887)

Summary: CVE-2025-3887 GStreamer: GStreamer H265 Codec Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in GStreamer H265 Codec Parsing. This vulnerability allows remote attackers to execute arbitrary code by parsing H265 slice headers.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2367930, 2367931, 2367932, 2367933    
Bug Blocks:    

Description OSIDB Bzimport 2025-05-22 02:01:36 UTC
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.

Comment 2 Dominik 'Rathann' Mierzejewski 2025-05-22 08:39:43 UTC
This is for gstreamer1-plugins-bad and is fixed in 1.26.1. Patch to backport for older releases: https://gstreamer.freedesktop.org/security/sa-2025-0001.html .

Comment 3 errata-xmlrpc 2025-05-27 01:33:05 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2025:8184 https://access.redhat.com/errata/RHSA-2025:8184

Comment 4 errata-xmlrpc 2025-05-27 01:39:49 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:8183 https://access.redhat.com/errata/RHSA-2025:8183

Comment 5 errata-xmlrpc 2025-05-27 11:59:58 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2025:8201 https://access.redhat.com/errata/RHSA-2025:8201

Comment 7 errata-xmlrpc 2025-06-12 06:05:14 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions

Via RHSA-2025:8978 https://access.redhat.com/errata/RHSA-2025:8978

Comment 8 errata-xmlrpc 2025-06-12 06:06:15 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.8 Telecommunications Update Service

Via RHSA-2025:8976 https://access.redhat.com/errata/RHSA-2025:8976

Comment 9 errata-xmlrpc 2025-06-12 06:07:45 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2025:8977 https://access.redhat.com/errata/RHSA-2025:8977

Comment 10 errata-xmlrpc 2025-06-12 06:08:07 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.2 Advanced Update Support

Via RHSA-2025:8981 https://access.redhat.com/errata/RHSA-2025:8981

Comment 11 errata-xmlrpc 2025-06-12 06:08:28 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support

Via RHSA-2025:8980 https://access.redhat.com/errata/RHSA-2025:8980

Comment 12 errata-xmlrpc 2025-06-12 06:09:22 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Extended Update Support

Via RHSA-2025:8979 https://access.redhat.com/errata/RHSA-2025:8979

Comment 13 errata-xmlrpc 2025-06-13 05:23:03 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.6 Telecommunications Update Service

Via RHSA-2025:9056 https://access.redhat.com/errata/RHSA-2025:9056