{"api_version":"1","generated_at":"2026-07-23T07:27:58+00:00","cve":"CVE-2012-2118","urls":{"html":"https://cve.report/CVE-2012-2118","api":"https://cve.report/api/cve/CVE-2012-2118.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2012-2118","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2012-2118"},"summary":{"title":"CVE-2012-2118","description":"Format string vulnerability in the LogVHdrMessageVerb function in os/log.c in X.Org X11 1.11 allows attackers to cause a denial of service or possibly execute arbitrary code via format string specifiers in an input device name.","state":"PUBLISHED","assigner":"redhat","published_at":"2012-05-18 22:55:03","updated_at":"2026-04-29 01:13:23"},"problem_types":["CWE-20","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"10","severity":"","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:C/I:C/A:C","baseScore":10,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"}}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2012/04/19/2","name":"http://www.openwall.com/lists/oss-security/2012/04/19/2","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"oss-security - Re: CVE request: Xorg input device format string flaw","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/53150","name":"http://www.securityfocus.com/bid/53150","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"X.Org Input Device Format String Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://www.openwall.com/lists/oss-security/2012/04/18/8","name":"http://www.openwall.com/lists/oss-security/2012/04/18/8","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"oss-security - CVE request: Xorg input device format string flaw","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://patchwork.freedesktop.org/patch/10001/","name":"http://patchwork.freedesktop.org/patch/10001/","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"[4/4] os/log: refactor logging - Patchwork","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/74930","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/74930","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-2118","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-2118","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":"2012","cve_id":"2118","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"x.org","cpe5":"x11","cpe6":"1.11","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-06T19:26:08.431Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"53150","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/53150"},{"name":"xorg-input-device-format-string(74930)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/74930"},{"tags":["x_refsource_MISC","x_transferred"],"url":"http://patchwork.freedesktop.org/patch/10001/"},{"name":"[oss-security] 20120418 Re: CVE request: Xorg input device format string flaw","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://www.openwall.com/lists/oss-security/2012/04/19/2"},{"name":"[oss-security] 20120418 CVE request: Xorg input device format string flaw","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://www.openwall.com/lists/oss-security/2012/04/18/8"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2012-04-18T00:00:00.000Z","descriptions":[{"lang":"en","value":"Format string vulnerability in the LogVHdrMessageVerb function in os/log.c in X.Org X11 1.11 allows attackers to cause a denial of service or possibly execute arbitrary code via format string specifiers in an input device name."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-08-28T12:57:01.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","shortName":"redhat"},"references":[{"name":"53150","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/53150"},{"name":"xorg-input-device-format-string(74930)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/74930"},{"tags":["x_refsource_MISC"],"url":"http://patchwork.freedesktop.org/patch/10001/"},{"name":"[oss-security] 20120418 Re: CVE request: Xorg input device format string flaw","tags":["mailing-list","x_refsource_MLIST"],"url":"http://www.openwall.com/lists/oss-security/2012/04/19/2"},{"name":"[oss-security] 20120418 CVE request: Xorg input device format string flaw","tags":["mailing-list","x_refsource_MLIST"],"url":"http://www.openwall.com/lists/oss-security/2012/04/18/8"}]}},"cveMetadata":{"assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","assignerShortName":"redhat","cveId":"CVE-2012-2118","datePublished":"2012-05-18T22:00:00.000Z","dateReserved":"2012-04-04T00:00:00.000Z","dateUpdated":"2024-08-06T19:26:08.431Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2012-05-18 22:55:03","lastModifiedDate":"2026-04-29 01:13:23","problem_types":["CWE-20","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:C/I:C/A:C","baseScore":10,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"},"baseSeverity":"HIGH","exploitabilityScore":10,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:x.org:x11:1.11:*:*:*:*:*:*:*","matchCriteriaId":"3F2CAB6B-770B-467A-9C24-2A26E189A6D0"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2012","CveId":"2118","Ordinal":"1","Title":"CVE-2012-2118","CVE":"CVE-2012-2118","Year":"2012"},"notes":[{"CveYear":"2012","CveId":"2118","Ordinal":"1","NoteData":"Format string vulnerability in the LogVHdrMessageVerb function in os/log.c in X.Org X11 1.11 allows attackers to cause a denial of service or possibly execute arbitrary code via format string specifiers in an input device name.","Type":"Description","Title":"CVE-2012-2118"},{"CveYear":"2012","CveId":"2118","Ordinal":"2","NoteData":"2012-05-18","Type":"Other","Title":"Published"},{"CveYear":"2012","CveId":"2118","Ordinal":"3","NoteData":"2017-08-28","Type":"Other","Title":"Modified"}]}}}