Summary
Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2026-34757: Use-after-free in png_set_PLTE, png_set_tRNS and png_set_hIST in libpng before 1.6.57. Passing a pointer returned by the corresponding getter back into the setter causes the setter to read from a stale pointer after freeing the internal buffer, leading to corrupted chunk data and potential heap information disclosure.
Fixed packages 4
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2 | libpng | 2:1.5.13-8.amzn2.0.9 |
| Amazon Linux · 2 | libpng-debuginfo | 2:1.5.13-8.amzn2.0.9 |
| Amazon Linux · 2 | libpng-devel | 2:1.5.13-8.amzn2.0.9 |
| Amazon Linux · 2 | libpng-static | 2:1.5.13-8.amzn2.0.9 |
Vulnerabilities 1
-
Medium 5.1
LIBPNG has a yse-after-free in png_set_PLTE, png_set_tRNS and png_set_hIST leading to corrupted chunk data and potential heap information disclosure
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 …
References
-
web
https://alas.aws.amazon.com/cve/html/CVE-2026-34757.html