Summary
Netpbm before 10.86.51, 11.02.30, and 11.15.08 contains an integer overflow vulnerability in winicontopam that allows attackers to corrupt heap memory via oversized ICO/CUR dimensions. Attackers can supply a crafted icon file with width or height above 32767, wrapping int16_t loop counters into negative row buffer indices to cause crashes or potential code execution.
Remediation
References
- Patchhttps://sourceforge.net/p/netpbm/code/5335/
- Advisoryhttps://www.vulncheck.com/advisories/netpbm-before-10.86.51-11.02.30-and-11.15.08-integer-overflow-in-winicontopam
- Referencehttps://svn.code.sf.net/p/netpbm/code/!svn/bc/5334/trunk/converter/other/winicontopam.c
- Referencehttps://svn.code.sf.net/p/netpbm/code/!svn/bc/5357/advanced/doc/HISTORY
- Referencehttps://svn.code.sf.net/p/netpbm/code/!svn/bc/5358/stable/doc/HISTORY
- Referencehttps://svn.code.sf.net/p/netpbm/code/!svn/bc/5371/super_stable/doc/HISTORY