{"id":"CVE-2005-1142","details":"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.","modified":"2026-04-10T03:37:01.615971Z","published":"2005-04-15T04:00:00Z","references":[{"type":"ADVISORY","url":"http://www.overflow.pl/adv/gocr.txt"},{"type":"EVIDENCE","url":"http://www.overflow.pl/adv/gocr.txt"},{"type":"WEB","url":"http://marc.info/?l=bugtraq&m=111358557823673&w=2"}],"schema_version":"1.7.5"}