{"api_version":"1","generated_at":"2026-04-22T17:44:54+00:00","cve":"CVE-2012-4875","urls":{"html":"https://cve.report/CVE-2012-4875","api":"https://cve.report/api/cve/CVE-2012-4875.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2012-4875","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2012-4875"},"summary":{"title":"CVE-2012-4875","description":"** DISPUTED **  Heap-based buffer overflow in gdevwpr2.c in Ghostscript 9.04, when processing the OutputFile device parameter, allows user-assisted remote attackers to execute arbitrary code via a long file name in a PostScript document.  NOTE: as of 20120314, the developer was not able to reproduce the issue and disputed it.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2012-09-06 21:55:00","updated_at":"2023-11-07 02:12:00"},"problem_types":["CWE-119"],"metrics":[],"references":[{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/74554","name":"ghostscript-outputfile-bo(74554)","refsource":"XF","tags":[],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/52864","name":"52864","refsource":"BID","tags":[],"title":"Ghostscript 'OutputFile' Parameter Heap Based Buffer Overflow Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://secunia.com/advisories/47855","name":"47855","refsource":"SECUNIA","tags":["Vendor Advisory"],"title":"Security Advisory SA47855 - Ghostscript &quot;OutputFile&quot; Buffer Overflow Vulnerability - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://bugs.ghostscript.com/show_bug.cgi?id=692856","name":"http://bugs.ghostscript.com/show_bug.cgi?id=692856","refsource":"MISC","tags":[],"title":"Bug 692856 – Ghostscript Buffer Overflow Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-4875","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-4875","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2012","cve_id":"4875","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"artifex","cpe5":"gpl_ghostscript","cpe6":"9.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"4875","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"artifex","cpe5":"gpl_ghostscript","cpe6":"9.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2012-4875","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":"** DISPUTED **  Heap-based buffer overflow in gdevwpr2.c in Ghostscript 9.04, when processing the OutputFile device parameter, allows user-assisted remote attackers to execute arbitrary code via a long file name in a PostScript document.  NOTE: as of 20120314, the developer was not able to reproduce the issue and disputed it."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"47855","refsource":"SECUNIA","url":"http://secunia.com/advisories/47855"},{"name":"52864","refsource":"BID","url":"http://www.securityfocus.com/bid/52864"},{"name":"ghostscript-outputfile-bo(74554)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/74554"},{"name":"http://bugs.ghostscript.com/show_bug.cgi?id=692856","refsource":"MISC","url":"http://bugs.ghostscript.com/show_bug.cgi?id=692856"}]}},"nvd":{"publishedDate":"2012-09-06 21:55:00","lastModifiedDate":"2023-11-07 02:12:00","problem_types":["CWE-119"],"metrics":{"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:C/I:C/A:C","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE","baseScore":9.3},"severity":"HIGH","exploitabilityScore":8.6,"impactScore":10,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:artifex:gpl_ghostscript:9.04:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2012","CveId":"4875","Ordinal":"57792","Title":"CVE-2012-4875","CVE":"CVE-2012-4875","Year":"2012"},"notes":[{"CveYear":"2012","CveId":"4875","Ordinal":"1","NoteData":"** DISPUTED **\n\nHeap-based buffer overflow in gdevwpr2.c in Ghostscript 9.04, when processing the OutputFile device parameter, allows user-assisted remote attackers to execute arbitrary code via a long file name in a PostScript document.  NOTE: as of 20120314, the developer was not able to reproduce the issue and disputed it.","Type":"Description","Title":null},{"CveYear":"2012","CveId":"4875","Ordinal":"2","NoteData":"2012-09-06","Type":"Other","Title":"Published"},{"CveYear":"2012","CveId":"4875","Ordinal":"3","NoteData":"2017-08-28","Type":"Other","Title":"Modified"}]}}}