{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "1.8.0"
              },
              {
                "fixed": "1.9.12"
              },
              {
                "introduced": "0"
              },
              {
                "last_affected": "1.9.12-NA"
              }
            ]
          },
          "events": [
            {
              "introduced": "4333b06914558093a327ee445699c479a57933a4"
            },
            {
              "fixed": "c684bf08307b3270a62f2130bafb37c36aa3c99e"
            },
            {
              "introduced": "0"
            },
            {
              "last_affected": "c684bf08307b3270a62f2130bafb37c36aa3c99e"
            }
          ],
          "repo": "https://github.com/millert/sudo",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "bd209b9f16fcd1270c13db27ae3329c677d48050"
            }
          ],
          "repo": "https://github.com/sudo-project/sudo",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "Sudo 1.8.0 through 1.9.12, with the crypt() password backend, contains a plugins/sudoers/auth/passwd.c array-out-of-bounds error that can result in a heap-based buffer over-read. This can be triggered by arbitrary local users with access to Sudo by entering a password of seven characters or fewer. The impact could vary depending on the system libraries, compiler, and processor architecture.",
  "id": "CVE-2022-43995",
  "modified": "2026-03-15T13:47:04.462199301Z",
  "published": "2022-11-02T14:15:16.187Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://news.ycombinator.com/item?id=33465707"
    },
    {
      "type": "ADVISORY",
      "url": "https://security.gentoo.org/glsa/202211-08"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.sudo.ws/security/advisories/"
    },
    {
      "type": "REPORT",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2139911"
    },
    {
      "type": "FIX",
      "url": "https://github.com/sudo-project/sudo/commit/bd209b9f16fcd1270c13db27ae3329c677d48050"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}