CVE-2026-66038
Description
FFmpeg through 8.1.2, fixed in commit 8670835, contains an information disclosure vulnerability in the LCL/ZLIB video decoder that allows attackers to expose uninitialized heap memory by supplying a valid zlib stream that inflates to fewer bytes than the expected frame size. The zlib_decomp() function in lcldec.c treats short decompression as non-fatal and continues to the RGB24 conversion path, which copies a full frame's worth of rows from the allocation buffer using original frame dimensions, causing uninitialized heap contents including pointer-derived allocator bytes to be copied into the attacker-observable AVFrame output and potentially defeating ASLR in long-lived media processing services.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
6- osv-coords4 versionspkg:rpm/opensuse/ffmpeg-4&distro=openSUSE%20Leap%2016.0pkg:rpm/opensuse/ffmpeg-4&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/ffmpeg-7&distro=openSUSE%20Leap%2016.0pkg:rpm/opensuse/ffmpeg-7&distro=openSUSE%20Tumbleweed
< 4.4.7-bp160.3.1+ 3 more
- (no CPE)range: < 4.4.7-bp160.3.1
- (no CPE)range: < 4.4.8-3.1
- (no CPE)range: < 7.1.4-160000.3.1
- (no CPE)range: < 7.1.5-2.1
Patches
Vulnerability mechanics
References
3- code.ffmpeg.org/FFmpeg/FFmpeg/commit/e7cbfd1c507b57a806a5825b87d609963e862c8cnvdPatch
- code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23626nvdIssue TrackingPatch
- www.vulncheck.com/advisories/ffmpeg-lcl-zlib-video-decoder-information-disclosure-via-lcldec-cnvdThird Party Advisory
News mentions
1- Multiple FFmpeg Vulnerabilities Allow Attackers to Corrupt Memory Via Malicious Video FileCyber Security News · Jul 28, 2026