CVE-2025-6663

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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7.8 HIGH
LOCAL
LOW
NONE
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: Unknown
Affected Products (NVD)
VendorProductVersion
gstreamergstreamer
1.26.0 ≤
𝑥
< 1.26.3
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
gst-plugins-bad1.0
bookworm
1.22.0-4+deb12u6
fixed
bookworm (security)
1.22.0-4+deb12u7
fixed
bullseye
1.18.4-3+deb11u4
fixed
bullseye (security)
1.18.4-3+deb11u6
fixed
forky
1.28.2-1
fixed
sid
1.28.2-1
fixed
trixie
1.26.2-3
fixed
trixie (security)
1.26.2-3+deb13u1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
gst-plugins-bad1.0
bionic
needs-triage
focal
needs-triage
jammy
needs-triage
noble
needs-triage
oracular
ignored
plucky
ignored
questing
not-affected
trusty
needs-triage
xenial
needs-triage