CVE-2012-6711: gnu bash
Vulnerability summary
CVE-2012-6711 is a high (CVSS 7.8) vulnerability in gnu bash. EPSS estimates a 0.53% chance of exploitation in the next 30 days, higher than 43.6% of scored vulnerabilities.
Timeline
- 18-06-2019PublishedVulnerability first disclosed.
- 06-08-2024Last modifiedVulnerability information updated.
Description
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().
CVSS metrics
5 scores · 4 sources · 2 versions- CVE.orgCNA7.0HighCVSS:3.0/AC:H/AV:L/A:H/C:H/I:H/PR:L/S:U/UI:NDiffers
- OSV · UbuntuEcosystem advisory · calculated7.0HighCVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.53%
Chance of exploitation in the next 30 days
Percentile
44%
Versus all other CVEs
30-day change
+0.02 pp
From 0.51% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Suse2 products
- bash&distro=SUSE Linux Enterprise Server 12 SP1-LTSS< 4.2-83.6.1
- bash&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP1< 4.2-83.6.1
Debian1 product
- bash< 4.3-1
Gnu1 product
- bash≥ 4.2, ≤ 4.3
Redhat1 product
- enterprise_linuxEOL7.0
Ubuntu1 product
- bash< 4.3-14ubuntu1.3 | < 4.4.18-2ubuntu1.1
5 vendors · 6 products
References
13 links- git.savannah.gnu.org/cgit/bash.git/commit/?h=devel&id=863d31ae775d56b785dc5b0105b6d251515d81d5X Refsource MISCMailing ListPatchThird Party Advisory
- support.f5.com/csp/article/K05122252X Refsource CONFIRM