pnmtopng in netpbm before 10.25, when using the -trans option, uses uninitialized size and index variables when converting Portable Anymap (
pnmtopng in netpbm before 10.25, when using the -trans option, uses uninitialized size and index variables when converting Portable Anymap (PNM) images to Portable Network Graphics (PNG), which might allow attackers to execute arbitrary code by modifying the stack.
- Published
- Oct 18, 2005
- Updated
- Jun 16, 2026
- EPSS
- 4.9% · 92th percentile
- CWE
- —
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
31
Monitor
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 4.9%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| netpbm | netpbm | cpe:2.3:a:netpbm:netpbm |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- netpbm netpbm10.0
- netpbm netpbm10.1
- netpbm netpbm10.10
- netpbm netpbm10.11
- netpbm netpbm10.12
- netpbm netpbm10.13
- netpbm netpbm10.14
- netpbm netpbm10.15
- netpbm netpbm10.16
- netpbm netpbm10.17
- netpbm netpbm10.18
- netpbm netpbm10.19
- netpbm netpbm10.2
- netpbm netpbm10.20
- netpbm netpbm10.21
- netpbm netpbm10.22
- netpbm netpbm10.23
- netpbm netpbm10.24
- netpbm netpbm10.3
- netpbm netpbm10.4
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | netpbm-free | before 2:10.0-10 | 2:10.0-10 |
| Debian:3.1 | netpbm-free | before 2:10.0-8sarge1 | 2:10.0-8sarge1 |
| Red Hat:enterprise_linux:4::as | netpbm | before 0:10.25-2.EL4.2 | 0:10.25-2.EL4.2 |
| Red Hat:enterprise_linux:4::as | netpbm-debuginfo | before 0:10.25-2.EL4.2 | 0:10.25-2.EL4.2 |
| Red Hat:enterprise_linux:4::as | netpbm-devel | before 0:10.25-2.EL4.2 | 0:10.25-2.EL4.2 |
| Red Hat:enterprise_linux:4::as | netpbm-progs | before 0:10.25-2.EL4.2 | 0:10.25-2.EL4.2 |
Same product
netpbm: all recordsOther highest-scoring records for the same primary product.
- CVE-2003-0146Multiple vulnerabilities in NetPBM 9.20 and earlier, and possibly other versions, may allow remote attackers to cause a denial of service or32Monitor
- CVE-2009-4274Stack-based buffer overflow in converter/ppm/xpmtoppm.c in netpbm before 10.47.07 allows context-dependent attackers to cause a denial of se31Monitor
- CVE-2005-2471pstopnm in netpbm does not properly use the "-dSAFER" option when calling Ghostscript to convert a PostScript file into a (1) PBM, (2) PGM, 31Monitor
- CVE-2008-0554Buffer overflow in the readImageData function in giftopnm.c in netpbm before 10.27 in netpbm before 10.27 allows remote user-assisted attack28Monitor
- CVE-2006-3145Buffer overflow in pamtofits of NetPBM 10.30 through 10.33 allows remote attackers to cause a denial of service (crash) and possibly execute21Monitor
- CVE-2005-3632Multiple buffer overflows in pnmtopng in netpbm 10.0 and earlier allow attackers to execute arbitrary code via a crafted PNM file.18Monitor
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:netpbm-free | 2:10.0-10 · Debian:12 | Package registry (OSV) |
| red hat:netpbm | 0:10.25-2.EL4.2 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:netpbm-debuginfo | 0:10.25-2.EL4.2 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:netpbm-devel | 0:10.25-2.EL4.2 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:netpbm-progs | 0:10.25-2.EL4.2 · Red Hat:enterprise_linux:4::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
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- P · data can be read
- Integrity
- P · data or configuration can be modified
- Availability
- P · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- P
- Integrity impact
- P
- Availability impact
- P
Weakness class (CWE)
—
CVSS vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
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
- secunia.com/advisories/17221
- secunia.com/advisories/17222
- secunia.com/advisories/17256
- secunia.com/advisories/17265
- secunia.com/advisories/17282
- secunia.com/advisories/17357
- securitytracker.com/id?1015071
- www.debian.org/security/2005/dsa-878
- www.gentoo.org/security/en/glsa/glsa-200510-18.xml
- www.novell.com/linux/security/advisories/2005_24_sr.html
- www.redhat.com/support/errata/RHSA-2005-793.html
- www.securityfocus.com/bid/15128
- www.vupen.com/english/advisories/2005/2133
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10135
- usn.ubuntu.com/210-1/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.