CVE-2025-3887

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

References

Type URI
x_research-advisory https://www.zerodayinitiative.com/advisories/ZDI-25-267/
af854a3a-2127-422b-91ae-364da2661108 https://lists.debian.org/debian-lts-announce/2025/06/msg00017.html

Match rules

CPE URI Source package Min version Max version
gstreamer == 2e8b542145c1b11f8b8d927f6c679fd8028ceb60 == 2e8b542145c1b11f8b8d927f6c679fd8028ceb60
cpe:2.3:a:gstreamer_project:gstreamer:*:*:*:*:*:*:*:* gstreamer >= 1.0.0 < 1.26.1

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
gstreamer edge-main 1.24.12-r0 Krassy Boykinov <kboykinov@teamcentrixx.com> possibly vulnerable
gstreamer edge-main 1.24.11-r0 Krassy Boykinov <kboykinov@teamcentrixx.com> possibly vulnerable
gstreamer edge-main 1.24.10-r0 Krassy Boykinov <kboykinov@teamcentrixx.com> possibly vulnerable
gstreamer edge-main 1.24.9-r0 Krassy Boykinov <kboykinov@teamcentrixx.com> possibly vulnerable
gstreamer edge-main 1.18.4-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
gstreamer 3.22-main 1.18.4-r0 None possibly vulnerable
gstreamer 3.21-main 1.24.11-r0 Krassy Boykinov <kboykinov@teamcentrixx.com> possibly vulnerable
gstreamer 3.21-main 1.24.10-r0 Krassy Boykinov <kboykinov@teamcentrixx.com> possibly vulnerable
gstreamer 3.21-main 1.18.4-r0 None possibly vulnerable
gstreamer 3.20-main 1.24.10-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
gstreamer 3.20-main 1.24.9-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
gstreamer 3.20-main 1.18.4-r0 None possibly vulnerable
gstreamer 3.19-main 1.22.12-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
gstreamer 3.19-main 1.18.4-r0 None possibly vulnerable
gst-plugins-bad edge-community 1.26.1-r0 Krassy Boykinov <kboykinov@teamcentrixx.com> fixed
gst-plugins-bad 3.22-community 1.26.1-r0 None fixed