CVE-2005-1142

Description

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.

Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
3.145%
chance of exploitation in the next 30 days
higher than 88.1% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0

Timeline

  1. 2005-04-15Published
  2. 2005-04-16Published by the CNA04:00 UTC · 1 day after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
gocr optical_character_recognition_utility0.3.2no fix listed0.3.4no fix listed0.37no fix listed0.39no fix listed0.40no fix listednot listednot listednot listednot listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources