← Database

CVE-2005-1141

CRITICAL CVSS: 9.8 Published: 2005-04-15 Modified: 2026-06-16

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 Platforms

Optical Character Recognition Project Optical Character Recognition

Weakness Type

CWE-190

References