Vulnerabilities · 2012 · Gnu
CVE-2012-6711
Gnu Bash vulnerability
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().
Affected products
Bash, Enterprise Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Gnu Bash runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.savannah.gnu.org/cgit/bash.git/commit/?h=devel&id=863d31ae775d56b785dc5b0105b6d251515d · Patch
- bugzilla.redhat.com/show_bug.cgi?id=1721071 · Third Party Advisory
- www.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/
- nvd.nist.gov/vuln/detail/CVE-2012-6711
- cve.org/CVERecord?id=CVE-2012-6711
More vulnerabilities in Gnu products
CVE-2026-24061CVE-2026-0915CVE-2026-0861CVE-2025-66866CVE-2025-66865CVE-2025-66864CVE-2025-66863CVE-2025-66862All 1,147
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.