cve.bz

CVE-2026-3713 pnggroup libpng: Heap-based Buffer Overflow

1.9 lowEPSS 0.1%

Low (1.9) in pnggroup libpng. EPSS 0.1% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw has been found in pnggroup libpng up to 1.6.55. Affected by this vulnerability is the function do_pnm2png of the file contrib/pngminus/pnm2png.c of the component pnm2png. This manipulation of the argument width/height causes heap-based buffer overflow. The attack is restricted to local execution. The exploit has been published and may be used. The project was informed of the problem early through an issue report but has not responded yet.

Severity

CVSS 4.0

1.9 low
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P

CVSS 3.1

5.3 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
EPSS
0.1% (unchanged from 0.1% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 4th 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-03-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-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
CWE-122 Heap-based Buffer Overflow
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-3713 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-3713?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-3713?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-3713 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 CNA's record in the CVE List.

ProductAffected
pnggroup libpng1.6.0
pnggroup libpng1.6.1
pnggroup libpng1.6.2
pnggroup libpng1.6.3
pnggroup libpng1.6.4
pnggroup libpng1.6.5
pnggroup libpng1.6.6
pnggroup libpng1.6.7
pnggroup libpng1.6.8
pnggroup libpng1.6.9
pnggroup libpng1.6.10
pnggroup libpng1.6.11
pnggroup libpng1.6.12
pnggroup libpng1.6.13
pnggroup libpng1.6.14
pnggroup libpng1.6.15
pnggroup libpng1.6.16
pnggroup libpng1.6.17
pnggroup libpng1.6.18
pnggroup libpng1.6.19
pnggroup libpng1.6.20
pnggroup libpng1.6.21
pnggroup libpng1.6.22
pnggroup libpng1.6.23
pnggroup libpng1.6.24
pnggroup libpng1.6.25
pnggroup libpng1.6.26
pnggroup libpng1.6.27
pnggroup libpng1.6.28
pnggroup libpng1.6.29
pnggroup libpng1.6.30
pnggroup libpng1.6.31
pnggroup libpng1.6.32
pnggroup libpng1.6.33
pnggroup libpng1.6.34
pnggroup libpng1.6.35
pnggroup libpng1.6.36
pnggroup libpng1.6.37
pnggroup libpng1.6.38
pnggroup libpng1.6.39
pnggroup libpng1.6.40
pnggroup libpng1.6.41
pnggroup libpng1.6.42
pnggroup libpng1.6.43
pnggroup libpng1.6.44
pnggroup libpng1.6.45
pnggroup libpng1.6.46
pnggroup libpng1.6.47
pnggroup libpng1.6.48
pnggroup libpng1.6.49
pnggroup libpng1.6.50
pnggroup libpng1.6.51
pnggroup libpng1.6.52
pnggroup libpng1.6.53
pnggroup libpng1.6.54
pnggroup libpng1.6.55

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14libpng1.6no fix listedDEBIAN-CVE-2026-3713
UbuntuPro:14.04:LTSlibpngno fix listedUBUNTU-CVE-2026-3713
Red Hathummingbird:1libpng, libpng-devel, libpng-tools and 1 more0:1.6.56-1.hum1RHSA-2026:6732
Azure Linux2libpngno fix listedAZL-79631
Azure Linux2libpng12no fix listedAZL-79512
Azure Linux2libpng15no fix listedAZL-79515
Azure Linux2tensorflowno fix listedAZL-79646
Azure Linux3libpngno fix listedAZL-79506
Azure Linux3libpng12no fix listedAZL-79517
Azure Linux3libpng15no fix listedAZL-79520
Azure Linux3optipngno fix listedAZL-79523
Azure Linux3tensorflowno fix listedAZL-79652

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; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This MODERATE impact heap-based buffer overflow in the `pnm2png` utility of libpng requires local execution to exploit.

The libpng packages shipped with Red Hat Enterprise Linux are not affected by this vulnerability.

The issue originates from the pnm2png utility present in the upstream libpng source tree under the contrib/pngminus/ directory. This component is not part of the libpng build process in RHEL, is not included in the packaging specification, and is not present in any shipped binary RPMs.

Red Hat's mitigation

To mitigate this vulnerability, avoid processing untrusted image data with the `pnm2png` utility. Restrict execution of `pnm2png` to trusted users and ensure that only trusted image files are processed.

ProductPackageStateAdvisory
Red Hat Hardened Imageslibpng-main-1.6.56-1.hum1Fixed 2026-04-07RHSA-2026:6732
Red Hat build of OpenJDK 11 ELSjava-11-openjdkNot affected
Red Hat build of OpenJDK 11 ELSjava-11-openjdk-portableNot affected
Red Hat build of OpenJDK 17java-17-openjdk-portableNot affected
Red Hat build of OpenJDK 1.8java-1.8.0-openjdk-portableNot affected
Red Hat build of OpenJDK 21java-21-openjdk-portableNot affected
Red Hat build of OpenJDK 25java-25-openjdk-portableNot 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 10libpngNot affected
Red Hat Enterprise Linux 10thunderbirdNot affected
Red Hat Enterprise Linux 6libpngNot affected
Red Hat Enterprise Linux 7libpngNot affected
Red Hat Enterprise Linux 7libpng12Not 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
Red Hat Enterprise Linux 8java-21-openjdkNot affected
Red Hat Enterprise Linux 8libpngNot affected
14 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-3713.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

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

References

Check your stackJSON