SecurityContext

CVE-2005-1141: GOCR - Integer Overflow

  • Cve: CVE-2005-1141
  • Name: GOCR - Integer Overflow
  • Description: 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.
  • Impact: Remote attackers can execute arbitrary code via crafted PNM files, potentially leading to full system compromise.
  • Remediation: Update to the latest version of GOCR that addresses this issue or apply patches to fix the integer overflow.
  • Vulnerability type: integer_overflow
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.03377
  • Epss percentile: 0.8908
  • Assignee: [email protected]
  • Published at: 2005-04-15T04:00:00Z
  • Age in days: 7893
  • Modified at: 2026-06-16T22:12:31Z
  • Public exploits total: 2
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2005-1141
  • 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
CWE-190Integer Overflow or Wraparound

Public exploits

UrlSourceAdded date
http://marc.info/?l=bugtraq&m=111358557823673&w=2nvd2005-04-15
http://www.overflow.pl/adv/gocr.txtnvd2005-04-15

References

UrlSourceTags
http://marc.info/?l=bugtraq&m=111358557823673&w=2nvdExploit, Mailing List

Products

ProductAffectedPlatform boundSourcesUrl
optical_character_recognition_project:optical_character_recognition= 0.40nonvd/v1/products/optical_character_recognition_project/optical_character_recognition

Index

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

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • 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