CVE-2012-6711
A heap-based buffer overflow exists in GNU Bash before 4.3 when wide characters, not supported by...
CVE-2012-6711 is a high vulnerability (CVSS 7.0) in Gnu Bash, published June 18, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.53%, the 44th percentile. Fixed in bash 4.3-1.
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().
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
7.0
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().
- Record
CVE-2012-6711- CVSS 3.0
- 7.0 High
CVSS:3.0/AC:H/AV:L/A:H/C:H/I:H/PR:L/S:U/UI:N - Updated
- 2026-11-02
EUVDEUVD-2012-6552
7.0
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().
- Record
EUVD-2012-6552- CVSS 3.0
- 7.0 High
CVSS:3.0/AC:H/AV:L/A:H/C:H/I:H/PR:L/S:U/UI:N - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-rwf6-27gf-7q62
7.8
A heap-based buffer overflow exists in GNU Bash before 4.3 when wide characters, not supported by...
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().
- Record
GHSA-rwf6-27gf-7q62- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-119
- Updated
- 2026-11-02
NVD
7.0
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().
- Record
CVE-2012-6711- CVSS 3.0
- 7.0 High
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 4.6 Medium
AV:L/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
OSVBELL-CVE-2012-6711
7.8
CVE-2012-6711 does not affect BellSoft software
- Record
BELL-CVE-2012-6711- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV
7.8
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().
- Record
CVE-2012-6711- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2012-6711
7.8
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().
- Record
DEBIAN-CVE-2012-6711- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2012-6711
7.8
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().
- Record
UBUNTU-CVE-2012-6711- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS 3.0
- 7.0 High
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVSUSE-SU-2019:2976-1 No score
Security update for bash
This update for bash fixes the following issues:
- CVE-2012-6711: Fixed a heap-based buffer overflow during echo of unsupported characters
(bsc#1138676).
- Record
SUSE-SU-2019:2976-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
bashDebian:12 |
before 4.3-1 | 4.3-1 |
bashDebian:13 |
before 4.3-1 | 4.3-1 |
bashDebian:14 |
before 4.3-1 | 4.3-1 |
bashSUSE:Linux Enterprise Server for SAP Applications 12 SP1 |
before 4.2-83.6.1 | 4.2-83.6.1 |
bashSUSE:Linux Enterprise Server 12 SP1-LTSS |
before 4.2-83.6.1 | 4.2-83.6.1 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | affected | |
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
bugzilla.redhat.com/show_bug.cgi?id=1721071
git.savannah.gnu.org/cgit/bash.git/commit?h=devel&id=863d31ae775d56b785dc5b0105b6d251515d81d5
securityfocus.com/bid/108824
support.f5.com/csp/article/K05122252
support.f5.com/csp/article/K05122252?utm_source=f5support&%3Butm_medium=RSS
usn.ubuntu.com/4180-1
Show 10 moreShow less
nvd.nist.gov/vuln/detail/CVE-2012-6711
github.com/advisories/GHSA-rwf6-27gf-7q62
docs.bell-sw.com/security/cves/CVE-2012-6711
security-tracker.debian.org/tracker/CVE-2012-6711
suse.com/support/update/announcement/2019/suse-su-20192976-1
bugzilla.suse.com/1138676
suse.com/security/cve/CVE-2012-6711
ubuntu.com/security/CVE-2012-6711
ubuntu.com/security/notices/USN-4180-1
cve.org/CVERecord?id=CVE-2012-6711