The png_decompress_chunk function in pngrutil.c in libpng 1.0.x before 1.0.53, 1.2.x before 1.2.43, and 1.4.x before 1.4.1 does not properly
The png_decompress_chunk function in pngrutil.c in libpng 1.0.x before 1.0.53, 1.2.x before 1.2.43, and 1.4.x before 1.4.1 does not properly handle compressed ancillary-chunk data that has a disproportionately large uncompressed representation, which allows remote attackers to cause a denial of service (memory and CPU consumption, and application hang) via a crafted PNG file, as demonstrated by use of the deflate compression method on data composed of many occurrences of the same character, related to a "decompression bomb" attack.
- Published
- Mar 3, 2010
- Updated
- Jun 16, 2026
- EPSS
- 4.2% · 91th percentile
- CWE
- CWE-400
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
18
Monitor
Low priority for now.
- CVSS
- 17 / 40 · 4.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 4.2%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| libpng | libpng | cpe:2.3:a:libpng:libpng |
| apple | mac os x | cpe:2.3:o:apple:mac_os_x |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| opensuse | opensuse | cpe:2.3:o:opensuse:opensuse |
| suse | linux enterprise server | cpe:2.3:o:suse:linux_enterprise_server |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- apple mac os xbefore 10.6.5
- canonical ubuntu linux6.06
- canonical ubuntu linux8.04
- canonical ubuntu linux8.10
- canonical ubuntu linux9.04
- canonical ubuntu linux9.10
- debian debian linux5.0
- debian debian linux6.0
- fedoraproject fedora11
- fedoraproject fedora12
- fedoraproject fedora13
- libpng libpng1.0.0 and later · before 1.0.53
- libpng libpng1.2.0 and later · before 1.2.43
- libpng libpng1.4.0 and later · before 1.4.1
- opensuse opensuse11.0
- opensuse opensuse11.1
- opensuse opensuse11.2
- suse linux enterprise server10
- suse linux enterprise server11
- suse linux enterprise server9
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:5.0 | libpng | before 1.2.27-2+lenny3 | 1.2.27-2+lenny3 |
| Red Hat:enterprise_linux:3::as | libpng | before 2:1.2.2-30 | 2:1.2.2-30 |
| Red Hat:enterprise_linux:3::as | libpng-debuginfo | before 2:1.2.2-30 | 2:1.2.2-30 |
| Red Hat:enterprise_linux:3::as | libpng-devel | before 2:1.2.2-30 | 2:1.2.2-30 |
| Red Hat:enterprise_linux:3::as | libpng10 | before 0:1.0.13-21 | 0:1.0.13-21 |
| Red Hat:enterprise_linux:3::as | libpng10-debuginfo | before 0:1.0.13-21 | 0:1.0.13-21 |
| Red Hat:enterprise_linux:3::as | libpng10-devel | before 0:1.0.13-21 | 0:1.0.13-21 |
| Red Hat:enterprise_linux:4::as | libpng | before 2:1.2.7-3.el4_8.3 | 2:1.2.7-3.el4_8.3 |
| Red Hat:enterprise_linux:4::as | libpng-debuginfo | before 2:1.2.7-3.el4_8.3 | 2:1.2.7-3.el4_8.3 |
| Red Hat:enterprise_linux:4::as | libpng-devel | before 2:1.2.7-3.el4_8.3 | 2:1.2.7-3.el4_8.3 |
| Red Hat:enterprise_linux:4::as | libpng10 | before 0:1.0.16-3.el4_8.4 | 0:1.0.16-3.el4_8.4 |
| Red Hat:enterprise_linux:4::as | libpng10-debuginfo | before 0:1.0.16-3.el4_8.4 | 0:1.0.16-3.el4_8.4 |
| Red Hat:enterprise_linux:4::as | libpng10-devel | before 0:1.0.16-3.el4_8.4 | 0:1.0.16-3.el4_8.4 |
| Red Hat:enterprise_linux:5::client_workstation | libpng | before 2:1.2.10-7.1.el5_5.3 | 2:1.2.10-7.1.el5_5.3 |
| Red Hat:enterprise_linux:5::client_workstation | libpng-debuginfo | before 2:1.2.10-7.1.el5_5.3 | 2:1.2.10-7.1.el5_5.3 |
| Red Hat:enterprise_linux:5::client_workstation | libpng-devel | before 2:1.2.10-7.1.el5_5.3 | 2:1.2.10-7.1.el5_5.3 |
Same product
libpng: all recordsOther highest-scoring records for the same primary product.
- CVE-2010-1205Buffer overflow in pngpread.c in libpng before 1.2.44 and 1.4.x before 1.4.3, as used in progressive applications, might allow remote attack52Plan
- CVE-2017-12652libpng before 1.6.32 does not properly check the length of chunks against the user limit.40Plan
- CVE-2015-8540Integer underflow in the png_check_keyword function in pngwutil.c in libpng 0.90 through 0.99, 1.0.x before 1.0.66, 1.1.x and 1.2.x before 137Monitor
- CVE-2018-14550An issue has been found in third-party PNM decoding associated with libpng 1.6.35.36Monitor
- CVE-2015-0973Buffer overflow in the png_read_IDAT_data function in pngrutil.c in libpng before 1.5.21 and 1.6.x before 1.6.16 allows context-dependent at36Monitor
- CVE-2014-9495Heap-based buffer overflow in the png_combine_row function in libpng before 1.5.21 and 1.6.x before 1.6.16, when running on 64-bit systems, 36Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:libpng | 1.2.27-2+lenny3 · Debian:5.0 | Package registry (OSV) |
| red hat:libpng | 2:1.2.2-30 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:libpng-debuginfo | 2:1.2.2-30 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:libpng-devel | 2:1.2.2-30 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:libpng10 | 0:1.0.13-21 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:libpng10-debuginfo | 0:1.0.13-21 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:libpng10-devel | 0:1.0.13-21 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- P · the service can be disrupted
- Attack complexity
- M
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- P
Weakness class (CWE)
CWE-400 · Uncontrolled Resource ConsumptionCVSS vector
AV:N/AC:M/Au:N/C:N/I:N/A:P
nvd-primary
Root cause
Code that parses nested structures sets no depth or size limit. A small input can turn into a disproportionate processing load.
The bug in code
The whole CWE-400 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
function expand(node) { return node.children.map(expand);}Fixed
const MAX_DEPTH = 32;function expand(node, depth = 0) { if (depth > MAX_DEPTH) throw new Error("too deep"); return node.children.map((c) => expand(c, depth + 1));}Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- libpng.sourceforge.net/ADVISORY-1.4.1.html
- libpng.sourceforge.net/decompression_bombs.html
- lists.apple.com/archives/security-announce/2010//Nov/msg00000.html
- lists.fedoraproject.org/pipermail/package-announce/2010-March/037237.html
- lists.fedoraproject.org/pipermail/package-announce/2010-March/037355.html
- lists.fedoraproject.org/pipermail/package-announce/2010-March/037364.html
- lists.fedoraproject.org/pipermail/package-announce/2010-March/037607.html
- lists.opensuse.org/opensuse-security-announce/2010-05/msg00001.html
- lists.opensuse.org/opensuse-security-announce/2010-05/msg00002.html
- lists.opensuse.org/opensuse-security-announce/2010-06/msg00001.html
- lists.vmware.com/pipermail/security-announce/2010/000105.html
- osvdb.org/62670
- secunia.com/advisories/38774
- secunia.com/advisories/39251
- secunia.com/advisories/41574
- support.apple.com/kb/HT4435
- ubuntu.com/usn/usn-913-1
- www.debian.org/security/2010/dsa-2032
- www.kb.cert.org/vuls/id/576029
- www.mandriva.com/security/advisories?name=MDVSA-2010:063
Vendor advisories and official records. Exploit/PoC links are deliberately left out.