CVE-2026-33636CWE-125CWE-787

LIBPNG has ARM NEON Palette Expansion Out-of-Bounds Read on AArch64

High · published March 26, 2026

CVSS v3.1
7.6
EPSS
0%
Percentile
29.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.6 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
CVSS v4.0
Not supplied
EPSS
0.00363 · 29.0th percentile
Weaknesses
CWE-125 · Out-of-bounds Read; CWE-787 · Out-of-bounds Write
Published
2026-03-26T16:51Z
EPSS history
Timeline
  • 26 MAR 16:51Z
    LIBPNG has ARM NEON Palette Expansion Out-of-Bounds Read on AArch64
    cvelistv5