
CVE catalog
CVE-2012-6711
bash: CVE-2012-6711
- Severity
- High · CVSS 7
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.53% · Oct 25, 2026
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().
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | bash | sid | 5.3-4 | fixed |
| Debian | bash | forky | 5.3-4 | fixed |
| Debian | bash | trixie | 5.2.37-2 | fixed |
| Debian | bash | bookworm | 5.2.15-2 | fixed |
| Suse | bash | linux enterprise server for sap applications 12 sp1 | 4.2-83.6.1 | fixed |
| Suse | bash | linux enterprise server 12 sp1-ltss | 4.2-83.6.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | bash | source | sid | 4.3-1 | not yet assigned | Not reported | Not reported |
| Debian | bash | source | forky | 4.3-1 | not yet assigned | Not reported | Not reported |
| Debian | bash | source | trixie | 4.3-1 | not yet assigned | Not reported | Not reported |
| Debian | bash | source | bookworm | 4.3-1 | not yet assigned | Not reported | Not reported |
| Suse | bash | rpm | linux enterprise server for sap applications 12 sp1 | 4.2-83.6.1 | Not reported | SUSE-SU-2019:2976-1 | Not reported |
| Suse | bash | rpm | linux enterprise server 12 sp1-ltss | 4.2-83.6.1 | Not reported | SUSE-SU-2019:2976-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [bash]Fixed
Source package: [bash]
Details (2)
5.2.15-2+b13· amd64 · bookwormFixed · Fixed:
4.3-1dsa · bash · debian · bookworm; dsa · bash · debian · 12
5.2.15-2+b13· arm64 · bookwormFixed · Fixed:
4.3-1dsa · bash · debian · bookworm; dsa · bash · debian · 12
- [bash-builtins]Fixed
Source package: [bash]
Details (2)
5.2.15-2+b13· amd64 · bookwormFixed · Fixed:
4.3-1dsa · bash · debian · bookworm; dsa · bash · debian · 12
5.2.15-2+b13· arm64 · bookwormFixed · Fixed:
4.3-1dsa · bash · debian · bookworm; dsa · bash · debian · 12
- [bash-doc]Fixed
Source package: [bash]
Details (2)
5.2.15-2· all · bookwormFixed · Fixed:
4.3-1dsa · bash · debian · bookworm; dsa · bash · debian · 12
5.2.15-2· all · bookwormFixed · Fixed:
4.3-1dsa · bash · debian · bookworm; dsa · bash · debian · 12
- [bash-static]Fixed
Source package: [bash]
Details (2)
5.2.15-2+b13· amd64 · bookwormFixed · Fixed:
4.3-1dsa · bash · debian · bookworm; dsa · bash · debian · 12
5.2.15-2+b13· arm64 · bookwormFixed · Fixed:
4.3-1dsa · bash · debian · bookworm; dsa · bash · debian · 12
[Debian 13 (Trixie)]
- [bash]Fixed
Source package: [bash]
Details (2)
5.2.37-2+b9· amd64 · trixieFixed · Fixed:
4.3-1dsa · bash · debian · 13
5.2.37-2+b9· arm64 · trixieFixed · Fixed:
4.3-1dsa · bash · debian · 13
- [bash-builtins]Fixed
Source package: [bash]
Details (2)
5.2.37-2+b9· amd64 · trixieFixed · Fixed:
4.3-1dsa · bash · debian · 13
5.2.37-2+b9· arm64 · trixieFixed · Fixed:
4.3-1dsa · bash · debian · 13
- [bash-doc]Fixed
Source package: [bash]
Details (2)
5.2.37-2· all · trixieFixed · Fixed:
4.3-1dsa · bash · debian · 13
5.2.37-2· all · trixieFixed · Fixed:
4.3-1dsa · bash · debian · 13
- [bash-static]Fixed
Source package: [bash]
Details (2)
5.2.37-2+b9· amd64 · trixieFixed · Fixed:
4.3-1dsa · bash · debian · 13
5.2.37-2+b9· arm64 · trixieFixed · Fixed:
4.3-1dsa · bash · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2019_2976-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2012-6711]
- [https://osv.dev/vulnerability/SUSE-SU-2019:2976-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2012-6711]
- [https://security-tracker.debian.org/tracker/CVE-2012-6711]
- [https://security.access.redhat.com/data/csaf/v2/vex/2012/cve-2012-6711.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]