Skip to content
OpenAdvisories
Medium ALAS2-2026-3189 1 CVE

Moderate: libpng security update (Amazon Linux 2)

Published Mar 2, 2026 · Updated Mar 5, 2026

Summary

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2026-25646: libpng: An out-of-bounds read vulnerability exists in the png_set_quantize() API function. When the function is called with no histogram and the number of colors in the palette is more than twice the maximum supported by the user's display, certain palettes will cause the function to enter into an infinite loop that reads past the end of an internal heap-allocated buffer. The images that trigger this vulnerability are valid per the PNG specification.

Fixed packages 4

ReleasePackageFixed in
Amazon Linux · 2 libpng 2:1.5.13-8.amzn2.0.7
Amazon Linux · 2 libpng-debuginfo 2:1.5.13-8.amzn2.0.7
Amazon Linux · 2 libpng-devel 2:1.5.13-8.amzn2.0.7
Amazon Linux · 2 libpng-static 2:1.5.13-8.amzn2.0.7

Vulnerabilities 1

  • High 8.3

    LIBPNG has a heap buffer overflow in png_set_quantize

    LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. Prior to 1.6.55, an out-of-bounds read vulnerability exists in the png_set_quantize() API function. When the function i…

References

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