{"id":"CVE-2005-1141","aliases":["DEBIAN-CVE-2005-1141","EUVD-2005-1144","GHSA-ghqg-gfm6-qhh6"],"status":"published","title":"Integer overflow in the readpgm function in pnm.c for GOCR 0.40, when using the netpbm library,...","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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.03377,"percentile":0.88854,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-190"],"published":"2005-04-15T04:00:00Z","modified":"2026-10-23T04:00:19Z","fixes":[{"ecosystem":"Debian:12","package":"gocr","fixed_in":["0.39-5"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"gocr","fixed_in":["0.39-5"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"gocr","fixed_in":["0.39-5"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"gocr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.39-5"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"gocr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.39-5"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"gocr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.39-5"}]}]}],"products":[{"vendor":"optical_character_recognition_project","product":"optical_character_recognition"}],"references":[{"url":"http://marc.info/?l=bugtraq\u0026m=111358557823673\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","Exploit","Mailing List","article","evidence"]},{"url":"http://www.overflow.pl/adv/gocr.txt","tags":["x_refsource_MISC","x_transferred","Broken Link","Exploit","Vendor Advisory","advisory","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2005-1141"},{"url":"https://github.com/advisories/GHSA-ghqg-gfm6-qhh6"},{"url":"https://security-tracker.debian.org/tracker/CVE-2005-1141","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2005-1141","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.","status":"published","published":"2005-04-16T04:00:00Z","modified":"2024-08-07T21:36:00.301Z","updated_at":"2026-11-02T14:33:39.586409Z"}],"euvd":[{"id":"EUVD-2005-1144","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.","status":"published","published":"2005-04-16T04:00:00Z","modified":"2024-08-07T21:36:00Z","updated_at":"2026-11-03T01:15:35.414401Z"}],"ghsa":[{"id":"GHSA-ghqg-gfm6-qhh6","title":"Integer overflow in the readpgm function in pnm.c for GOCR 0.40, when using the netpbm library,...","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.","status":"published","published":"2022-05-01T01:56:00Z","modified":"2026-03-14T05:05:09Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T15:06:36.943588Z"}],"nvd":[{"id":"CVE-2005-1141","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.","status":"published","published":"2005-04-15T04:00:00Z","modified":"2026-06-16T22:12:31.43Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T14:00:54.594271Z"}],"osv":[{"id":"CVE-2005-1141","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.","status":"published","published":"2005-04-15T04:00:00Z","modified":"2026-04-10T03:38:04.317751Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:43:56.315348Z"},{"id":"DEBIAN-CVE-2005-1141","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.","status":"published","published":"2005-04-15T04:00:00Z","modified":"2026-10-23T04:00:19.877066423Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:22.831407Z"}]}}
