CVE-2026-135707: FFmpeg before 9.1 Uninitialized Memory Use in NIST SPHERE Demuxer
FFmpeg before 9.1 contains an uninitialized memory vulnerability in nistreadheader() in libavformat/nistspheredec.c, where an inverted ffallocextradata() return check leaves the embedded-shorten extradata byte uninitialized. Attackers can supply a crafted NIST SPHERE file declaring pcm,embedded-shorten coding to leak an uninitialized heap byte into copied output or trigger a NULL pointer write on allocation failure.
Affected Software
Event History
Frequently Asked Questions
What input is required to exploit this issue?
An attacker must provide a crafted NIST SPHERE file that declares the pcm,embedded-shorten coding. Exploitation requires a user or application to process that file.
What impact can processing a malicious file have?
The flaw can leak one uninitialized heap byte into copied output. If extradata allocation fails, the affected code can instead attempt a NULL pointer write.
Which FFmpeg versions need remediation?
FFmpeg versions before 9.1 are affected. Upgrade to FFmpeg 9.1 or later.