Skip to content

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

ProductAffected versionsFixed 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