Netpbm
Netpbm before 10.86.51, 11.02.30, and 11.15.08 picttoppm Stack Overflow via scanPoly
Netpbm before 10.86.51, 11.x before 11.02.30, and 11.03 before 11.15.08 contains a stack-based buffer overflow in picttoppm's scanPoly() function in converter/ppm/picttoppm.c. Attackers can supply a crafted PICT file whose polygon edges produce more than 5000 points, overflowing the coord stack array to crash the converter or potentially execute code.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.5high · scored by CNA · CWE-121
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Netpbm Netpbm
- < 10.86.51
- >= 11.0, < 11.02.30
- >= 11.03, < 11.15.08
Fixed in 10.86.51, 11.02.30, 11.15.08
Mitigation
Upgrade Netpbm to 10.86.51 or 11.02.30 or 11.15.08 or later.
References
- Patch sourceforge.net/p/netpbm/code/5331
- Release notes svn.code.sf.net/p/netpbm/code/!svn/bc/5358/stable/d…
- Release notes svn.code.sf.net/p/netpbm/code/!svn/bc/5357/advanced…
1 more
- Release notes svn.code.sf.net/p/netpbm/code/!svn/bc/5371/super_st…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.