CVE-2026-12892 Gstreamer1-plugins-bad-free: gstreamer1-plugins-bad: 1-byte heap out-of-bounds read in h.264 nal extension slice parser

Medium 4.4 Published Updated

A 1-byte heap out-of-bounds read in GStreamer's H.264 parser allows attackers to crash applications or leak memory via malicious video files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-12892?

CVE-2026-12892 is a medium-severity memory corruption vulnerability in Gstreamer Gstreamer, published on 23 Jun 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

A flaw was found in GStreamer's gst-plugins-bad package. When processing a specially crafted H.264 video file containing malformed MVC or SVC extension slice NAL units, a 1-byte heap out-of-bounds read can occur during parsing. This happens when the parser attempts to check slice boundary information without first verifying that the NAL unit contains enough data beyond the extension header. An attacker could exploit this by tricking a user into opening a malicious H.264 video file, potentially causing the application to crash or leak a single byte of heap memory.

Weakness: CWE-125

Which versions are affected by CVE-2026-12892?

It affects 2 products.

Products include Gstreamer Gstreamer, Redhat Enterprise Linux.

How do I fix CVE-2026-12892?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-12892 being exploited?

There is no known exploitation of CVE-2026-12892 in the wild and no public exploit code.

All Gstreamer Gstreamer vulnerabilities

Sources

Also known as DEBIAN-CVE-2026-12892, ECHO-f069-e7ae-e4f6, GHSA-mc62-3gf7-rphg, UBUNTU-CVE-2026-12892.

Is CVE-2026-12892 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free