CVE-2005-1141
Integer overflow in the readpgm function in pnm.c for GOCR 0.40, when ...
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD.
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| debian 11 | gocr | 0.39-5 |
| debian 12 | gocr | 0.39-5 |
| debian 13 | gocr | 0.39-5 |
| debian 14 | gocr | 0.39-5 |
| echo | gocr | 0.39-5 |