SecurityContext

CVE-2005-1142: GOCR - Buffer Overflow

  • Cve: CVE-2005-1142
  • Name: GOCR - Buffer Overflow
  • 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.
  • Impact: Remote attackers can execute arbitrary code on the affected system, potentially leading to full system compromise.
  • Remediation: Update to the latest version of GOCR or apply patches that fix the buffer overflow vulnerability.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:P/A:P
  • Epss score: 0.03145
  • Epss percentile: 0.88253
  • Assignee: [email protected]
  • Published at: 2005-04-15T04:00:00Z
  • Age in days: 7893
  • Modified at: 2026-06-16T22:12:31Z
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2005-1142
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
NVD-CWE-Other—

Public exploits

UrlSourceAdded date
http://www.overflow.pl/adv/gocr.txtnvd2005-04-15

References

UrlSourceTags
http://www.overflow.pl/adv/gocr.txtnvdExploit, Vendor Advisory
http://marc.info/?l=bugtraq&m=111358557823673&w=2nvd

Products

ProductAffectedPlatform boundSourcesUrl
gocr:optical_character_recognition_utility= 0.40, = 0.39, = 0.37, = 0.3.4, = 0.3.2nonvd/v1/products/gocr/optical_character_recognition_utility

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2005-04-15
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts