vulnerability

Red Hat: CVE-2026-25646: libpng: LIBPNG has a heap buffer overflow in png_set_quantize (Multiple Advisories)

Severity
8
CVSS
(AV:N/AC:M/Au:N/C:P/I:P/A:C)
Published
Feb 10, 2026
Added
Mar 3, 2026
Modified
May 13, 2026

Description

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 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. This vulnerability is fixed in 1.6.55.

Solutions

redhat-upgrade-libpngredhat-upgrade-libpng-debuginforedhat-upgrade-libpng-debugsourceredhat-upgrade-libpng-develredhat-upgrade-libpng-devel-debuginforedhat-upgrade-libpng-tools-debuginforedhat-upgrade-libpng12redhat-upgrade-libpng12-debuginforedhat-upgrade-libpng12-debugsourceredhat-upgrade-libpng15redhat-upgrade-libpng15-debuginforedhat-upgrade-libpng15-debugsourceredhat-upgrade-mingw32-libpngredhat-upgrade-mingw32-libpng-debuginforedhat-upgrade-mingw32-libpng-staticredhat-upgrade-mingw64-libpngredhat-upgrade-mingw64-libpng-debuginforedhat-upgrade-mingw64-libpng-static

References

    Title
    Rapid7 Labs

    2026 Global Threat Landscape Report

    The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.