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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-07T21:35:59.969Z

Reserved: 2005-04-16T00:00:00

Link: CVE-2005-1142

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2005-04-15T04:00:00.000

Modified: 2025-04-03T01:03:51.193

Link: CVE-2005-1142

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.