Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2026-25646: Heap out-of-bounds read and infinite loop in libpng png_set_quantize()

Published Feb 10, 2026 · Updated 10 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days3 mentions · peak 2 in a dayToday
CVSS8.3High · v4
EPSS0.77%52nd percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendor
Libpng
IdentifiersCVE-2026-25646CWE-125 · Out-of-bounds Read

An out-of-bounds read vulnerability affects the png_set_quantize() API in libpng versions before 1.6.55. When called without a histogram and with a palette containing more than twice the maximum number of colors supported by the user's display, certain palette arrangements cause an infinite loop that reads beyond an internal heap-allocated buffer. PNG images triggering this condition can conform to the PNG specification. Exploitation can disrupt applications performing the affected palette quantization.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

The infinite loop and heap-buffer over-read can cause application unresponsiveness or crashes, resulting in denial of service. Debian additionally identifies potential arbitrary code execution, but the available technical details establish an out-of-bounds read rather than a demonstrated code-execution mechanism.

Mitigation

If you can’t patch tonight, do this now.

No confirmed vulnerability-specific workaround is documented. Until patched, reduce exposure by preventing untrusted PNG images from reaching the affected palette-quantization operation. PNG specification validation alone does not prevent exploitation because valid images can trigger the flaw.

Remediation

Patch, then assume compromise.

Upgrade libpng to version 1.6.55 or later, or install the applicable vendor package containing a backported fix. For Debian bookworm, upgrade libpng1.6 to 1.6.39-2+deb12u3 or later; for Debian trixie, upgrade to 1.6.48-1+deb13u3 or later. Applications bundling libpng should update their embedded dependency or install a corrected application release.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
LibpngLibpngapplication
FAQ

Frequently asked questions

Is CVE-2026-25646 exploited in the wild?
As of Nov 19, 2026, Mallory has no reports of CVE-2026-25646 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-25646?
Yes. As of Nov 19, 2026, Mallory has reports of a public exploit for CVE-2026-25646.
Is there a patch for CVE-2026-25646?
Upgrade libpng to version 1.6.55 or later, or install the applicable vendor package containing a backported fix. For Debian bookworm, upgrade libpng1.6 to 1.6.39-2+deb12u3 or later; for Debian trixie, upgrade to 1.6.48-1+deb13u3 or later.
What products are affected by CVE-2026-25646?
Libpng.
How severe is CVE-2026-25646?
CVE-2026-25646 has a CVSS v4 score of 8.3 (High) and an EPSS score of 0.77% (52nd percentile) as of Nov 19, 2026.
Activity feed

Recent activity

56 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
tenable nessus pluginsNews · Nov 14, 2026Rocky Linux 9.6 [CIQ] Security Update: libpng / libpng-devel M... | Tenable®A vulnerability affecting libpng packages on Rocky Linux 9.6, addressed by CIQ advisory ciqsa-2026_1806. It is explicitly identified as the plugin's CVSS score source. The plugin reports exploit availability collectively, without attributing it to a particular CVE.Read more ↗tenable nessus pluginsNews · Nov 7, 2026EulerOS Virtualization 2.15.1 : libpng (EulerOS-SA-2026-4560) | Tenable®An out-of-bounds read in libpng's png_set_quantize() can occur when no histogram is supplied and the palette contains more than twice the display's supported number of colors. Certain valid PNG palettes trigger an infinite loop and reads beyond a heap buffer. Fixed in 1.6.55. The plugin reports exploit availability and uses this CVE as its CVSS score source; no exploitation in the wild is reported.Read more ↗tenable nessus pluginsNews · Nov 7, 2026EulerOS Virtualization 2.15.0 : libpng (EulerOS-SA-2026-4602) | Tenable®An out-of-bounds read in png_set_quantize() affects libpng versions before 1.6.55. When no histogram is supplied and the palette contains more than twice the display's supported color count, certain valid PNG palettes trigger an infinite loop that reads beyond an internal heap buffer. Fixed in libpng 1.6.55; updated EulerOS packages are available.Read more ↗tenable nessus pluginsNews · Oct 29, 2026CentOS Linux 6 [TuxCare] Security Update: libpng / libpng-deve... | Tenable®An out-of-bounds read in libpng's png_set_quantize() occurs when no histogram is supplied and the palette contains more than twice the display's supported maximum number of colors. Valid PNG images can trigger the issue. Version 1.6.55 fixes it. The reference assigns CVSS v3 8.1 and CVSS v4 8.3; its vulnerability-specific temporal vectors indicate proof-of-concept exploit availability.Read more ↗
+20 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signatures1YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity18Community discussion across Reddit, Mastodon, and other social sources.