FFmpeg before 9.1 Uninitialized Memory Use in NIST SPHERE Demuxer
- State
- Published
- Severity
- 4.8 Medium
- Published
- Nov 24, 2026
- Updated
- Nov 24, 2026
- Reserved
- Nov 24, 2026
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.
| Product | Versions |
|---|---|
| FFmpeg FFmpeg | before 9.1 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 4.8 Medium | VulnCheck | |
| 3.1 | 3.3 Low | VulnCheck |
Weaknesses
- CWE-908 Use of Uninitialized Resource
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24914Issue Tracker
- Patch CommitPatch
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/nistspheredec.c#L76Technical Details
- https://github.com/FFmpeg/FFmpegProduct Page
- VulnCheck Advisory: FFmpeg before 9.1 Uninitialized Memory Use in NIST SPHERE DemuxerThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.