Vulnerability database / CVE-2005-1141
CVE-2005-1141
CRITICAL 9.8 CVSS 3.1 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.
Published 15 Apr 2005
Last modified 16 Jun 2026 Assigned by cve@mitre.org NVD status Modified Weakness
CWE-190 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.1
CRITICAL 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD
nvd@nist.gov (Primary)
CVSS 2.0
HIGH 7.5
AV:N/AC:L/Au:N/C:P/I:P/A:P
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
optical_character_recognition_project
optical_character_recognitioncpe:2.3:a:optical_character_recognition_project:optical_character_recognition:0.40:*:*:*:*:*:*:*
= 0.40
References
History
25 Nov 2026 20:12 UTC · NVD: first stored (published 15 Apr 2005)