Description
Integer overflow in the readpgm function in pnm.c for GOCR 0.40, when using the netpbm library, allows remote attackers to execute arbitrary code via a PNM file with large width and height values, which leads to a heap-based buffer overflow.
Metrics
CVSS 3.1 9.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://marc.info/?l=bugtraq&m=111358557823673&w=2Exploit, Mailing List
- http://www.overflow.pl/adv/gocr.txtBroken Link, Exploit, Vendor Advisory
- http://marc.info/?l=bugtraq&m=111358557823673&w=2Exploit, Mailing List
- http://www.overflow.pl/adv/gocr.txtBroken Link, Exploit, Vendor Advisory
Timeline
- Published
- Apr 15, 2005
- Last modified
- Jun 16, 2026
- NVD status
- Modified