Home / Gnu / Bash / CVE-2012-6711
CVE-2012-6711: is it exploited, and which versions of Gnu Bash are affected and fixed?
CVE-2012-6711 is a memory corruption (buffer overflow) vulnerability in Gnu Bash. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 06:38 UTC). Affected: bash from 4.2 through 4.3 and enterprise linux 7.0 (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.0, CVSS 3.0, from mitre).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 06:38 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:22 UTC.
What is CVE-2012-6711?
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().
From the CVE record by mitre, last updated August 6, 2024, 21:36 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| gnu | bash | from 4.2 through 4.3 | application |
| redhat | enterprise linux | 7.0 | operating system |
NVD analysis (status Modified), last modified June 16, 2026, 23:48 UTC.
How severe is CVE-2012-6711?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.0 | CVSS 3.0 | CVSS:3.0/AC:H/AV:L/A:H/C:H/I:H/PR:L/S:U/UI:N | mitre |
| High 7.8 | CVSS 3.0 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
| Medium 4.6 | CVSS 2.0 | AV:L/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2012-6711 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.53% probability of exploitation activity in the next 30 days, percentile 46.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Where are the vendor advisories and references?
- https://bugzilla.redhat.com/show_bug.cgi?id=1721071 x_refsource_MISC
- http://git.savannah.gnu.org/cgit/bash.git/commit/?h=devel&id=863d31ae775d56b785dc5b0105b6d251515d81d5 x_refsource_MISC
- 108824 vdb-entry, x_refsource_BID
- https://support.f5.com/csp/article/K05122252 x_refsource_CONFIRM
- https://support.f5.com/csp/article/K05122252?utm_source=f5support&%3Butm_medium=RSS x_refsource_CONFIRM
- USN-4180-1 vendor-advisory, x_refsource_UBUNTU
When was it published, and where is the official record?
- Reserved
- June 18, 2019
- Published
- June 18, 2019, 17:34 UTC
- CVE record updated
- August 6, 2024, 21:36 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 23:48 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:22 UTC; KEV December 3, 2026, 06:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Bash?
- Sep 30, 2014CVE-2014-6278 Gnu Bash: OS command injection exploited
- Sep 25, 2014CVE-2014-7169 Gnu Bash: OS command injection exploited
- Sep 24, 2014CVE-2014-6271 Gnu Bash: OS command injection exploited
- Nov 28, 2019CVE-2019-18276 Gnu Bash: privilege escalation
- Mar 22, 2019CVE-2019-9924 Gnu Bash: missing authorization
- Aug 28, 2017CVE-2016-0634 Gnu Bash: OS command injection
- Mar 27, 2017CVE-2017-5932 Gnu Bash: improper input validation
- Jan 23, 2017CVE-2016-9401 Gnu Bash: use after free
Questions about CVE-2012-6711
Is CVE-2012-6711 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 06:38 UTC. FIRST's EPSS gives it a 0.53% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Gnu Bash are affected by CVE-2012-6711?
bash from 4.2 through 4.3 and enterprise linux 7.0, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2012-6711?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2012-6711?
High (7.0, CVSS 3.0, from mitre). The severity table above shows each score with its source.
Where is the official record of CVE-2012-6711?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.