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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-24 · Modified: 2026-07-28
- Aliases: UBUNTU-CVE-2026-66038, DEBIAN-CVE-2026-66038, CGA-28rc-c98r-4423, CGA-34qr-973r-25xg, CGA-4w5r-fx4w-g666, CGA-57hh-ppgx-w846, CGA-5rc8-qg2f-g5vj, CGA-9p6g-crvj-8m6w, CGA-pm5j-3p2f-mg9q, CGA-xm3w-m83h-pg75, CGA-2875-pf7w-grqh, CGA-2cpx-c8gx-9v9p, CGA-2x3c-8h8m-rxr6, CGA-2xcv-84rp-2f2c, CGA-4vqg-22w5-hqmf, CGA-5qhr-xmqm-m9xg, CGA-6v46-h74j-56q3, CGA-7276-qx26-qph4, CGA-78r8-398r-crx6, CGA-7q37-w36m-6hc3, CGA-7qqg-497m-mr64, CGA-7wpw-4m5q-j6rr, CGA-9v72-3hvj-hcgx, CGA-chjj-gw27-8pmr, CGA-f275-jj84-p9xm, CGA-fm2x-p429-hvfr, CGA-g6pv-vg67-xwhc, CGA-h8f7-hgxq-f8pw, CGA-jh57-48g6-cfmg, CGA-jj7q-67ch-vv29, CGA-jwpr-q437-mvm9, CGA-m3w5-prg8-cp93, CGA-p4j9-8q64-j29j, CGA-rr3m-vhm4-45mw, CGA-vpp8-c8h5-g8pg, CGA-wccm-vmf2-mc2w, CGA-x2vp-766m-rqf5, CGA-x8cr-f5hr-3q8g, CGA-2j88-3wq2-p3pw, CGA-4w49-58w7-fj94, CGA-5g83-fjg6-q7x7, CGA-6h3m-96pj-3pmg, CGA-6vrr-7f3v-hwfq, CGA-9xm9-7qj4-whh3, CGA-83jg-r3mq-rjc3, CGA-hjgf-5mmx-cfgv, CGA-m99c-9ppw-64jw, CGA-mpr5-rvvj-fqrp, CGA-q5mr-h7x6-x62c, CGA-r2fc-pr97-v2v6, CGA-rrxv-pfmf-j7fh, CGA-v568-3w8m-phqx, CGA-w592-f7g8-3hcc, CGA-xrf8-mx8w-347v, CGA-53hv-c4qh-6v2q, CGA-6mmx-hq9j-pmwm, CGA-83hf-w4cc-qh7w, CGA-c2hq-ph47-84c4, CGA-crvq-48cx-f2r3, CGA-f78p-h7f9-gwhh, CGA-fhh6-hf92-q277, CGA-gcx6-g46x-82mr, CGA-gff2-xjhw-j74h, CGA-gq9x-8rqc-r5c3, CGA-gqgf-px4h-qcv4, CGA-hqjp-vx2r-fpf2, CGA-jghp-94mp-px2p, CGA-jj3v-9qh8-522j, CGA-m734-p5mg-wqj3, CGA-qm83-65wj-q7rx, CGA-rfcx-6726-vxpc, CGA-v49m-pfcr-732c, CGA-wcxf-m3p9-7x3x, CGA-wj7g-qwxh-f75g, CGA-8224-j8gx-8v97, CGA-82pw-vxfx-v7xv, CGA-9jqg-64f2-m6f8, CGA-g58r-8pc4-j3qq, CGA-q74m-wcvf-f72q, CGA-w6rj-jvgg-674c, ALPINE-CVE-2026-66038
- Record: https://cvemate.com/vulnerability/CVE-2026-66038 · JSON: https://cvemate.com/vulnerability/CVE-2026-66038/json

## Description

```text
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.
```

## Signals

- CVSS: 7.1 high (v4.0, CVE.org) 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
- EPSS: 0.242%, percentile 16.434%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 48)

- alpine ffmpeg (Alpine Linux): \< 9.0.2-r0
- chainguard eco-python-ffmpeg-6-minimal (Chainguard): All versions (No fix recorded)
- chainguard eco-python-ffmpeg-6-minimal-dev (Chainguard): All versions (No fix recorded)
- chainguard eco-python-ffmpeg-6-minimal-static (Chainguard): All versions (No fix recorded)
- chainguard eco-python-ffmpeg-7-minimal (Chainguard): All versions (No fix recorded)
- chainguard eco-python-ffmpeg-7-minimal-dev (Chainguard): All versions (No fix recorded)
- chainguard eco-python-ffmpeg-7-minimal-static (Chainguard): All versions (No fix recorded)
- chainguard eco-python-ffmpeg-8-minimal (Chainguard): \< 8.1.3-r0
- chainguard eco-python-ffmpeg-8-minimal-dev (Chainguard): \< 8.1.3-r0
- chainguard eco-python-ffmpeg-8-minimal-static (Chainguard): \< 8.1.3-r0
- chainguard ffmpeg-6 (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-7 (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-7.1 (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-8.0 (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-8.1 (Chainguard): \< 8.1.3-r0
- chainguard ffmpeg-fips-7.1 (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-fips-7.1-dev (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-fips-7.1-libavcodec61 (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-fips-7.1-libavdevice61 (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-fips-7.1-libavfilter10 (Chainguard): All versions (No fix recorded)

## References

- <https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23626>
- <https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/e7cbfd1c507b57a806a5825b87d609963e862c8c>
- <https://www.vulncheck.com/advisories/ffmpeg-lcl-zlib-video-decoder-information-disclosure-via-lcldec-c>
- <https://ubuntu.com/security/CVE-2026-66038>
- <https://www.cve.org/CVERecord?id=CVE-2026-66038>
- <https://ubuntu.com/security/notices/USN-8671-1>
- <https://ubuntu.com/security/notices/USN-8738-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-66038>
- <https://code.ffmpeg.org/FFmpeg/FFmpeg>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/66xxx/CVE-2026-66038.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-66038>
- <https://security.alpinelinux.org/vuln/CVE-2026-66038>

---

Data as of 2026-12-05T04:58:47.212Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
