Out-of-bounds Write Affecting gstreamer1-plugins-bad-free-devel package, versions <0:1.22.12-4.el9_6


Severity

Recommended
high

Based on AlmaLinux security rating.

Threat Intelligence

Social Trends
EPSS
0.79% (54th 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-ALMALINUX9-GSTREAMER1PLUGINSBADFREEDEVEL-10248241
  • published27 May 2025
  • disclosed27 May 2025

Introduced: 27 May 2025

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

How to fix?

Upgrade AlmaLinux:9 gstreamer1-plugins-bad-free-devel to version 0:1.22.12-4.el9_6 or higher.
This issue was patched in ALSA-2025:8183.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gstreamer1-plugins-bad-free-devel package and not the gstreamer1-plugins-bad-free-devel package as distributed by AlmaLinux. See How to fix? for AlmaLinux:9 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