← Back to home
wid-sec-w-2026-1023  ·  Published 2026-04-08  ·  View on BSI CERT-Bund ↗

libpng: Vulnerability allows Offenlegung from Informationen

CVSS N/A NONE

Risk Summary

LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. From 1.0.9 to before 1.6.57, passing a pointer obtained from png_get_PLTE, png_get_tRNS, or png_get_hIST back into the corresponding setter on the same png_struct/png_info pair causes the setter to read from freed memory and copy its contents into the replacement buffer. The setter frees the internal buffer before copying from the caller-supplied pointer, which now dangles. The freed region may contain stale data (producing silently corrupted chunk metadata) or data from subsequent heap allocations (leaking unrelated heap contents into the chunk struct). This vulnerability is fixed in 1.6.57.

CVEs (1)

Affected Vendors

Open Source

Affected Products (4)

Open Source · libpng <1.6.57
Open Source · libpng 1.6.57
Open Source · libpng Trunk <1.8.0
Open Source · libpng Trunk 1.8.0

Get alerted to advisories like this

OTWarden monitors CISA, BSI, Siemens, Rockwell and more — and emails you within 2 hours when your vendors are affected.

Start free trial Learn more