PT-2026-42960 · Julia · Libpng Jll
Published
2026-05-14
·
Updated
2026-05-14
None
No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
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.
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Libpng Jll