Security mailing lists by PureSourceCode

CVE-2012-6711

HIGH 7.8CVSS 3.0

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

Published
18 Jun 2019
Last modified
16 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-119
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 HIGH 7.8 CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD cve@mitre.org (Secondary) CVSS 3.0 HIGH 7.0 CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.6 AV:L/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD gnu bash
cpe:2.3:a:gnu:bash:*:*:*:*:*:*:*:*
>= 4.2, <= 4.3
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
= 7.0

References

History

  • 25 Nov 2026 20:22 UTC · NVD: first stored (published 18 Jun 2019)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.