Read the docs
TI-2005-01079 Aliases CVE-2005-1141GHSA-ghqg-gfm6-qhh6

Integer overflow in the readpgm function in pnm.c for GOCR 0.40, when using the netpbm…

Priority MEDIUM 48CWE-190Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-190 and the CVSS impact.

Summary

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.

Why it matters now

EPSS 0.03377 88th percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:optical_character_recognition_project:optical_character_recognition:0.40:*:*:*:*:*:*:*0.40VulnerableOptical Character Recognition Project

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2005-1141
  2. 2026-10-03 Alias added: GHSA-ghqg-gfm6-qhh6

References

  • TI-2021-12883 Memory corruption in gocr CVSS 3.1HIGH 7.8
  • TI-2021-12885 Memory corruption in gocr CVSS 3.1HIGH 7.8
  • TI-2021-12884 An use-after-free vulnerability was discovered in gocr through 0.53-20200802 in context_correction() in pgm2asc.c. CVSS 3.1MEDIUM 5.5

Sources