Heap-based buffer overflow in the readpgm function in pnm.c for GOCR 0.40, when it is not…
Priority LOW 39Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- No fix listed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA.
Summary
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.
Why it matters now
EPSS 0.03145 88th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged 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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 5
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:gocr:optical_character_recognition_utility:0.3.2:*:*:*:*:*:*:* | 0.3.2 | Vulnerable | Gocr |
| cpe:2.3:a:gocr:optical_character_recognition_utility:0.3.4:*:*:*:*:*:*:* | 0.3.4 | Vulnerable | Gocr |
| cpe:2.3:a:gocr:optical_character_recognition_utility:0.37:*:*:*:*:*:*:* | 0.37 | Vulnerable | Gocr |
| cpe:2.3:a:gocr:optical_character_recognition_utility:0.39:*:*:*:*:*:*:* | 0.39 | Vulnerable | Gocr |
| cpe:2.3:a:gocr:optical_character_recognition_utility:0.40:*:*:*:*:*:*:* | 0.40 | Vulnerable | Gocr |
- cpe:2.3:a:gocr:optical_character_recognition_utility:0.3.2:*:*:*:*:*:*:* Versions 0.3.2 Vulnerable ·Gocr
- cpe:2.3:a:gocr:optical_character_recognition_utility:0.3.4:*:*:*:*:*:*:* Versions 0.3.4 Vulnerable ·Gocr
- cpe:2.3:a:gocr:optical_character_recognition_utility:0.37:*:*:*:*:*:*:* Versions 0.37 Vulnerable ·Gocr
- cpe:2.3:a:gocr:optical_character_recognition_utility:0.39:*:*:*:*:*:*:* Versions 0.39 Vulnerable ·Gocr
- cpe:2.3:a:gocr:optical_character_recognition_utility:0.40:*:*:*:*:*:*:* Versions 0.40 Vulnerable ·Gocr
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2005-1142
- 2026-10-03 Alias added: GHSA-6f86-ff42-6g2f
References
Sources
- CVE-2005-1142 · CVE Program
- CVE-2005-1142 · NVD
- FIRST EPSS
- GHSA-6f86-ff42-6g2f · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences