Heap-based Buffer Overflow in GOCR 0.40 via PNM File with Large Width and Height Values

Heap-based Buffer Overflow in GOCR 0.40 via PNM File with Large Width and Height Values

CVE-2005-1141 · CRITICAL Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

Learn more about our Web Application Penetration Testing UK.