{"api_version":"1","generated_at":"2026-07-23T08:09:17+00:00","cve":"CVE-2012-6711","urls":{"html":"https://cve.report/CVE-2012-6711","api":"https://cve.report/api/cve/CVE-2012-6711.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2012-6711","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2012-6711"},"summary":{"title":"CVE-2012-6711","description":"A heap-based buffer overflow exists in GNU Bash before 4.3 when wide characters, not supported by the current locale set in the LC_CTYPE environment variable, are printed through the echo built-in function. A local attacker, who can provide data to print through the \"echo -e\" built-in function, may use this flaw to crash a script or execute code with the privileges of the bash process. This occurs because ansicstr() in lib/sh/strtrans.c mishandles u32cconv().","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2019-06-18 18:15:00","updated_at":"2023-11-07 02:13:00"},"problem_types":["CWE-119"],"metrics":[],"references":[{"url":"https://usn.ubuntu.com/4180-1/","name":"USN-4180-1","refsource":"UBUNTU","tags":[],"title":"USN-4180-1: Bash vulnerability | Ubuntu security notices | Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/108824","name":"108824","refsource":"BID","tags":[],"title":"Malformed Request","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://support.f5.com/csp/article/K05122252?utm_source=f5support&amp;utm_medium=RSS","name":"https://support.f5.com/csp/article/K05122252?utm_source=f5support&amp;utm_medium=RSS","refsource":"CONFIRM","tags":[],"title":"","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://support.f5.com/csp/article/K05122252","name":"https://support.f5.com/csp/article/K05122252","refsource":"CONFIRM","tags":[],"title":"","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1721071","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1721071","refsource":"MISC","tags":["Issue Tracking","Third Party Advisory"],"title":"1721071 – (CVE-2012-6711) CVE-2012-6711 bash: heap-based buffer overflow during echo of unsupported characters","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://support.f5.com/csp/article/K05122252?utm_source=f5support&amp%3Butm_medium=RSS","name":"https://support.f5.com/csp/article/K05122252?utm_source=f5support&amp%3Butm_medium=RSS","refsource":"","tags":[],"title":"myF5","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"http://git.savannah.gnu.org/cgit/bash.git/commit/?h=devel&id=863d31ae775d56b785dc5b0105b6d251515d81d5","name":"http://git.savannah.gnu.org/cgit/bash.git/commit/?h=devel&id=863d31ae775d56b785dc5b0105b6d251515d81d5","refsource":"MISC","tags":["Mailing List","Patch","Third Party Advisory"],"title":"bash.git - bash","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-6711","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-6711","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2012","cve_id":"6711","vulnerable":"1","versionEndIncluding":"4.3","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gnu","cpe5":"bash","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"6711","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"7.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"6711","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"7.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2012-6711","qid":"376568","title":"F5 BIG-IP Application Security Manager (ASM), Local Traffic Manager (LTM), Access Policy Manager (APM) Bash Vulnerability (K05122252)"},{"cve":"CVE-2012-6711","qid":"670365","title":"EulerOS Security Update for bash (EulerOS-SA-2021-1765)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2012-6711","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":"A heap-based buffer overflow exists in GNU Bash before 4.3 when wide characters, not supported by the current locale set in the LC_CTYPE environment variable, are printed through the echo built-in function. A local attacker, who can provide data to print through the \"echo -e\" built-in function, may use this flaw to crash a script or execute code with the privileges of the bash process. This occurs because ansicstr() in lib/sh/strtrans.c mishandles u32cconv()."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1721071","refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1721071"},{"url":"http://git.savannah.gnu.org/cgit/bash.git/commit/?h=devel&id=863d31ae775d56b785dc5b0105b6d251515d81d5","refsource":"MISC","name":"http://git.savannah.gnu.org/cgit/bash.git/commit/?h=devel&id=863d31ae775d56b785dc5b0105b6d251515d81d5"},{"refsource":"BID","name":"108824","url":"http://www.securityfocus.com/bid/108824"},{"refsource":"CONFIRM","name":"https://support.f5.com/csp/article/K05122252","url":"https://support.f5.com/csp/article/K05122252"},{"refsource":"CONFIRM","name":"https://support.f5.com/csp/article/K05122252?utm_source=f5support&amp;utm_medium=RSS","url":"https://support.f5.com/csp/article/K05122252?utm_source=f5support&amp;utm_medium=RSS"},{"refsource":"UBUNTU","name":"USN-4180-1","url":"https://usn.ubuntu.com/4180-1/"}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AC:H/AV:L/A:H/C:H/I:H/PR:L/S:U/UI:N","version":"3.0"}}},"nvd":{"publishedDate":"2019-06-18 18:15:00","lastModifiedDate":"2023-11-07 02:13:00","problem_types":["CWE-119"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:P/I:P/A:P","accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":4.6},"severity":"MEDIUM","exploitabilityScore":3.9,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:gnu:bash:*:*:*:*:*:*:*:*","versionStartIncluding":"4.2","versionEndIncluding":"4.3","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2012","CveId":"6711","Ordinal":"151223","Title":"CVE-2012-6711","CVE":"CVE-2012-6711","Year":"2012"},"notes":[{"CveYear":"2012","CveId":"6711","Ordinal":"1","NoteData":"A heap-based buffer overflow exists in GNU Bash before 4.3 when wide characters, not supported by the current locale set in the LC_CTYPE environment variable, are printed through the echo built-in function. A local attacker, who can provide data to print through the \"echo -e\" built-in function, may use this flaw to crash a script or execute code with the privileges of the bash process. This occurs because ansicstr() in lib/sh/strtrans.c mishandles u32cconv().","Type":"Description","Title":null},{"CveYear":"2012","CveId":"6711","Ordinal":"2","NoteData":"2019-06-18","Type":"Other","Title":"Published"},{"CveYear":"2012","CveId":"6711","Ordinal":"3","NoteData":"2019-11-11","Type":"Other","Title":"Modified"}]}}}