# CVE-2026-33636: LIBPNG has ARM NEON Palette Expansion Out-of-Bounds Read on AArch64

- Severity: High 7.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.80%, higher than 57% of CVEs (2026-12-01)
- Published: 2026-03-26T16:51:58.289Z
- Modified: 2026-06-17T10:37:49.460Z
- Weaknesses: CWE-125, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- pnggroup libpng: >= 1.6.36, < 1.6.56
- libpng libpng: from 1.6.36 before 1.6.56

## References

- <https://github.com/pnggroup/libpng/security/advisories/GHSA-wjr5-c57x-95m2> (patch, vendor-advisory)
- <https://github.com/pnggroup/libpng/commit/7734cda20cf1236aef60f3bbd2267c97bbb40869> (patch)
- <https://github.com/pnggroup/libpng/commit/aba9f18eba870d14fb52c5ba5d73451349e339c3> (patch)

## Sources

- CVE List: [CVE-2026-33636](https://www.cve.org/CVERecord?id=CVE-2026-33636), CVE Terms of Use, modified 2026-03-26
- NVD: [CVE-2026-33636](https://nvd.nist.gov/vuln/detail/CVE-2026-33636), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-33636 · Whole record: https://cve.day/CVE-2026-33636.json · Rebuilt by cve.day 2026-11-25T22:59:17.067Z
