CVE-2025-3887
Publication date 22 May 2025
Last updated 5 June 2025
Ubuntu priority
Cvss 3 Severity Score
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.
Why is this CVE high priority?
remote code execution
Status
Package | Ubuntu Release | Status |
---|---|---|
gst-plugins-bad1.0 | 25.04 plucky |
Fixed 1.26.0-1ubuntu2.1
|
24.10 oracular |
Fixed 1.24.8-2ubuntu1.1
|
|
24.04 LTS noble |
Fixed 1.24.2-1ubuntu4+esm1
|
|
22.04 LTS jammy |
Fixed 1.20.3-0ubuntu1.1+esm2
|
|
20.04 LTS focal |
Fixed 1.16.3-0ubuntu1.1+esm1
|
|
18.04 LTS bionic |
Vulnerable
|
|
16.04 LTS xenial |
Vulnerable
|
|
14.04 LTS trusty |
Not affected
|
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu ProSeverity score breakdown
Parameter | Value |
---|---|
Base score |
|
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | Required |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | High |
Availability impact | High |
Vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
References
Related Ubuntu Security Notices (USN)
- USN-7558-1
- GStreamer Bad Plugins vulnerabilities
- 5 June 2025
Other references
- https://www.cve.org/CVERecord?id=CVE-2025-3887
- https://gstreamer.freedesktop.org/security/sa-2025-0001.html
- https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/d0e18d6353e4e448ccf3b06a967b394e664dd0b5 (main)
- https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/b33ba2f264c8e39c7794e7452b7b57d48fab3f13 (main)
- https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/5463f0e09768ca90aa8c58357c1f4c645db580db (1.26.1)
- https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/bcaab3609805ea10fb3d9ac0c9d947b4c3563948 (1.26.1)
- https://www.zerodayinitiative.com/advisories/ZDI-25-267/