CVE-2025-6663

GStreamer H266 Codec Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability

Published Jul 7, 2025 CVSS 3.0 · 7.8 High EPSS < 1% KEV · Not listed
Description
GStreamer H266 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 H266 sei messages. 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-27381.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-20240 GStreamer H266 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 H266 sei messages. 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-27381.
History
Type Values Removed Values Added
CPEs cpe:2.3:a:gstreamer_project:gstreamer:*:*:*:*:*:*:*:* cpe:2.3:a:gstreamer:gstreamer:*:*:*:*:*:*:*:*
Vendors & Products Gstreamer Project
Gstreamer Project gstreamer
Type Values Removed Values Added
First Time appeared Gstreamer Project
Gstreamer Project gstreamer
Weaknesses CWE-787
CPEs cpe:2.3:a:gstreamer_project:gstreamer:*:*:*:*:*:*:*:*
Vendors & Products Gstreamer Project
Gstreamer Project gstreamer
Type Values Removed Values Added
Metrics epss

{'score': 0.0004}

epss

{'score': 0.00043}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description GStreamer H266 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 H266 sei messages. 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-27381.
Title GStreamer H266 Codec Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability
Weaknesses CWE-121
References
Metrics cvssV3_0

{'score': 7.8, 'vector': 'CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
zdi
Published
Updated
Jul 7, 2025, 3:11 PM
Reserved
Jun 25, 2025, 2:32 PM
Status
Analyzed
Published
Jul 7, 2025, 3:15 PM
Modified
Jun 17, 2026, 10:02 AM
Severity
Important
Public date
Jul 7, 2025, 2:58 PM