Stack-based Buffer Overflow Affecting gst-plugins-bad package, versions <1.26.1-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.19% (42nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE322-GSTPLUGINSBAD-10752572
  • published15 Jul 2025
  • disclosed22 May 2025

Introduced: 22 May 2025

CVE-2025-3887  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade Alpine:3.22 gst-plugins-bad to version 1.26.1-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gst-plugins-bad package and not the gst-plugins-bad package as distributed by Alpine. See How to fix? for Alpine:3.22 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1