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 i...
HighCVSS 7.5
EPSS 3.1%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gocr optical character recognition utility | = 0.3.2 | No fix listed |
| gocr optical character recognition utility | = 0.3.4 | No fix listed |
| gocr optical character recognition utility | = 0.37 | No fix listed |
| gocr optical character recognition utility | = 0.39 | No fix listed |
| gocr optical character recognition utility | = 0.40 | No fix listed |
| debian/gocr(Debian:12) | < 0.39-5 | 0.39-5 |
| debian/gocr(Debian:13) | < 0.39-5 | 0.39-5 |
| debian/gocr(Debian:14) | < 0.39-5 | 0.39-5 |
References
- 20050415 [Overflow.pl] GOCR - Multiple vulnerabilities mailing-list
- www.overflow.pl exploit vendor-advisory
- Debian Security Tracker CVE-2005-1142 vendor-advisory