CVE-2005-1141

CRITICAL

GOCR 0.40 - RCE

Title source: llm

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.

Scores

CVSS v3 9.8
EPSS 0.1434
EPSS Percentile 94.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE
CWE-190
Status draft

Affected Products (1)

optical_character_recognition_project/optical_character_recognition

Timeline

Published Apr 15, 2005
Tracked Since Feb 18, 2026