Logo
vulnerabilityCVE-2026-34757
Name
CVE-2026-34757
Source
NVD ( link)Debian ( link)
Description
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.
Published Date
Updated Date
Workaround
-

Analysis#


Affected Component
Analysis
libpng
Exploitable

Vulnerability Ratings#


5.1
CVSSv31
4.4
CVSSv31
NaN
other

Others affected components#


Name
Project
Project Version
Version
Status
buildroot
2025.02.x
1.6.58
Not Affected
buildroot
master
1.6.58
Not Affected
openwrt
master
1.6.50-r1
Exploitable
yocto
kirkstone
1.6.39
Exploitable
yocto
master
1.6.58
Not Affected
yocto
scarthgap
1.6.42
Exploitable