All reports
Medium

UBUNTU-CVE-2026-34757

Affected versions

Affected versions
<1.6.37-3ubuntu0.5
Fixed version
1.6.37-3ubuntu0.5
Affected versions
<1.6.43-5ubuntu0.6
Fixed version
1.6.43-5ubuntu0.6
Affected versions
<1.6.50-1ubuntu0.5
Fixed version
1.6.50-1ubuntu0.5
Affected versions
<1.2.50-1ubuntu2.14.04.3+esm2
Fixed version
1.2.50-1ubuntu2.14.04.3+esm2
Affected versions
<1.6.20-2ubuntu0.1~esm4
Fixed version
1.6.20-2ubuntu0.1~esm4
Affected versions
<1.2.54-1ubuntu1.1+esm3
Fixed version
1.2.54-1ubuntu1.1+esm3
Affected versions
<1.6.34-1ubuntu0.18.04.2+esm3
Fixed version
1.6.34-1ubuntu0.18.04.2+esm3
Affected versions
<1.6.37-2ubuntu0.1~esm3
Fixed version
1.6.37-2ubuntu0.1~esm3

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.

Links