CVE catalog

CVE-2012-6711

bash: CVE-2012-6711

[CVE catalog]

Severity
High · CVSS 7CVSS: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.

DistributionPackageReleaseVersionStatus
Debianbashsid5.3-4fixed
Debianbashforky5.3-4fixed
Debianbashtrixie5.2.37-2fixed
Debianbashbookworm5.2.15-2fixed
Susebashlinux enterprise server for sap applications 12 sp14.2-83.6.1fixed
Susebashlinux enterprise server 12 sp1-ltss4.2-83.6.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianbashsourcesid4.3-1not yet assignedNot reportedNot reported
Debianbashsourceforky4.3-1not yet assignedNot reportedNot reported
Debianbashsourcetrixie4.3-1not yet assignedNot reportedNot reported
Debianbashsourcebookworm4.3-1not yet assignedNot reportedNot reported
Susebashrpmlinux enterprise server for sap applications 12 sp14.2-83.6.1Not reportedSUSE-SU-2019:2976-1Not reported
Susebashrpmlinux enterprise server 12 sp1-ltss4.2-83.6.1Not reportedSUSE-SU-2019:2976-1Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [bash]Fixed

    Source package: [bash]

    Details (2)
    • 5.2.15-2+b13 · amd64 · bookworm

      Fixed · Fixed: 4.3-1

      dsa · bash · debian · bookworm; dsa · bash · debian · 12

    • 5.2.15-2+b13 · arm64 · bookworm

      Fixed · Fixed: 4.3-1

      dsa · bash · debian · bookworm; dsa · bash · debian · 12

  • Source package: [bash]

    Details (2)
    • 5.2.15-2+b13 · amd64 · bookworm

      Fixed · Fixed: 4.3-1

      dsa · bash · debian · bookworm; dsa · bash · debian · 12

    • 5.2.15-2+b13 · arm64 · bookworm

      Fixed · Fixed: 4.3-1

      dsa · bash · debian · bookworm; dsa · bash · debian · 12

  • [bash-doc]Fixed

    Source package: [bash]

    Details (2)
    • 5.2.15-2 · all · bookworm

      Fixed · Fixed: 4.3-1

      dsa · bash · debian · bookworm; dsa · bash · debian · 12

    • 5.2.15-2 · all · bookworm

      Fixed · Fixed: 4.3-1

      dsa · bash · debian · bookworm; dsa · bash · debian · 12

  • Source package: [bash]

    Details (2)
    • 5.2.15-2+b13 · amd64 · bookworm

      Fixed · Fixed: 4.3-1

      dsa · bash · debian · bookworm; dsa · bash · debian · 12

    • 5.2.15-2+b13 · arm64 · bookworm

      Fixed · Fixed: 4.3-1

      dsa · bash · debian · bookworm; dsa · bash · debian · 12

[Debian 13 (Trixie)]

  • [bash]Fixed

    Source package: [bash]

    Details (2)
    • 5.2.37-2+b9 · amd64 · trixie

      Fixed · Fixed: 4.3-1

      dsa · bash · debian · 13

    • 5.2.37-2+b9 · arm64 · trixie

      Fixed · Fixed: 4.3-1

      dsa · bash · debian · 13

  • Source package: [bash]

    Details (2)
    • 5.2.37-2+b9 · amd64 · trixie

      Fixed · Fixed: 4.3-1

      dsa · bash · debian · 13

    • 5.2.37-2+b9 · arm64 · trixie

      Fixed · Fixed: 4.3-1

      dsa · bash · debian · 13

  • [bash-doc]Fixed

    Source package: [bash]

    Details (2)
    • 5.2.37-2 · all · trixie

      Fixed · Fixed: 4.3-1

      dsa · bash · debian · 13

    • 5.2.37-2 · all · trixie

      Fixed · Fixed: 4.3-1

      dsa · bash · debian · 13

  • Source package: [bash]

    Details (2)
    • 5.2.37-2+b9 · amd64 · trixie

      Fixed · Fixed: 4.3-1

      dsa · bash · debian · 13

    • 5.2.37-2+b9 · arm64 · trixie

      Fixed · Fixed: 4.3-1

      dsa · bash · debian · 13

Observed:

References