CVE-2005-1141
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.38%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 3.38% probability · 88th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-190
- Affected
- optical character recognition project/optical character recognition
- Source
- cve@mitre.org
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
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.