{"api_version":"1","generated_at":"2026-07-23T07:49:03+00:00","cve":"CVE-2005-1142","urls":{"html":"https://cve.report/CVE-2005-1142","api":"https://cve.report/api/cve/CVE-2005-1142.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2005-1142","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2005-1142"},"summary":{"title":"CVE-2005-1142","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.","state":"PUBLISHED","assigner":"mitre","published_at":"2005-04-15 04:00:00","updated_at":"2025-04-03 01:03:51"},"problem_types":["NVD-CWE-Other","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"7.5","severity":"","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"}}],"references":[{"url":"http://www.overflow.pl/adv/gocr.txt","name":"http://www.overflow.pl/adv/gocr.txt","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Vendor Advisory"],"title":"404 Not Found","mime":"text/plain","httpstatus":"404","archivestatus":"200"},{"url":"http://marc.info/?l=bugtraq&m=111358557823673&w=2","name":"http://marc.info/?l=bugtraq&m=111358557823673&w=2","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"'[Overflow.pl] GOCR - Multiple vulnerabilities' - MARC","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2005-1142","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2005-1142","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2005","cve_id":"1142","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gocr","cpe5":"optical_character_recognition_utility","cpe6":"0.3.2","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2005","cve_id":"1142","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gocr","cpe5":"optical_character_recognition_utility","cpe6":"0.3.4","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2005","cve_id":"1142","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gocr","cpe5":"optical_character_recognition_utility","cpe6":"0.37","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2005","cve_id":"1142","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gocr","cpe5":"optical_character_recognition_utility","cpe6":"0.39","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2005","cve_id":"1142","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gocr","cpe5":"optical_character_recognition_utility","cpe6":"0.40","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-07T21:35:59.969Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"20050415 [Overflow.pl] GOCR - Multiple vulnerabilities","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"],"url":"http://marc.info/?l=bugtraq&m=111358557823673&w=2"},{"tags":["x_refsource_MISC","x_transferred"],"url":"http://www.overflow.pl/adv/gocr.txt"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2005-04-15T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2016-10-17T13:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"20050415 [Overflow.pl] GOCR - Multiple vulnerabilities","tags":["mailing-list","x_refsource_BUGTRAQ"],"url":"http://marc.info/?l=bugtraq&m=111358557823673&w=2"},{"tags":["x_refsource_MISC"],"url":"http://www.overflow.pl/adv/gocr.txt"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2005-1142","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"20050415 [Overflow.pl] GOCR - Multiple vulnerabilities","refsource":"BUGTRAQ","url":"http://marc.info/?l=bugtraq&m=111358557823673&w=2"},{"name":"http://www.overflow.pl/adv/gocr.txt","refsource":"MISC","url":"http://www.overflow.pl/adv/gocr.txt"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2005-1142","datePublished":"2005-04-16T04:00:00.000Z","dateReserved":"2005-04-16T00:00:00.000Z","dateUpdated":"2024-08-07T21:35:59.969Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2005-04-15 04:00:00","lastModifiedDate":"2025-04-03 01:03:51","problem_types":["NVD-CWE-Other","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":true,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:gocr:optical_character_recognition_utility:0.3.2:*:*:*:*:*:*:*","matchCriteriaId":"CA591B69-3336-443D-8FBC-23AE40853667"},{"vulnerable":true,"criteria":"cpe:2.3:a:gocr:optical_character_recognition_utility:0.3.4:*:*:*:*:*:*:*","matchCriteriaId":"A4F6B430-EC77-4970-98AB-69575461BBC3"},{"vulnerable":true,"criteria":"cpe:2.3:a:gocr:optical_character_recognition_utility:0.37:*:*:*:*:*:*:*","matchCriteriaId":"42DE789F-CF85-48F0-B282-C72752E8B46B"},{"vulnerable":true,"criteria":"cpe:2.3:a:gocr:optical_character_recognition_utility:0.39:*:*:*:*:*:*:*","matchCriteriaId":"54CAF27E-073A-4617-BC94-98DF1C685497"},{"vulnerable":true,"criteria":"cpe:2.3:a:gocr:optical_character_recognition_utility:0.40:*:*:*:*:*:*:*","matchCriteriaId":"C3C9C2E8-5EF0-44FA-9AD5-0C883A8A5668"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2005","CveId":"1142","Ordinal":"1","Title":"CVE-2005-1142","CVE":"CVE-2005-1142","Year":"2005"},"notes":[{"CveYear":"2005","CveId":"1142","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2005-1142"},{"CveYear":"2005","CveId":"1142","Ordinal":"2","NoteData":"2005-04-16","Type":"Other","Title":"Published"},{"CveYear":"2005","CveId":"1142","Ordinal":"3","NoteData":"2016-10-17","Type":"Other","Title":"Modified"}]}}}