PT-2005-2157 · Gocr+1 · Gocr+1

Published

2005-04-15

·

Updated

2024-02-08

·

CVE-2005-1141

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions GOCR version 0.40
Description The issue is related to an integer overflow in the readpgm function in pnm.c, which occurs when using the netpbm library. This allows remote attackers to execute arbitrary code via a PNM file with large width and height values, leading to a heap-based buffer overflow.
Recommendations For GOCR version 0.40, consider disabling the readpgm function in pnm.c as a temporary workaround until a patch is available. Restrict access to PNM files with large width and height values to minimize the risk of exploitation.

Exploit

Fix

Integer Overflow

Weakness Enumeration

Related Identifiers

CVE-2005-1141

Affected Products

Gocr
Netpbm