Live threats

All CVEs / Gocr

CVE-2005-1142Gocr Optical Character Recognition Utility

High 7.5 No auth needed

Priority
60
CVSS 2.0
7.5
EPSS
3.1%
probability of exploitation in 30 days · percentile 89
Auth required
No
Published
Apr 15, 2005
Updated
Jun 16, 2026
Category
Application · Cross-platform
Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P

What happens

Heap-based buffer overflow in the readpgm function in pnm.c for GOCR 0.40, when it is not using netpbm, allows remote attackers to execute arbitrary code via a P3 format PNM file with more data than implied by its width and height values.

Original NVD text.

What to do

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

Affected products (CPE)

VendorProductVersions
gocroptical_character_recognition_utility0.3.2
gocroptical_character_recognition_utility0.3.4
gocroptical_character_recognition_utility0.37
gocroptical_character_recognition_utility0.39
gocroptical_character_recognition_utility0.40

Official sources

References

Links published by the sources. Open them with care.