Description
LodePNG through 20261006 contains a heap out-of-bounds read vulnerability in lodepng::getFilterTypesInterlaced() in lodepng_util.cpp that lacks bounds checks on decompressed IDAT data. Attackers can supply a crafted interlaced PNG declaring a raster larger than its IDAT stream to disclose adjacent heap memory or crash applications.
Metrics
CVSS 3.1 6.1/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| lvandeve | lodepng | <= 20261006 |
References
- https://github.com/lvandeve/lodepng
- https://github.com/lvandeve/lodepng/blob/e584a8490db1b76b81bf298c11c09d3b55d9c270/lodepng_util.cpp#L185-L203
- https://hackmd.io/@haindpwn/lodepng-getfiltertypesinterlaced-short-idat-oob-read
- https://www.vulncheck.com/advisories/lodepng-through-20261006-heap-out-of-bounds-read-via-getfiltertypesinterlaced
- https://hackmd.io/@haindpwn/cve-2026-112020-lodepng-getfiltertypesinterlaced-short-idat-oob-read
Timeline
- Published
- Oct 18, 2026
- Last modified
- Oct 22, 2026
- NVD status
- Deferred