CVE-2025-6663

Name
CVE-2025-6663
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.
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
vendor-advisory https://gitlab.freedesktop.org/tpm/gstreamer/-/commit/eedd01ac3dfeb60e36a44bb61a6d0418454e8416
x_research-advisory https://www.zerodayinitiative.com/advisories/ZDI-25-467/

Match rules

CPE URI Source package Min version Max version
gstreamer == 97fec43422c4b62d569957d721c899bdaaa9da61 == 97fec43422c4b62d569957d721c899bdaaa9da61
cpe:2.3:a:gstreamer_project:gstreamer:*:*:*:*:*:*:*:* gstreamer >= 1.26.0 < 1.26.3

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
gstreamer edge-main 1.26.2-r0 Krassy Boykinov <kboykinov@teamcentrixx.com> possibly vulnerable
gstreamer edge-main 1.26.1-r0 Krassy Boykinov <kboykinov@teamcentrixx.com> possibly vulnerable
gstreamer 3.22-main 1.26.1-r0 Krassy Boykinov <kboykinov@teamcentrixx.com> possibly vulnerable
gst-plugins-bad edge-community 1.26.3-r0 Krassy Boykinov <kboykinov@teamcentrixx.com> fixed
gst-plugins-bad 3.22-community 1.26.3-r0 Krassy Boykinov <kboykinov@teamcentrixx.com> fixed