cve.bz

CVE-2025-28164 libpng libpng: Classic Buffer Overflow

5.5 mediumExploit referenceEPSS 0.2%

Medium (5.5) in libpng libpng. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
Buffer Overflow vulnerability in libpng 1.6.43-1.6.46 allows a local attacker to cause a denial of service via png_create_read_struct() function.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 6th 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-01-28. 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-401 Missing Release of Memory after Effective Lifetime
CWE-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-28164 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-28164?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-28164?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-2025-28164 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:libpngfrom 1.6.43 through 1.6.46

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12libpng1.6no fix listedDEBIAN-CVE-2025-28164
Debian13, 14libpng1.61.6.47-1DEBIAN-CVE-2025-28164
Ubuntu24.04:LTSlibpng1.61.6.43-5ubuntu0.4UBUNTU-CVE-2025-28164 USN-7993-1
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
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 Module for Basesystem 15 SP7libpng161.6.40-150600.3.9.1SUSE-SU-2026:0364-1
SUSELinux Micro 6.0libpng161.6.43-3.1SUSE-SU-2026:20523-1
SUSELinux Micro 6.1libpng161.6.43-slfo.1.1_3.1SUSE-SU-2026:20530-1
SUSELinux Micro 6.2libpng161.6.44-160000.5.1SUSE-SU-2026:20750-1
openSUSELeap 15.6libpng161.6.40-150600.3.9.1SUSE-SU-2026:0364-1
openSUSELeap 16.0libpng161.6.44-160000.5.1openSUSE-SU-2026:20378-1
Alpaquita23libpng1.6.53-r0BELL-CVE-2025-28164
Alpaquitastreamlibpng1.6.47-r0BELL-CVE-2025-28164
BellSoft Hardened Containers23libpng1.6.53-r0BELL-CVE-2025-28164
BellSoft Hardened Containersstreamlibpng1.6.47-r0BELL-CVE-2025-28164

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; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This is a MODERATE impact vulnerability affecting libpng versions 1.6.43-1.6.46. A local attacker can exploit a buffer overflow in the `png_create_read_struct()` function, leading to a denial of service. Exploitation requires the attacker to have local access to the system and provide a specially crafted PNG file.

For `java-17-openjdk-headless` and `java-21-openjdk-headless`, while the affected code is present in the bundled sources, it is not exercised by these headless packages.

Red Hat's mitigation

To mitigate the risk of denial of service, users should avoid processing untrusted PNG image files with applications that utilize libpng. Exercise caution when opening or viewing PNG files from unknown or suspicious sources.

ProductPackageStateAdvisory
Red Hat Hardened Imageslibpng-main-1.6.56-1.hum1Fixed 2026-04-07RHSA-2026:6732
Red Hat Hardened Imageslibpng-main-1.6.56-1.1.hum1Fixed 2026-04-10RHSA-2026:7503
Red Hat Hardened Imageslibpng-main-1.6.58-2.1.hum1Fixed 2026-10-11RHSA-2026:80330
Red Hat build of OpenJDK 11 ELSjava-11-openjdkFix deferred
Red Hat build of OpenJDK 11 ELSjava-11-openjdk-portableFix deferred
Red Hat build of OpenJDK 17java-17-openjdk-portableFix deferred
Red Hat build of OpenJDK 1.8java-1.8.0-openjdk-portableFix deferred
Red Hat build of OpenJDK 21java-21-openjdk-portableFix deferred
Red Hat build of OpenJDK 25java-25-openjdk-portableFix deferred
Red Hat Enterprise Linux 10firefoxFix deferred
Red Hat Enterprise Linux 10java-21-openjdkFix deferred
Red Hat Enterprise Linux 10java-25-openjdkFix deferred
Red Hat Enterprise Linux 10libpngFix deferred
Red Hat Enterprise Linux 10thunderbirdFix deferred
Red Hat Enterprise Linux 6libpngFix deferred
Red Hat Enterprise Linux 7firefoxFix deferred
Red Hat Enterprise Linux 7libpngFix deferred
Red Hat Enterprise Linux 7libpng12Fix deferred
Red Hat Enterprise Linux 8firefoxFix deferred
Red Hat Enterprise Linux 8java-17-openjdkFix deferred
17 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-2025-28164.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).

References

Check your stackJSON