CVE-2025-3887

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-3887
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-3887.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-3887
Related
Published
2025-05-22T01:15:54Z
Modified
2025-05-23T16:51:18.199266Z
Downstream
Summary
[none]
Details

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.

References

Affected packages

Debian:11 / gst-plugins-bad1.0

Package

Name
gst-plugins-bad1.0
Purl
pkg:deb/debian/gst-plugins-bad1.0?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.18.4-3
1.18.4-3+deb11u1
1.18.4-3+deb11u2
1.18.4-3+deb11u3
1.18.4-3+deb11u4
1.18.5-1
1.19.90-1
1.20.0-1
1.20.0-2
1.20.0-3
1.20.0-4
1.20.1-1
1.20.1-2
1.20.2-1
1.20.3-1
1.20.3-2
1.20.4-1
1.20.5-1
1.22.0-1
1.22.0-2
1.22.0-3
1.22.0-4
1.22.1-1
1.22.3-1
1.22.3-2
1.22.4-1
1.22.7-1
1.22.8-1
1.22.9-1
1.22.9-2
1.22.10-1
1.23.1-1
1.23.2-1
1.23.90-1
1.24.0-1
1.24.1-1
1.24.1-2
1.24.1-3
1.24.1-4
1.24.2-1
1.24.2-2
1.24.2-3
1.24.2-4
1.24.3-1
1.24.4-1
1.24.4-2
1.24.5-1
1.24.6-1
1.24.7-1
1.24.8-1
1.24.8-2
1.24.9-1
1.24.10-1
1.24.10-2
1.24.10-2+hurd.1
1.24.10-3
1.24.11-1
1.24.11-2
1.24.11-3
1.24.12-1
1.24.12-2
1.24.12-3
1.25.1-1
1.25.1-2
1.25.1-3
1.25.50-1
1.25.90-1
1.25.90-2
1.25.90-3
1.26.0-1
1.26.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / gst-plugins-bad1.0

Package

Name
gst-plugins-bad1.0
Purl
pkg:deb/debian/gst-plugins-bad1.0?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.22.0-4
1.22.0-4+deb12u1
1.22.0-4+deb12u2
1.22.0-4+deb12u3
1.22.0-4+deb12u4
1.22.0-4+deb12u5
1.22.1-1
1.22.3-1
1.22.3-2
1.22.4-1
1.22.7-1
1.22.8-1
1.22.9-1
1.22.9-2
1.22.10-1
1.23.1-1
1.23.2-1
1.23.90-1
1.24.0-1
1.24.1-1
1.24.1-2
1.24.1-3
1.24.1-4
1.24.2-1
1.24.2-2
1.24.2-3
1.24.2-4
1.24.3-1
1.24.4-1
1.24.4-2
1.24.5-1
1.24.6-1
1.24.7-1
1.24.8-1
1.24.8-2
1.24.9-1
1.24.10-1
1.24.10-2
1.24.10-2+hurd.1
1.24.10-3
1.24.11-1
1.24.11-2
1.24.11-3
1.24.12-1
1.24.12-2
1.24.12-3
1.25.1-1
1.25.1-2
1.25.1-3
1.25.50-1
1.25.90-1
1.25.90-2
1.25.90-3
1.26.0-1
1.26.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / gst-plugins-bad1.0

Package

Name
gst-plugins-bad1.0
Purl
pkg:deb/debian/gst-plugins-bad1.0?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.26.1-1

Affected versions

1.*

1.22.0-4
1.22.1-1
1.22.3-1
1.22.3-2
1.22.4-1
1.22.7-1
1.22.8-1
1.22.9-1
1.22.9-2
1.22.10-1
1.23.1-1
1.23.2-1
1.23.90-1
1.24.0-1
1.24.1-1
1.24.1-2
1.24.1-3
1.24.1-4
1.24.2-1
1.24.2-2
1.24.2-3
1.24.2-4
1.24.3-1
1.24.4-1
1.24.4-2
1.24.5-1
1.24.6-1
1.24.7-1
1.24.8-1
1.24.8-2
1.24.9-1
1.24.10-1
1.24.10-2
1.24.10-2+hurd.1
1.24.10-3
1.24.11-1
1.24.11-2
1.24.11-3
1.24.12-1
1.24.12-2
1.24.12-3
1.25.1-1
1.25.1-2
1.25.1-3
1.25.50-1
1.25.90-1
1.25.90-2
1.25.90-3
1.26.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}