Skip to content
OpenAdvisories
Medium ALAS2023-2026-1390 2 CVEs

Moderate: libpng security update (Amazon Linux 2023)

Published Feb 5, 2026 · Updated Feb 5, 2026

Summary

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2026-22801: LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. From 1.6.26 to 1.6.53, there is an integer truncation in the libpng simplified write API functions png_write_image_16bit and png_write_image_8bit causes heap buffer over-read when the caller provides a negative row stride (for bottom-up image layouts) or a stride exceeding 65535 bytes. The bug was introduced in libpng 1.6.26 (October 2016) by casts added to silence compiler warnings on 16-bit systems. This vulnerability is fixed in 1.6.54. CVE-2026-22695: LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. From 1.6.51 to 1.6.53, there is a heap buffer over-read in the libpng simplified API function png_image_finish_read when processing interlaced 16-bit PNGs with 8-bit output format and non-minimal row stride. This is a regression introduced by the fix for CVE-2025-65018. This vulnerability is fixed in 1.6.54.

Fixed packages 8

ReleasePackageFixed in
Amazon Linux · 2023 libpng 2:1.6.37-10.amzn2023.0.9
Amazon Linux · 2023 libpng-debuginfo 2:1.6.37-10.amzn2023.0.9
Amazon Linux · 2023 libpng-debugsource 2:1.6.37-10.amzn2023.0.9
Amazon Linux · 2023 libpng-devel 2:1.6.37-10.amzn2023.0.9
Amazon Linux · 2023 libpng-devel-debuginfo 2:1.6.37-10.amzn2023.0.9
Amazon Linux · 2023 libpng-static 2:1.6.37-10.amzn2023.0.9
Amazon Linux · 2023 libpng-tools 2:1.6.37-10.amzn2023.0.9
Amazon Linux · 2023 libpng-tools-debuginfo 2:1.6.37-10.amzn2023.0.9

Vulnerabilities 2

  • Medium 6.8

    LIBPNG has an integer truncation causing heap buffer over-read in png_image_write_*

    LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. From 1.6.26 to 1.6.53, there is an integer truncation in the libpng simplified write API functions png_write_image_16bi…

  • Medium 6.1

    LIBPNG has a heap buffer over-read in png_image_read_direct_scaled (regression from CVE-2025-65018 fix)

    LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. From 1.6.51 to 1.6.53, there is a heap buffer over-read in the libpng simplified API function png_image_finish_read whe…

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-22695.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-22801.html