Description
Stack-based buffer overflow in converter/ppm/xpmtoppm.c in netpbm before 10.47.07 allows context-dependent attackers to cause a denial of service (application crash) or possibly execute arbitrary code via an XPM image file that contains a crafted header field associated with a large color index value.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | netpbm-free | 2:10.0-12.2 | — |
| Debian 13 | netpbm-free | 2:10.0-12.2 | — |
| Debian 12 | netpbm-free | 2:10.0-12.2 | — |
| Debian 6.0 | netpbm-free | 2:10.0-12.1+squeeze1 | DTSA-206-1 |
| Debian 5.0 | netpbm-free | 2:10.0-12+lenny1 | DSA-2026-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | netpbm +2 | 10.35.58-8.el5_7.3 | RHSA-2011:1811 |
| RHEL 4 | netpbm +2 | 10.35.58-8.el4 | RHSA-2011:1811 |
Advisories 3
- RHSA-2011:1811 Red Hat Security Advisory: netpbm security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- DSA-2026-1 netpbm-free - buffer overflow Debian Security (DSA / DLA) · Mar 9, 2026
- DTSA-206-1 netpbm-free - buffer overflow Debian Security (DSA / DLA) · Mar 9, 2026
References
- RHSA-2011:1811 vendor-advisory
- http://netpbm.svn.sourceforge.net/viewvc/netpbm/stable/converter/ppm/xpmtoppm.c?view=patch&r1=995&r2=1076&pathrev=1076
- ADV-2010-0358 vdb-entry
- 38530 third-party-advisory
- [oss-security] 20100209 vulnerability in netpbm (CVE-2009-4274) mailing-list
- ADV-2010-0780 vdb-entry
- netpbm-xpm-bo(56207) vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=546580
- SUSE-SR:2010:006 vendor-advisory
- DSA-2026 vendor-advisory
- http://netpbm.svn.sourceforge.net/viewvc/netpbm/stable/doc/HISTORY?view=markup
- 38915 third-party-advisory
- 38164 vdb-entry
- MDVSA-2010:039 vendor-advisory