cve.bz

CVE-2026-25646 libpng libpng: Heap-based Buffer Overflow

8.3 highExploit referenceEPSS 1.1%Fix available

High (8.3) in libpng libpng. EPSS 1.1% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

8.3 high
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.1% (unchanged from 1.1% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 67th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-02-11. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-122 Heap-based Buffer Overflow
CWE-126 Buffer Over-read
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-25646 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-25646?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-25646?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-25646 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libpng:libpngbefore 1.6.55

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11libpng1.61.6.37-3+deb11u2DLA-4481-1
Debian12libpng1.61.6.39-2+deb12u3DEBIAN-CVE-2026-25646 DSA-6138-1
Debian13libpng1.61.6.48-1+deb13u3DEBIAN-CVE-2026-25646 DSA-6138-1
Debian14libpng1.61.6.55-1DEBIAN-CVE-2026-25646
Ubuntu22.04:LTSlibpng1.61.6.37-3ubuntu0.4UBUNTU-CVE-2026-25646 USN-8039-1
Ubuntu24.04:LTSlibpng1.61.6.43-5ubuntu0.5UBUNTU-CVE-2026-25646 USN-8039-1
Ubuntu25.10libpng1.61.6.50-1ubuntu0.4UBUNTU-CVE-2026-25646 USN-8039-1
Ubuntu26.04:LTSlibpng1.61.6.55-1UBUNTU-CVE-2026-25646
UbuntuPro:14.04:LTSlibpng1.2.50-1ubuntu2.14.04.3+esm1UBUNTU-CVE-2026-25646 USN-8081-1
UbuntuPro:16.04:LTSlibpng1.2.54-1ubuntu1.1+esm2UBUNTU-CVE-2026-25646 USN-8081-1
UbuntuPro:16.04:LTSlibpng1.61.6.20-2ubuntu0.1~esm3UBUNTU-CVE-2026-25646 USN-8035-1
UbuntuPro:18.04:LTSlibpng1.61.6.34-1ubuntu0.18.04.2+esm2UBUNTU-CVE-2026-25646 USN-8035-1
UbuntuPro:20.04:LTSlibpng1.61.6.37-2ubuntu0.1~esm2UBUNTU-CVE-2026-25646 USN-8035-1
Red Hatenterprise_linux:8::appstreamlibpng12, libpng12-debuginfo, libpng12-debugsource0:1.2.57-6.el8_10RHSA-2026:6445
Red Hatenterprise_linux:8::appstreamlibpng15, libpng15-debuginfo, libpng15-debugsource0:1.5.30-8.el8_10RHSA-2026:6439
Red Hatenterprise_linux:8::baseoslibpng, libpng-devel, libpng-debuginfo and 3 more2:1.6.34-10.el8_10RHSA-2026:4728
Red Hatenterprise_linux:8::crbmingw-libpng, mingw32-libpng, mingw64-libpng and 4 more0:1.6.34-2.el8_10RHSA-2026:4306
Red Hatenterprise_linux:9::appstreamlibpng, libpng-devel, libpng-debuginfo and 3 more2:1.6.37-12.el9_7.2RHSA-2026:3405
Red Hatenterprise_linux:9::appstreamlibpng15, libpng15-debuginfo, libpng15-debugsource0:1.5.30-14.el9_7.1RHSA-2026:3031
Red Hatenterprise_linux:9::baseoslibpng, libpng-debuginfo, libpng-debugsource and 2 more2:1.6.37-12.el9_7.2RHSA-2026:3405
Red Hatenterprise_linux:10.1libpng, libpng-devel, libpng-debuginfo and 3 more2:1.6.40-8.el10_1.2RHSA-2026:3551
Red Hatenterprise_linux_eus:10.0libpng, libpng-devel, libpng-debuginfo and 3 more2:1.6.40-8.el10_0.2RHSA-2026:3577
Red Hathummingbird:1libpng, libpng-devel, libpng-tools and 1 more0:1.6.56-1.1.hum1RHSA-2026:7503
Red Hathummingbird:1libpng, libpng-devel, libpng-tools and 1 more0:1.6.56-1.hum1RHSA-2026:6732
Red Hathummingbird:1libpng, libpng-devel, libpng-tools and 1 more0:1.6.58-2.1.hum1RHSA-2026:80330
26 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 9 morelibpng161.6.34-150000.3.19.1SUSE-SU-2026:0596-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morelibpng121.2.57-150000.4.6.1SUSE-SU-2026:0599-1
SUSELinux Enterprise Module for Basesystem 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6libpng161.6.40-150600.3.12.1SUSE-SU-2026:0597-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5libpng121.2.50-20.9.1SUSE-SU-2026:0598-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5libpng121.2.59-20.17.1SUSE-SU-2026:3039-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5libpng151.5.30-10.16.1SUSE-SU-2026:2878-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5libpng161.6.8-15.18.1SUSE-SU-2026:0583-1
SUSELinux Micro 6.0libpng161.6.43-3.1SUSE-SU-2026:20523-1
SUSELinux Micro 6.0libpng161.6.58-1.1SUSE-SU-2026:23063-1
SUSELinux Micro 6.1libpng161.6.43-slfo.1.1_3.1SUSE-SU-2026:20530-1
SUSELinux Micro 6.1libpng161.6.58-slfo.1.1_1.1SUSE-SU-2026:23514-1
SUSELinux Micro 6.2libpng161.6.44-160000.5.1SUSE-SU-2026:20750-1
openSUSELeap 15.6libpng121.2.57-150000.4.6.1SUSE-SU-2026:0599-1
openSUSELeap 15.6libpng161.6.40-150600.3.12.1SUSE-SU-2026:0597-1
openSUSELeap 16.0libpng161.6.44-160000.5.1openSUSE-SU-2026:20378-1
openSUSETumbleweedlibpng121.2.59-6.1openSUSE-SU-2026:11265-1
openSUSETumbleweedlibpng161.6.55-1.1openSUSE-SU-2026:10188-1
AlmaLinux8libpng, libpng-devel2:1.6.34-10.el8_10ALSA-2026:4728
AlmaLinux8libpng121.2.57-6.el8_10ALSA-2026:6445
AlmaLinux8libpng151.5.30-8.el8_10ALSA-2026:6439
AlmaLinux8mingw32-libpng, mingw64-libpng, mingw32-libpng-static and 1 more1.6.34-2.el8_10ALSA-2026:4306
AlmaLinux9libpng, libpng-devel2:1.6.37-12.el9_7.2ALSA-2026:3405
AlmaLinux9libpng151.5.30-14.el9_7.1ALSA-2026:3031
AlmaLinux10libpng, libpng-devel2:1.6.40-8.el10_1.2ALSA-2026:3551
Rocky Linux8libpng2:1.6.34-10.el8_10RLSA-2026:4728
Rocky Linux8libpng120:1.2.57-6.el8_10RLSA-2026:6445
Rocky Linux8libpng150:1.5.30-8.el8_10RLSA-2026:6439
Rocky Linux8mingw-libpng0:1.6.34-2.el8_10RLSA-2026:4306
Rocky Linux9libpng2:1.6.37-12.el9_7.2RLSA-2026:3405
Rocky Linux9libpng150:1.5.30-14.el9_7.1RLSA-2026:3031
Rocky Linux10libpng2:1.6.40-8.el10_1.2RLSA-2026:3551
Alpinev3.20, v3.21, v3.22 and 2 morelibpng1.6.55-r0ALPINE-CVE-2026-25646
Azure Linux2fltkno fix listedAZL-77457
Azure Linux2libpng1.6.55-1AZL-77441
Azure Linux2libpng12no fix listedAZL-77460
Azure Linux2libpng15no fix listedAZL-77463
Azure Linux2openjpeg2no fix listedAZL-77466
Azure Linux3fltkno fix listedAZL-77468
Azure Linux3libpng1.6.55-1AZL-77409
Azure Linux3libpng12no fix listedAZL-77471
Azure Linux3libpng15no fix listedAZL-77474
Azure Linux3openjpeg2no fix listedAZL-77477
Azure Linux3optipngno fix listedAZL-77480
Alpaquita23, 25, streamlibpng1.6.55-r0BELL-CVE-2026-25646
BellSoft Hardened Containers23, 25, streamlibpng1.6.55-r0BELL-CVE-2026-25646

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
OPENJDK ELS 11.0.31java-11-openjdk-portableFixed 2026-04-22RHSA-2026:9255
Red Hat Build of OpenJDK 17.0.9java-17-openjdk-portableFixed 2026-04-23RHSA-2026:9687
Red Hat Build of OpenJDK 21.0.11java-21-openjdk-portableFixed 2026-04-23RHSA-2026:9690
Red Hat Build of OpenJDK 25.0.2java-25-openjdk-portableFixed 2026-03-31RHBA-2026:6267
Red Hat Build of OpenJDK 8u492java-1.8.0-openjdk-portableFixed 2026-04-23RHSA-2026:9684
Red Hat Enterprise Linux 10libpng-2:1.6.40-8.el10_1.2Fixed 2026-03-02RHSA-2026:3551
Red Hat Enterprise Linux 10.0 Extended Update Supportlibpng-2:1.6.40-8.el10_0.2Fixed 2026-03-03RHSA-2026:3577
Red Hat Enterprise Linux 7 Extended Lifecycle Supportlibpng-2:1.5.13-8.el7_9.2Fixed 2026-03-17RHSA-2026:4756
Red Hat Enterprise Linux 7 Extended Lifecycle Supportlibpng12-0:1.2.50-10.el7_9.1Fixed 2026-04-08RHSA-2026:7032
Red Hat Enterprise Linux 8libpng15-0:1.5.30-8.el8_10Fixed 2026-04-02RHSA-2026:6439
Red Hat build of OpenJDK 11 ELSjava-11-openjdkNot affected
Red Hat Enterprise Linux 10firefoxNot affected
Red Hat Enterprise Linux 10java-21-openjdkNot affected
Red Hat Enterprise Linux 10java-25-openjdkNot affected
Red Hat Enterprise Linux 10thunderbirdNot affected
Red Hat Enterprise Linux 6libpngWill not fix
Red Hat Enterprise Linux 7firefoxNot affected
Red Hat Enterprise Linux 8firefoxNot affected
Red Hat Enterprise Linux 8java-17-openjdkNot affected
Red Hat Enterprise Linux 8java-1.8.0-openjdkNot affected
62 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-25646.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High
  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON