# CVE-2012-6711

- Priority: **Routine**
- Reason: Not severe (CVSS 7, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2019-06-18 · Modified: 2024-08-06
- Aliases: SUSE-SU-2019:2976-1, UBUNTU-CVE-2012-6711, DEBIAN-CVE-2012-6711
- Record: https://cvemate.com/vulnerability/CVE-2012-6711 · JSON: https://cvemate.com/vulnerability/CVE-2012-6711/json

## Description

```text
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().
```

## Signals

- CVSS: 7.8 high (v3.0, NVD) CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.531%, percentile 46.385%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian bash (Debian): \< 4.3-1
- ubuntu bash (Ubuntu): \< 4.3-14ubuntu1.3 \| \< 4.4.18-2ubuntu1.1
- gnu bash: ≥ 4.2, ≤ 4.3
- redhat enterprise\_linux: 7.0
- suse bash&distro=SUSE Linux Enterprise Server 12 SP1-LTSS (SUSE Linux Enterprise): \< 4.2-83.6.1
- suse bash&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP1 (SUSE Linux Enterprise): \< 4.2-83.6.1

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1721071>
- <http://git.savannah.gnu.org/cgit/bash.git/commit/?h=devel&id=863d31ae775d56b785dc5b0105b6d251515d81d5>
- <http://www.securityfocus.com/bid/108824>
- <https://support.f5.com/csp/article/K05122252>
- <https://support.f5.com/csp/article/K05122252?utm_source=f5support&amp%3Butm_medium=RSS>
- <https://usn.ubuntu.com/4180-1/>
- <https://www.suse.com/support/update/announcement/2019/suse-su-20192976-1/>
- <https://bugzilla.suse.com/1138676>
- <https://www.suse.com/security/cve/CVE-2012-6711>
- <https://ubuntu.com/security/CVE-2012-6711>
- <https://ubuntu.com/security/notices/USN-4180-1>
- <https://www.cve.org/CVERecord?id=CVE-2012-6711>
- <https://security-tracker.debian.org/tracker/CVE-2012-6711>

---

Data as of 2026-12-05T03:10:43.312Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
