Out-of-bounds read in libheif - #VU146732
Published: September 2, 2026
Vulnerability details
The vulnerability allows a remote attacker to disclose sensitive information.
The vulnerability exists due to an assert-based error handling flaw leading to an out-of-bounds read in loadPNG when processing a PNG file with corrupted IDAT data in NDEBUG builds. A remote attacker can send a specially crafted PNG file to disclose sensitive information.
Only NDEBUG builds are affected, and the leaked heap data is written into the generated HEIF output while the operation may still report success.