CVE-2025-3887

EUVD-2025-16092
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
8.8 HIGH
NETWORK
LOW
NONE
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
zdiCNA
8.8 HIGH
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 69%
Affected Products (NVD)
VendorProductVersion
gstreamer_projectgstreamer
1.0.0 ≤
𝑥
< 1.26.1
debiandebian_linux
11.0
𝑥
= Vulnerable software versions
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
gst-plugins-bad1.0
bionic
needed
focal
Fixed 1.16.3-0ubuntu1.1+esm1
released
jammy
Fixed 1.20.3-0ubuntu1.1+esm2
released
noble
Fixed 1.24.2-1ubuntu4+esm1
released
oracular
Fixed 1.24.8-2ubuntu1.1
released
plucky
Fixed 1.26.0-1ubuntu2.1
released
questing
needed
trusty
not-affected
xenial
needed