Vulnerability · CVE-2005-1141
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 an
Published Apr 15, 2005 · catalog updated Oct 22, 2026 · Integer overflow in the
Open the advisory
Exploitation likelihood is not on this record for CVE-2005-1141. A missing EPSS score is not a low risk. Compare Integer overflow in the with the linked advisory before you change production.
Gaps on this record
- The stored product name is a package slug. The name on this page is taken from the title (Integer overflow in the).
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
- EPSS is missing. A missing score is not a low risk.
- Severity
- Critical9.8
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- Awaiting synchronization with FIRST
- Remediation
- Advisory link
- Affected products
- Debian:12 gocr · Debian:13 gocr · Debian:14 gocr
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.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- Debian:12 gocr0 → 0.39-5
- Debian:13 gocr0 → 0.39-5
- Debian:14 gocr0 → 0.39-5
How to fix CVE-2005-1141
Recommended remediation
A patch or advisory reference is linked. Open the original publisher for availability by product version.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
Exploitation likelihood is not on this record for CVE-2005-1141. A missing EPSS score is not a low risk. Compare Integer overflow in the with the linked advisory before you change production.
Which versions are affected?
Compare what you have installed with 0 → 0.39-5. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
No weakness class is stored. EPSS is not on this record yet. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Technology hubs
Code
The project this record applies to. Exploit listings stay in References.
No public source repository is identified for this product.
Timeline
Detection, updates, and resolution for this record.
Apr 15, 2005 · OpenSSF OSV / OSV Scanner
Detected
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.
Oct 22, 2026 · OpenSSF OSV / OSV Scanner
Fix available
gocr fixed in 0.39-5; gocr fixed in 0.39-5; gocr fixed in 0.39-5
Oct 22, 2026 · OpenSSF OSV / OSV Scanner
Fix available
gocr fixed in 0.39-5
Oct 22, 2026 · OpenSSF OSV / OSV Scanner
Updated
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.
Sources
- CVE.orgVulnerability recordCVE-2005-1141
Official CVE identifier
cve.org - OpenSSF OSV / OSV ScannerPackage advisoryDEBIAN-CVE-2005-1141osv.dev
- Trivy Vulnerability DBPackage advisoryDEBIAN-CVE-2005-1141
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.
osv.dev
References
Freshness
Last verified in this catalog Oct 22, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.