Live threats

All CVEs / Optical Character Recognition Project

CVE-2005-1141Optical Character Recognition Project Optical Character Recognition

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
3.4%
probability of exploitation in 30 days · percentile 90
Auth required
No
Published
Apr 15, 2005
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-190
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Optical Character Recognition.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
optical_character_recognition_projectoptical_character_recognition0.40

Official sources

References

Links published by the sources. Open them with care.