Summary
Package updates are available for Amazon Linux 2023 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 8
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2023 | libpng | 2:1.6.37-10.amzn2023.0.13 |
| Amazon Linux · 2023 | libpng-debuginfo | 2:1.6.37-10.amzn2023.0.13 |
| Amazon Linux · 2023 | libpng-debugsource | 2:1.6.37-10.amzn2023.0.13 |
| Amazon Linux · 2023 | libpng-devel | 2:1.6.37-10.amzn2023.0.13 |
| Amazon Linux · 2023 | libpng-devel-debuginfo | 2:1.6.37-10.amzn2023.0.13 |
| Amazon Linux · 2023 | libpng-static | 2:1.6.37-10.amzn2023.0.13 |
| Amazon Linux · 2023 | libpng-tools | 2:1.6.37-10.amzn2023.0.13 |
| Amazon Linux · 2023 | libpng-tools-debuginfo | 2:1.6.37-10.amzn2023.0.13 |
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