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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| lvandeve | lodepng | ≤ 20261006 | — |
References
- https://hackmd.io/@haindpwn/lodepng-getfiltertypesinterlaced-short-idat-oob-read technical-description
- https://github.com/lvandeve/lodepng/blob/e584a8490db1b76b81bf298c11c09d3b55d9c270/lodepng_util.cpp#L185-L203 technical-description
- https://github.com/lvandeve/lodepng product
- VulnCheck Advisory: LodePNG through 20261006 Heap Out-of-Bounds Read via getFilterTypesInterlaced() third-party-advisory