Search

Find a vulnerability

Search criteria ⓘ Use this form to refine search results.
Full-text search supports keyword queries with ranking and filtering.
You can combine vendor, product, and sources to narrow results.
Enable “Apply ordering” to sort by date instead of relevance.

    Related vulnerabilities

    UBUNTU-CVE-2012-6711 (CVE-2012-6711)

    Vulnerability from osv_ubuntu – Published: 2019-06-18 18:15 – Updated: 2025-07-16 04:50 – Source website
    Withdrawn 2025-07-18 VLAI
    Details

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

    Upstream
    Related
    Impacted products
    Ecosystem Package Version
    Ubuntu:16.04:LTS bash
    pkg:deb/ubuntu/bash@4.3-14ubuntu1.3?arch=source&distro=xenial
    Affected: < 4.3-14ubuntu1.3 (ecosystem)
    4.3-14ubuntu14.3-14ubuntu1.14.3-14ubuntu1.2
    Ubuntu:18.04:LTS bash
    pkg:deb/ubuntu/bash@4.4.18-2ubuntu1.1?arch=source&distro=bionic
    Affected: < 4.4.18-2ubuntu1.1 (ecosystem)
    4.4-5ubuntu14.4.18-1ubuntu14.4.18-2ubuntu1

    {
      "affected": [
        {
          "ecosystem_specific": {
            "availability": "No subscription required",
            "binaries": [
              {
                "binary_name": "bash",
                "binary_version": "4.3-14ubuntu1.3"
              },
              {
                "binary_name": "bash-builtins",
                "binary_version": "4.3-14ubuntu1.3"
              },
              {
                "binary_name": "bash-dbgsym",
                "binary_version": "4.3-14ubuntu1.3"
              },
              {
                "binary_name": "bash-doc",
                "binary_version": "4.3-14ubuntu1.3"
              },
              {
                "binary_name": "bash-static",
                "binary_version": "4.3-14ubuntu1.3"
              },
              {
                "binary_name": "bash-static-dbgsym",
                "binary_version": "4.3-14ubuntu1.3"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:16.04:LTS",
            "name": "bash",
            "purl": "pkg:deb/ubuntu/bash@4.3-14ubuntu1.3?arch=source\u0026distro=xenial"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.3-14ubuntu1.3"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "4.3-14ubuntu1",
            "4.3-14ubuntu1.1",
            "4.3-14ubuntu1.2"
          ]
        },
        {
          "ecosystem_specific": {
            "availability": "No subscription required",
            "binaries": [
              {
                "binary_name": "bash",
                "binary_version": "4.4.18-2ubuntu1.1"
              },
              {
                "binary_name": "bash-builtins",
                "binary_version": "4.4.18-2ubuntu1.1"
              },
              {
                "binary_name": "bash-builtins-dbgsym",
                "binary_version": "4.4.18-2ubuntu1.1"
              },
              {
                "binary_name": "bash-dbgsym",
                "binary_version": "4.4.18-2ubuntu1.1"
              },
              {
                "binary_name": "bash-doc",
                "binary_version": "4.4.18-2ubuntu1.1"
              },
              {
                "binary_name": "bash-static",
                "binary_version": "4.4.18-2ubuntu1.1"
              },
              {
                "binary_name": "bash-static-dbgsym",
                "binary_version": "4.4.18-2ubuntu1.1"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:18.04:LTS",
            "name": "bash",
            "purl": "pkg:deb/ubuntu/bash@4.4.18-2ubuntu1.1?arch=source\u0026distro=bionic"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.4.18-2ubuntu1.1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "4.4-5ubuntu1",
            "4.4.18-1ubuntu1",
            "4.4.18-2ubuntu1"
          ]
        }
      ],
      "aliases": [],
      "details": "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().",
      "id": "UBUNTU-CVE-2012-6711",
      "modified": "2025-07-16T04:50:11Z",
      "published": "2019-06-18T18:15:00Z",
      "references": [
        {
          "type": "REPORT",
          "url": "https://ubuntu.com/security/CVE-2012-6711"
        },
        {
          "type": "ADVISORY",
          "url": "https://ubuntu.com/security/notices/USN-4180-1"
        },
        {
          "type": "REPORT",
          "url": "https://www.cve.org/CVERecord?id=CVE-2012-6711"
        }
      ],
      "related": [
        "USN-4180-1"
      ],
      "schema_version": "1.7.0",
      "severity": [
        {
          "score": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
          "type": "CVSS_V3"
        },
        {
          "score": "CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
          "type": "CVSS_V3"
        },
        {
          "score": "medium",
          "type": "Ubuntu"
        }
      ],
      "upstream": [
        "CVE-2012-6711"
      ],
      "withdrawn": "2025-07-18T16:42:48Z"
    }