WhatCyber / Vulnerabilities / CVE-2026-66038
CVE-2026-66038: ffmpeg
MEDIUM severity
CVE-2026-66038 affects ffmpeg. It is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Its CVSS base score is 6.5 (medium). The EPSS model puts the chance of exploitation in the next 30 days at 0.2%.
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.
Key facts
- CVSS v3
- 6.5 (MEDIUM)
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- Published
- 2026-07-24
- Last modified
- 2026-08-07
- NVD status
- Analyzed
Timeline
- July 24, 2026: Published in the NVD
Weaknesses (CWE)
Affected products
- ffmpeg ffmpeg
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/e7cbfd1c507b57a806a5825b87d609963e862c8c
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23626
- https://www.vulncheck.com/advisories/ffmpeg-lcl-zlib-video-decoder-information-disclosure-via-lcldec-c