CVE-2026-66038

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*

History

07 Aug 2026, 00:54

Type Values Removed Values Added
References () https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/e7cbfd1c507b57a806a5825b87d609963e862c8c - () https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/e7cbfd1c507b57a806a5825b87d609963e862c8c - Patch
References () https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23626 - () https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23626 - Issue Tracking, Patch
References () https://www.vulncheck.com/advisories/ffmpeg-lcl-zlib-video-decoder-information-disclosure-via-lcldec-c - () https://www.vulncheck.com/advisories/ffmpeg-lcl-zlib-video-decoder-information-disclosure-via-lcldec-c - Third Party Advisory
First Time Ffmpeg
Ffmpeg ffmpeg
CPE cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*

24 Jul 2026, 20:18

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-24 20:18

Updated : 2026-08-07 00:54


NVD link : CVE-2026-66038

Mitre link : CVE-2026-66038

CVE.ORG link : CVE-2026-66038


JSON object : View

Products Affected

ffmpeg

  • ffmpeg
CWE
CWE-908

Use of Uninitialized Resource