CVE-2012-6711
HIGHGNU Bash < 4.3 - Heap-Based Buffer Overflow via echo -e Built-in Function
Title source: llmDescription
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().
References (6)
Core 6
Core References
Issue Tracking, Third Party Advisory x_refsource_misc
https://bugzilla.redhat.com/show_bug.cgi?id=1721071
Mailing List, Patch, Third Party Advisory x_refsource_misc
http://git.savannah.gnu.org/cgit/bash.git/commit/?h=devel&id=863d31ae775d56b785dc5b0105b6d251515d81d5
Third Party Advisory, VDB Entry vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/108824
Vendor Advisory x_refsource_confirm
https://support.f5.com/csp/article/K05122252
Vendor Advisory x_refsource_confirm
https://support.f5.com/csp/article/K05122252?utm_source=f5support&%3Butm_medium=RSS
Vendor Advisory vendor-advisory
x_refsource_ubuntu
https://usn.ubuntu.com/4180-1/
Scores
CVSS v3
7.0
EPSS
0.0007
EPSS Percentile
20.7%
Attack Vector
LOCAL
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-119
Status
published
Products (2)
gnu/bash
4.2 - 4.3
redhat/enterprise_linux
7.0
Published
Jun 18, 2019
Tracked Since
Feb 18, 2026