CVE-2005-1142
Heap-based buffer overflow in the readpgm function in pnm.c for GOCR 0.40, when it is not using netpbm, allows remote attackers to execute arbitrary code via a P3 format PNM file with more data than implied by its width and height values.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.15%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
Heap-based buffer overflow in the readpgm function in pnm.c for GOCR 0.40, when it is not using netpbm, allows remote attackers to execute arbitrary code via a P3 format PNM file with more data than implied by its width and height values.
- CVSS 2.0
- 7.5 HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
- EPSS
- 3.15% probability · 87th percentile
- CISA KEV
- Not listed
- Affected
- gocr/optical character recognition utility
- Source
- cve@mitre.org
References
- http://marc.info/?l=bugtraq&m=111358557823673&w=2
- http://www.overflow.pl/adv/gocr.txtExploit, Vendor Advisory
- http://marc.info/?l=bugtraq&m=111358557823673&w=2
- http://www.overflow.pl/adv/gocr.txtExploit, Vendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.