UBUNTU-CVE-2025-3887

Source
https://ubuntu.com/security/CVE-2025-3887
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-3887.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-3887
Related
Published
2025-05-23T00:00:00Z
Modified
2025-05-23T16:33:06Z
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

Ubuntu:Pro:14.04:LTS / gst-plugins-bad1.0

Package

Name
gst-plugins-bad1.0
Purl
pkg:deb/ubuntu/gst-plugins-bad1.0@1.2.4-1~ubuntu1.1?arch=source&distro=esm-infra-legacy/trusty

Affected ranges

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

Affected versions

1.*

1.2.0-3ubuntu5
1.2.1-1ubuntu1
1.2.1-1ubuntu2
1.2.2-1ubuntu1
1.2.2-1ubuntu2
1.2.2-1ubuntu4
1.2.3-1ubuntu1
1.2.3-1ubuntu2
1.2.4-1~ubuntu1
1.2.4-1~ubuntu1.1

Ecosystem specific

{
    "ubuntu_priority": "high",
    "priority_reason": "remote code execution"
}

Ubuntu:Pro:16.04:LTS / gst-plugins-bad1.0

Package

Name
gst-plugins-bad1.0
Purl
pkg:deb/ubuntu/gst-plugins-bad1.0@1.8.3-1ubuntu0.2?arch=source&distro=esm-apps/xenial

Affected ranges

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

Affected versions

1.*

1.6.0-1ubuntu1
1.6.1-1ubuntu1
1.6.2-1ubuntu1
1.7.1-1ubuntu1
1.7.1-1ubuntu3
1.7.1-1ubuntu4
1.7.2-1ubuntu1
1.7.90-1ubuntu2
1.7.91-1ubuntu1
1.8.0-1ubuntu1
1.8.1-1ubuntu0.1
1.8.2-1ubuntu0.1
1.8.2-1ubuntu0.2
1.8.3-1ubuntu0.2

Ecosystem specific

{
    "ubuntu_priority": "high",
    "priority_reason": "remote code execution"
}

Ubuntu:Pro:18.04:LTS / gst-plugins-bad1.0

Package

Name
gst-plugins-bad1.0
Purl
pkg:deb/ubuntu/gst-plugins-bad1.0@1.14.5-0ubuntu1~18.04.1?arch=source&distro=esm-apps/bionic

Affected ranges

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

Affected versions

1.*

1.12.3-1ubuntu1
1.12.3-1ubuntu2
1.12.3-2ubuntu1
1.12.4-2ubuntu1
1.12.4-2ubuntu2
1.13.1-1ubuntu1
1.13.91-1ubuntu1
1.14.0-1ubuntu1
1.14.1-1ubuntu1~ubuntu18.04.1
1.14.4-1ubuntu1~ubuntu18.04.1
1.14.5-0ubuntu1~18.04.1

Ecosystem specific

{
    "ubuntu_priority": "high",
    "priority_reason": "remote code execution"
}

Ubuntu:20.04:LTS / gst-plugins-bad1.0

Package

Name
gst-plugins-bad1.0
Purl
pkg:deb/ubuntu/gst-plugins-bad1.0@1.16.3-0ubuntu1.1?arch=source&distro=focal

Affected ranges

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

Affected versions

1.*

1.16.1-1ubuntu1
1.16.1-1ubuntu3
1.16.1-1ubuntu4
1.16.1-1ubuntu5
1.16.1-1ubuntu6
1.16.1-1ubuntu8
1.16.2-1ubuntu1
1.16.2-1ubuntu2
1.16.2-2ubuntu1
1.16.2-2.1ubuntu1
1.16.3-0ubuntu1
1.16.3-0ubuntu1.1

Ecosystem specific

{
    "ubuntu_priority": "high",
    "priority_reason": "remote code execution"
}

Ubuntu:22.04:LTS / gst-plugins-bad1.0

Package

Name
gst-plugins-bad1.0
Purl
pkg:deb/ubuntu/gst-plugins-bad1.0@1.20.3-0ubuntu1.1?arch=source&distro=jammy

Affected ranges

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

Affected versions

1.*

1.18.5-1ubuntu1
1.18.5-1ubuntu3
1.20.0-2ubuntu2
1.20.1-1ubuntu2
1.20.3-0ubuntu1
1.20.3-0ubuntu1.1

Ecosystem specific

{
    "ubuntu_priority": "high",
    "priority_reason": "remote code execution"
}

Ubuntu:24.10 / gst-plugins-bad1.0

Package

Name
gst-plugins-bad1.0
Purl
pkg:deb/ubuntu/gst-plugins-bad1.0@1.24.8-2ubuntu1?arch=source&distro=oracular

Affected ranges

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

Affected versions

1.*

1.24.2-1ubuntu4
1.24.3-1ubuntu1
1.24.4-2ubuntu1
1.24.5-1ubuntu1
1.24.5-1ubuntu2
1.24.6-1ubuntu1
1.24.7-1ubuntu1
1.24.8-2ubuntu1

Ecosystem specific

{
    "ubuntu_priority": "high",
    "priority_reason": "remote code execution"
}

Ubuntu:24.04:LTS / gst-plugins-bad1.0

Package

Name
gst-plugins-bad1.0
Purl
pkg:deb/ubuntu/gst-plugins-bad1.0@1.24.2-1ubuntu4?arch=source&distro=noble

Affected ranges

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

Affected versions

1.*

1.22.4-1ubuntu1
1.22.4-1ubuntu2
1.22.4-1ubuntu4
1.22.9-2ubuntu1
1.24.0-1ubuntu3
1.24.0-1ubuntu4
1.24.2-1ubuntu4

Ecosystem specific

{
    "ubuntu_priority": "high",
    "priority_reason": "remote code execution"
}

Ubuntu:25.04 / gst-plugins-bad1.0

Package

Name
gst-plugins-bad1.0
Purl
pkg:deb/ubuntu/gst-plugins-bad1.0@1.26.0-1ubuntu2?arch=source&distro=plucky

Affected ranges

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

Affected versions

1.*

1.24.8-2ubuntu1
1.24.9-1ubuntu1
1.24.12-2ubuntu1
1.25.50-1ubuntu1
1.25.50-1ubuntu3
1.25.50-1ubuntu4
1.25.90-3ubuntu1
1.26.0-1ubuntu1
1.26.0-1ubuntu2

Ecosystem specific

{
    "ubuntu_priority": "high",
    "priority_reason": "remote code execution"
}