← Database

CVE-2005-1142

HIGH CVSS: 7.5 Published: 2005-04-15 Modified: 2026-06-16

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 Platforms

Gocr Optical Character Recognition Utility

Weakness Type

NVD-CWE-Other

References