← CVE index
Vulnerability record/PUBLISHED/Published Jun 18, 2019 17:34:08 UTC

CVE-2012-6711

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

Base score7.0/ 10
SeverityHighCVSS 3.0

Exploitability / impact

CVSS metric breakdown

Vector-derived attributes
Base severityHigh
Attack complexityHighAC
Attack vectorLocalAV
Availability impactHighA
Confidentiality impactHighC
Integrity impactHighI
Privileges requiredLowPR
ScopeUnchangedS
User interactionNoneUI
CVSS vector stringCVSS:3.0/AC:H/AV:L/A:H/C:H/I:H/PR:L/S:U/UI:N

CVSS communicates standardized severity and impact characteristics. It does not establish whether a system is exploitable in your specific environment.

Record context

CVE Numbering Authoritymitre
Last updatedAug 6, 2024 21:36:02 UTC
PublishedJun 18, 2019 17:34:08 UTC
ReservedJun 18, 2019 00:00:00 UTC