CVE-2026-135707
FFmpeg before 9.1 Uninitialized Memory Use in NIST SPHERE Demuxer
Medium · 4.8Fix available
- CVSS
- 4.8
- EPSS
- 0.44% (p30)
- Published
- 2026-11-24
- Age
- 5d old
- Modified
- 2026-11-26
- Product
- FFmpeg FFmpeg
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Description
FFmpeg before 9.1 contains an uninitialized memory vulnerability in nist_read_header() in libavformat/nistspheredec.c, where an inverted ff_alloc_extradata() 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.
Fixed in
9.1
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | FFmpeg | >=0, <9.1 | 9.1 |
Sources
- NVD · first seen 5d ago · NVD terms of use
- OSV · first seen 5d ago · CC-BY 4.0
- CVE List · first seen 5d ago · CVE Terms of Use
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24914 issue-tracking
- https://github.com/FFmpeg/FFmpeg/commit/8e5dd5c728e4f49aad2dfb3852e05375d4a0fa12 patch
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/nistspheredec.c#L76 technical-description
- https://github.com/FFmpeg/FFmpeg product
- https://www.vulncheck.com/advisories/ffmpeg-before-9.1-uninitialized-memory-use-in-nist-sphere-demuxer third-party-advisory
- https://code.ffmpeg.org/FFmpeg/FFmpeg web
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135707.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-135707 advisory