PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-25646 pnggroup CVE debrief

CVE-2026-25646 is an out-of-bounds read vulnerability in the libpng library, specifically in the png_set_quantize() API function. This vulnerability exists in versions prior to 1.6.55. When the function is called with no histogram and the number of colors in the palette exceeds twice the maximum supported by the user's display, certain palettes can cause the function to enter an infinite loop, reading past the end of an internal heap-allocated buffer. The images triggering this vulnerability are valid according to the PNG specification. This issue has been fixed in version 1.6.55.

Vendor
pnggroup
Product
libpng
CVSS
HIGH 8.3
CISA KEV
Not listed in stored evidence
Original CVE published
2026-02-10
Original CVE updated
2026-08-11
Advisory published
2026-02-10
Advisory updated
2026-08-11

Who should care

Organizations and developers using the libpng library in their applications should be aware of this vulnerability. This includes developers of image processing software, web browsers, and any other applications that utilize PNG images. Additionally, users of Red Hat products that incorporate libpng should check for available errata and apply patches as necessary.

Technical summary

The png_set_quantize() API function in libpng is vulnerable to an out-of-bounds read. This occurs when the function is called with specific parameters that cause it to read beyond the bounds of an internal buffer. The vulnerability can be triggered by valid PNG images, making it difficult to detect solely based on image validation. The issue arises from the function's handling of palettes and histograms. An attacker could potentially exploit this vulnerability to cause a denial of service or possibly execute arbitrary code.

Defensive priority

High priority should be given to updating libpng to version 1.6.55 or later. Organizations should review their inventory of systems and applications that use libpng and apply patches or updates as available.

Recommended defensive actions

  • Update libpng to version 1.6.55 or later.
  • Review and apply Red Hat errata for products that incorporate libpng.
  • Validate and update any third-party software that utilizes libpng.
  • Monitor for suspicious activity related to PNG image processing.
  • Implement compensating controls such as input validation and buffer protection mechanisms.

Evidence notes

The CVE record and NVD detail provide information on the vulnerability. The source item URL provides additional context and references. Multiple Red Hat errata are available to address this vulnerability in various products.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-25646 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-25646

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-25646 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-25646

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://github.com/pnggroup/libpng/commit/01d03b8453eb30ade759cd45c707e5a1c7277d88

    [email protected] - Patch

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://github.com/pnggroup/libpng/security/advisories/GHSA-g8hp-mq4h-rqm3

    [email protected] - Exploit, Vendor Advisory

  • Source reference

    Unverified legacy reference

    URL: https://access.redhat.com/errata/RHSA-2026:10097

    0b0ca135-0b70-47e7-9f44-1890c2a1c46c

  • Source reference

    Unverified legacy reference

    URL: https://access.redhat.com/errata/RHSA-2026:12274

    0b0ca135-0b70-47e7-9f44-1890c2a1c46c

  • Source reference

    Unverified legacy reference

    URL: https://access.redhat.com/errata/RHSA-2026:14773

    0b0ca135-0b70-47e7-9f44-1890c2a1c46c

  • Source reference

    Unverified legacy reference

    URL: https://access.redhat.com/errata/RHSA-2026:15087

    0b0ca135-0b70-47e7-9f44-1890c2a1c46c

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.