Skip to content
OpenAdvisories
Unscored CVE-2005-1142 EUVD-2005-1145GHSA-6f86-ff42-6g2f

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 …

Published Apr 16, 2005 · Updated Aug 7, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 gocr 0.39-5 —
Debian 13 gocr 0.39-5 —
Debian 12 gocr 0.39-5 —

References