PT-2026-42960

Published

2026-05-14

·

Updated

2026-05-14

Description by

CVSS 3.1
4.4
Medium
MetricsAV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
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.
Exploitability
Fix
Vendors
Affected products
Related identifiers
JLSEC-2026-498
Found an issue in the description? Have something to add? Feel free to write us 👾