CVE Catalog

CVE-2026-33636

HighCVSS 7.6
Published: Updated: Translated: NVD NIST

Summary

In libpng versions 1.6.36 through 1.6.55, the ARM/AArch64 Neon-optimized palette expansion path has an out-of-bounds read and write. When expanding the final partial chunk of an 8-bit paletted row, pointers are dereferenced before the row buffer start and expanded data is written out of bounds, reachable via decoding attacker-controlled PNG input when Neon is enabled. Version 1.6.56 fixes the issue.

Risk Assessment

Potential memory corruption, application crash, or possible code execution when processing untrusted PNG images on ARM platforms with Neon.

Recommendation

Update libpng to version 1.6.56 or later; until then, avoid processing untrusted PNG files on ARM systems.

Other vulnerabilities in libpng

See all
Original NVD description (English source)

LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. In versions 1.6.36 through 1.6.55, an out-of-bounds read and write exists in libpng's ARM/AArch64 Neon-optimized palette expansion path. When expanding 8-bit paletted rows to RGB or RGBA, the Neon loop processes a final partial chunk without verifying that enough input pixels remain. Because the implementation works backward from the end of the row, the final iteration dereferences pointers before the start of the row buffer (OOB read) and writes expanded pixel data to the same underflowed positions (OOB write). This is reachable via normal decoding of attacker-controlled PNG input if Neon is enabled. Version 1.6.56 fixes the issue.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS