CVE-2026-75142 FFmpeg Stack Buffer Overflow in MPEG-PS Muxer via mpegenc.c

High 8.5 Published Updated

A stack buffer overflow in FFmpeg's MPEG-PS muxer allows attackers to execute arbitrary code or cause denial of service via crafted media 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-75142?

CVE-2026-75142 is a high-severity memory corruption vulnerability in FFmpeg, published on 19 Aug 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

FFmpeg before commit 9d786e4 contains a stack buffer overflow in the MPEG-PS muxer (libavformat/mpegenc.c). When muxing input with more streams than the muxer's fixed-size stack buffer accommodates, the buffer is overflowed. A crafted input with an excessive number of streams triggers the overflow during MPEG-PS muxing.

Weakness: CWE-121

Which versions are affected by CVE-2026-75142?

How do I fix CVE-2026-75142?

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-75142 being exploited?

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

Sources

Also known as DEBIAN-CVE-2026-75142, ECHO-8340-2df2-4096, GHSA-5vj8-jgqj-77h6, UBUNTU-CVE-2026-75142.

Is CVE-2026-75142 in your software?

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

Check your SBOMs for free