{"api_version":"1","generated_at":"2026-04-23T09:53:13+00:00","cve":"CVE-2022-43995","urls":{"html":"https://cve.report/CVE-2022-43995","api":"https://cve.report/api/cve/CVE-2022-43995.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-43995","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-43995"},"summary":{"title":"CVE-2022-43995","description":"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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2022-11-02 14:15:00","updated_at":"2022-12-06 00:15:00"},"problem_types":["CWE-125"],"metrics":[],"references":[{"url":"https://www.sudo.ws/security/advisories/","name":"https://www.sudo.ws/security/advisories/","refsource":"MISC","tags":[],"title":"Security Advisories | Sudo","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.gentoo.org/glsa/202211-08","name":"GLSA-202211-08","refsource":"GENTOO","tags":[],"title":"sudo: Heap-Based Buffer Overread (GLSA 202211-08) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2139911","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2139911","refsource":"MISC","tags":[],"title":"2139911 – (CVE-2022-43995) CVE-2022-43995 sudo: heap-based overflow with very small passwords","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://news.ycombinator.com/item?id=33465707","name":"https://news.ycombinator.com/item?id=33465707","refsource":"MISC","tags":[],"title":"Sudo: Heap-based overflow with small passwords | Hacker News","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/sudo-project/sudo/commit/bd209b9f16fcd1270c13db27ae3329c677d48050","name":"https://github.com/sudo-project/sudo/commit/bd209b9f16fcd1270c13db27ae3329c677d48050","refsource":"MISC","tags":[],"title":"Fix CVE-2022-43995, potential heap overflow for passwords < 8 charact… · sudo-project/sudo@bd209b9 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-43995","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-43995","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"43995","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"sudo_project","cpe5":"sudo","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"43995","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"sudo_project","cpe5":"sudo","cpe6":"1.9.12","cpe7":"-","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"43995","vulnerable":"1","versionEndIncluding":"1.9.12","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"sudo_project","cpe5":"sudo","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-43995","qid":"182565","title":"Debian Security Update for sudo (CVE-2022-43995)"},{"cve":"CVE-2022-43995","qid":"355189","title":"Amazon Linux Security Advisory for sudo : ALAS2023-2023-106"},{"cve":"CVE-2022-43995","qid":"502640","title":"Alpine Linux Security Update for sudo"},{"cve":"CVE-2022-43995","qid":"672490","title":"EulerOS Security Update for sudo (EulerOS-SA-2023-1047)"},{"cve":"CVE-2022-43995","qid":"672507","title":"EulerOS Security Update for sudo (EulerOS-SA-2023-1022)"},{"cve":"CVE-2022-43995","qid":"672551","title":"EulerOS Security Update for sudo (EulerOS-SA-2023-1137)"},{"cve":"CVE-2022-43995","qid":"672553","title":"EulerOS Security Update for sudo (EulerOS-SA-2023-1113)"},{"cve":"CVE-2022-43995","qid":"672608","title":"EulerOS Security Update for sudo (EulerOS-SA-2023-1337)"},{"cve":"CVE-2022-43995","qid":"672623","title":"EulerOS Security Update for sudo (EulerOS-SA-2023-1400)"},{"cve":"CVE-2022-43995","qid":"672646","title":"EulerOS Security Update for sudo (EulerOS-SA-2023-1372)"},{"cve":"CVE-2022-43995","qid":"672764","title":"EulerOS Security Update for sudo (EulerOS-SA-2023-1516)"},{"cve":"CVE-2022-43995","qid":"690976","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for sudo (3310014a-5ef9-11ed-812b-206a8a720317)"},{"cve":"CVE-2022-43995","qid":"710681","title":"Gentoo Linux sudo Heap-Based Buffer Overread Vulnerability (GLSA 202211-08)"},{"cve":"CVE-2022-43995","qid":"752784","title":"SUSE Enterprise Linux Security Update for sudo (SUSE-SU-2022:3938-1)"},{"cve":"CVE-2022-43995","qid":"752805","title":"SUSE Enterprise Linux Security Update for sudo (SUSE-SU-2022:4001-1)"},{"cve":"CVE-2022-43995","qid":"752856","title":"SUSE Enterprise Linux Security Update for sudo (SUSE-SU-2022:4240-1)"},{"cve":"CVE-2022-43995","qid":"752928","title":"SUSE Enterprise Linux Security Update for sudo (SUSE-SU-2022:4077-1)"},{"cve":"CVE-2022-43995","qid":"752942","title":"SUSE Enterprise Linux Security Update for sudo (SUSE-SU-2022:4280-1)"},{"cve":"CVE-2022-43995","qid":"904438","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for sudo (11423)"},{"cve":"CVE-2022-43995","qid":"904471","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for sudo (11400)"},{"cve":"CVE-2022-43995","qid":"904534","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for sudo (11423-1)"},{"cve":"CVE-2022-43995","qid":"904586","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for sudo (11400-1)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2022-43995","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://www.sudo.ws/security/advisories/","refsource":"MISC","name":"https://www.sudo.ws/security/advisories/"},{"refsource":"MISC","name":"https://github.com/sudo-project/sudo/commit/bd209b9f16fcd1270c13db27ae3329c677d48050","url":"https://github.com/sudo-project/sudo/commit/bd209b9f16fcd1270c13db27ae3329c677d48050"},{"refsource":"MISC","name":"https://news.ycombinator.com/item?id=33465707","url":"https://news.ycombinator.com/item?id=33465707"},{"refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2139911","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2139911"},{"refsource":"GENTOO","name":"GLSA-202211-08","url":"https://security.gentoo.org/glsa/202211-08"}]}},"nvd":{"publishedDate":"2022-11-02 14:15:00","lastModifiedDate":"2022-12-06 00:15:00","problem_types":["CWE-125"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.1,"baseSeverity":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.2}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:sudo_project:sudo:1.9.12:-:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:*","versionStartIncluding":"1.8.0","versionEndExcluding":"1.9.12","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}