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.
{
"license": "CC-BY-4.0",
"sources": [
{
"database_specific": {
"status": "Analyzed"
},
"modified": "2026-08-07T00:54:32.767Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-66038",
"published": "2026-07-24T20:18:20.727Z",
"id": "CVE-2026-66038",
"imported": "2026-08-07T05:41:14.749Z",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-66038"
},
{
"modified": "2026-07-24T21:32:28Z",
"url": "https://api.github.com/advisories/GHSA-8mx4-8xfc-qr43",
"published": "2026-07-24T21:32:22Z",
"id": "GHSA-8mx4-8xfc-qr43",
"imported": "2026-08-07T05:42:30.745Z",
"html_url": "https://github.com/advisories/GHSA-8mx4-8xfc-qr43"
},
{
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-48740",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-48740",
"published": "2026-07-24T19:39:27Z",
"id": "EUVD-2026-48740",
"imported": "2026-08-07T05:41:15.362Z",
"modified": "2026-07-28T01:06:28Z"
}
]
}