# CVE-2026-66038: FFmpeg LCL/ZLIB Video Decoder Information Disclosure via lcldec.c

- Severity: High 7.1 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2026-07-24T19:39:27.448Z
- Modified: 2026-08-07T00:54:32.767Z
- Weaknesses: CWE-908
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- FFmpeg FFmpeg: up to 8.1.2 (not affected: 86708357d126af84c16f80d9c57335d1e8c845c5)

## Every score

- VulnCheck: CVSS:4.0 7.1 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`

## References

- <https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23626> (issue-tracking, patch)
- <https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/e7cbfd1c507b57a806a5825b87d609963e862c8c> (patch)
- <https://www.vulncheck.com/advisories/ffmpeg-lcl-zlib-video-decoder-information-disclosure-via-lcldec-c> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-66038](https://www.cve.org/CVERecord?id=CVE-2026-66038), CVE Terms of Use, modified 2026-07-28
- NVD: [CVE-2026-66038](https://nvd.nist.gov/vuln/detail/CVE-2026-66038), Public domain, modified 2026-08-07

---

Page: https://cve.day/CVE-2026-66038 · Whole record: https://cve.day/CVE-2026-66038.json · Rebuilt by cve.day 2026-11-25T22:59:30.033Z
