pnmtopng in netpbm before 10.25, when using the -trans option, uses uninitialized size…
Priority MEDIUM 41Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat.
Summary
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.
Why it matters now
EPSS 0.04873 92nd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed Red Hat: 1 advisory
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 25
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:netpbm:netpbm:10.0:*:*:*:*:*:*:* | 10.0 | Vulnerable | Netpbm |
| cpe:2.3:a:netpbm:netpbm:10.1:*:*:*:*:*:*:* | 10.1 | Vulnerable | Netpbm |
| cpe:2.3:a:netpbm:netpbm:10.2:*:*:*:*:*:*:* | 10.2 | Vulnerable | Netpbm |
| cpe:2.3:a:netpbm:netpbm:10.3:*:*:*:*:*:*:* | 10.3 | Vulnerable | Netpbm |
| cpe:2.3:a:netpbm:netpbm:10.4:*:*:*:*:*:*:* | 10.4 | Vulnerable | Netpbm |
| cpe:2.3:a:netpbm:netpbm:10.5:*:*:*:*:*:*:* | 10.5 | Vulnerable | Netpbm |
| cpe:2.3:a:netpbm:netpbm:10.6:*:*:*:*:*:*:* | 10.6 | Vulnerable | Netpbm |
| cpe:2.3:a:netpbm:netpbm:10.7:*:*:*:*:*:*:* | 10.7 | Vulnerable | Netpbm |
| cpe:2.3:a:netpbm:netpbm:10.8:*:*:*:*:*:*:* | 10.8 | Vulnerable | Netpbm |
| cpe:2.3:a:netpbm:netpbm:10.9:*:*:*:*:*:*:* | 10.9 | Vulnerable | Netpbm |
- cpe:2.3:a:netpbm:netpbm:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Netpbm
- cpe:2.3:a:netpbm:netpbm:10.1:*:*:*:*:*:*:* Versions 10.1 Vulnerable ·Netpbm
- cpe:2.3:a:netpbm:netpbm:10.2:*:*:*:*:*:*:* Versions 10.2 Vulnerable ·Netpbm
- cpe:2.3:a:netpbm:netpbm:10.3:*:*:*:*:*:*:* Versions 10.3 Vulnerable ·Netpbm
- cpe:2.3:a:netpbm:netpbm:10.4:*:*:*:*:*:*:* Versions 10.4 Vulnerable ·Netpbm
- cpe:2.3:a:netpbm:netpbm:10.5:*:*:*:*:*:*:* Versions 10.5 Vulnerable ·Netpbm
- cpe:2.3:a:netpbm:netpbm:10.6:*:*:*:*:*:*:* Versions 10.6 Vulnerable ·Netpbm
- cpe:2.3:a:netpbm:netpbm:10.7:*:*:*:*:*:*:* Versions 10.7 Vulnerable ·Netpbm
- cpe:2.3:a:netpbm:netpbm:10.8:*:*:*:*:*:*:* Versions 10.8 Vulnerable ·Netpbm
- cpe:2.3:a:netpbm:netpbm:10.9:*:*:*:*:*:*:* Versions 10.9 Vulnerable ·Netpbm
Show 15 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:netpbm:netpbm:10.10:*:*:*:*:*:*:* | 10.10 | Vulnerable | Netpbm |
| cpe:2.3:a:netpbm:netpbm:10.11:*:*:*:*:*:*:* | 10.11 | Vulnerable | Netpbm |
| cpe:2.3:a:netpbm:netpbm:10.12:*:*:*:*:*:*:* | 10.12 | Vulnerable | Netpbm |
| cpe:2.3:a:netpbm:netpbm:10.13:*:*:*:*:*:*:* | 10.13 | Vulnerable | Netpbm |
| cpe:2.3:a:netpbm:netpbm:10.14:*:*:*:*:*:*:* | 10.14 | Vulnerable | Netpbm |
| cpe:2.3:a:netpbm:netpbm:10.15:*:*:*:*:*:*:* | 10.15 | Vulnerable | Netpbm |
| cpe:2.3:a:netpbm:netpbm:10.16:*:*:*:*:*:*:* | 10.16 | Vulnerable | Netpbm |
| cpe:2.3:a:netpbm:netpbm:10.17:*:*:*:*:*:*:* | 10.17 | Vulnerable | Netpbm |
| cpe:2.3:a:netpbm:netpbm:10.18:*:*:*:*:*:*:* | 10.18 | Vulnerable | Netpbm |
| cpe:2.3:a:netpbm:netpbm:10.19:*:*:*:*:*:*:* | 10.19 | Vulnerable | Netpbm |
| cpe:2.3:a:netpbm:netpbm:10.20:*:*:*:*:*:*:* | 10.20 | Vulnerable | Netpbm |
| cpe:2.3:a:netpbm:netpbm:10.21:*:*:*:*:*:*:* | 10.21 | Vulnerable | Netpbm |
| cpe:2.3:a:netpbm:netpbm:10.22:*:*:*:*:*:*:* | 10.22 | Vulnerable | Netpbm |
| cpe:2.3:a:netpbm:netpbm:10.23:*:*:*:*:*:*:* | 10.23 | Vulnerable | Netpbm |
| cpe:2.3:a:netpbm:netpbm:10.24:*:*:*:*:*:*:* | 10.24 | Vulnerable | Netpbm |
- cpe:2.3:a:netpbm:netpbm:10.10:*:*:*:*:*:*:* Versions 10.10 Vulnerable ·Netpbm
- cpe:2.3:a:netpbm:netpbm:10.11:*:*:*:*:*:*:* Versions 10.11 Vulnerable ·Netpbm
- cpe:2.3:a:netpbm:netpbm:10.12:*:*:*:*:*:*:* Versions 10.12 Vulnerable ·Netpbm
- cpe:2.3:a:netpbm:netpbm:10.13:*:*:*:*:*:*:* Versions 10.13 Vulnerable ·Netpbm
- cpe:2.3:a:netpbm:netpbm:10.14:*:*:*:*:*:*:* Versions 10.14 Vulnerable ·Netpbm
- cpe:2.3:a:netpbm:netpbm:10.15:*:*:*:*:*:*:* Versions 10.15 Vulnerable ·Netpbm
- cpe:2.3:a:netpbm:netpbm:10.16:*:*:*:*:*:*:* Versions 10.16 Vulnerable ·Netpbm
- cpe:2.3:a:netpbm:netpbm:10.17:*:*:*:*:*:*:* Versions 10.17 Vulnerable ·Netpbm
- cpe:2.3:a:netpbm:netpbm:10.18:*:*:*:*:*:*:* Versions 10.18 Vulnerable ·Netpbm
- cpe:2.3:a:netpbm:netpbm:10.19:*:*:*:*:*:*:* Versions 10.19 Vulnerable ·Netpbm
- cpe:2.3:a:netpbm:netpbm:10.20:*:*:*:*:*:*:* Versions 10.20 Vulnerable ·Netpbm
- cpe:2.3:a:netpbm:netpbm:10.21:*:*:*:*:*:*:* Versions 10.21 Vulnerable ·Netpbm
- cpe:2.3:a:netpbm:netpbm:10.22:*:*:*:*:*:*:* Versions 10.22 Vulnerable ·Netpbm
- cpe:2.3:a:netpbm:netpbm:10.23:*:*:*:*:*:*:* Versions 10.23 Vulnerable ·Netpbm
- cpe:2.3:a:netpbm:netpbm:10.24:*:*:*:*:*:*:* Versions 10.24 Vulnerable ·Netpbm
Remediation
Red Hat 1 advisory
- RHSA-2005:793 Released 2005-10-18 · Red Hat rating Moderatenetpbm security update
- Red Hat Enterprise Linux AS version 4 netpbm-10.25-2.EL4.2, netpbm-10.25-2.EL4.2.i386, netpbm-10.25-2.EL4.2.ia64 +9
- Red Hat Enterprise Linux Desktop version 4 netpbm-10.25-2.EL4.2, netpbm-10.25-2.EL4.2.i386, netpbm-devel-10.25-2.EL4.2 +3
- Red Hat Enterprise Linux ES version 4 netpbm-10.25-2.EL4.2, netpbm-10.25-2.EL4.2.i386, netpbm-10.25-2.EL4.2.ia64 +6
- Red Hat Enterprise Linux WS version 4 netpbm-10.25-2.EL4.2, netpbm-10.25-2.EL4.2.i386, netpbm-10.25-2.EL4.2.ia64 +6
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux AS version 4 | Fixed | RHSA-2005:793 |
| Red Hat Enterprise Linux Desktop version 4 | Fixed | RHSA-2005:793 |
| Red Hat Enterprise Linux ES version 4 | Fixed | RHSA-2005:793 |
| Red Hat Enterprise Linux WS version 4 | Fixed | RHSA-2005:793 |
Timeline
- 2026-10-02 Threatist record created from CVE-2005-2978
- 2026-10-03 Alias added: GHSA-xf4f-2rfr-r287
References
More Netpbm vulnerabilities
- TI-2003-00141 Multiple vulnerabilities in NetPBM 9.20 and earlier, and possibly other versions, may… CVSS 2.0HIGH 7.5
- TI-2009-04054 Stack-based buffer overflow in converter/ppm/xpmtoppm.c in netpbm before 10.47.07 allows… CVSS 2.0HIGH 7.5
- TI-2005-02339 pstopnm in netpbm does not properly use the "-dSAFER" option when calling Ghostscript to… CVSS 2.0HIGH 7.5
- TI-2008-00526 Buffer overflow in the readImageData function in giftopnm.c in netpbm before 10.27 in… CVSS 2.0MEDIUM 6.8
- TI-2006-03045 Buffer overflow in pamtofits of NetPBM 10.30 through 10.33 allows remote attackers to… CVSS 2.0MEDIUM 5.0
- TI-2008-04582 pamperspective in Netpbm before 10.35.48 does not properly calculate a window height… CVSS 2.0MEDIUM 4.3
Sources
- CVE-2005-2978 · CVE Program
- CVE-2005-2978 · NVD
- FIRST EPSS
- GHSA-xf4f-2rfr-r287 · GitHub Advisory Database · CC BY 4.0
- CVE-2005-2978 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences