CVE Catalog

CVE-2026-91186

HighCVSS 8.4
Published: Updated: Translated: NVD NIST

Summary

The GUIX PNG chunk reader does not enforce chunk ordering and allows a second IHDR to be read after IDAT. The second IHDR rewrites dimensions and bit depth after the decoded-data buffer has been allocated, and the row-filter reversal pass then walks past the old allocation, causing a heap out-of-bounds write.

Risk Assessment

A crafted PNG file can trigger a heap overflow in applications using the GUIX decoder, potentially enabling code execution or a crash.

Recommendation

Upgrade GUIX to a version with PNG chunk ordering validation. Until then, avoid decoding untrusted PNG images.

Other vulnerabilities in GUIX

See all
Original NVD description (English source)

The PNG chunk reader has no notion of chunk ordering. It records whether an IDAT has been seen and whether a tRNS has already supplied transparency, but nothing prevents an IHDR being read a second time. A PNG carries exactly one IHDR and it is the first chunk. A file that places a second one after IDAT rewrites the image width, height, bit depth and pixel depth *after* the decoded-data buffer has already been allocated and filled from the original values. The pass that reverses the PNG row filters then derives its own extent from the new dimensions and walks the old allocation, moving image bytes past the end of it. The buffer is allocated by GUIX rather than supplied by the caller, so the application has no way to size it defensively. The decoder is compiled in by default.

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