CVE-2019-18634
HIGH 7.8EPSS 19.3%
In Sudo before 1.8.26, if pwfeedback is enabled in /etc/sudoers, users can trigger a stack-based buffer overflow in the privileged sudo process. (pwfeedback is a default setting in Linux Mint and elementary OS; however, it is NOT the default for upstream and many other packages, and would exist only if enabled by an administrator.) The attacker needs to deliver a long string to the stdin of getln() in tgetpass.c.
- CVSS v3.1 NVD
- 7.8 HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS v2.0 NVD
- 4.6 MEDIUM
AV:L/AC:L/Au:N/C:P/I:P/A:P - EPSS
- 19.28% chance of exploitation in the next 30 days, 97th percentile
- Published
- 2020-01-29
- Updated
- 2024-08-05
Proof-of-concept exploits (15)
- DDayLuong/CVE-2019-186340★ · 2023-12-27
- N1et/CVE-2019-186342★ · 2021-08-11
- Plazmaz/CVE-2019-1863459★ · 2020-02-19
- TheJoyOfHacking/saleemrashid-sudo-cve-2019-186340★ · 2022-03-20
- aesophor/CVE-2019-186345★ · 2021-08-14
- chanbakjsd/CVE-2019-186343★ · 2024-04-14
- edsonjt81/sudo-cve-2019-186340★ · 2021-04-25
- l0w3/CVE-2019-186340★ · 2024-12-13
- lockedbyte/CVE-Exploits690★ · 2021-08-21
- ngyinkit/cve-2019-186340★ · 2025-04-12
- paras1te-x/CVE-2019-186340★ · 2021-05-05
- ptef/CVE-2019-186341★ · 2022-11-07
- saleemrashid/sudo-cve-2019-18634238★ · 2021-09-12
- dukptkey/CVE-2019-186341★ · 2022-11-07
- letsr00t/-CVE-2019-18634-sudo-pwfeedback0★ · 2025-11-08
ExploitDB entries (2)
Exploit collections (1)
- CVE-2019-18634helloexp/0day
Security advisories
- https://www.sudo.ws/alerts/pwfeedback.html
- https://www.sudo.ws/security.html
- http://packetstormsecurity.com/files/156174/Slackware-Security-Advisory-sudo-Updates.html
- http://packetstormsecurity.com/files/156189/Sudo-1.8.25p-Buffer-Overflow.html
- http://seclists.org/fulldisclosure/2020/Jan/40
- http://www.openwall.com/lists/oss-security/2020/01/30/6
- http://www.openwall.com/lists/oss-security/2020/01/31/1
- http://www.openwall.com/lists/oss-security/2020/02/05/2
- http://www.openwall.com/lists/oss-security/2020/02/05/5
- https://lists.debian.org/debian-lts-announce/2020/02/msg00002.html
- https://seclists.org/bugtraq/2020/Feb/2
- https://seclists.org/bugtraq/2020/Feb/3
- https://seclists.org/bugtraq/2020/Jan/44
- https://support.apple.com/kb/HT210919
- https://www.debian.org/security/2020/dsa-4614
- https://usn.ubuntu.com/4263-1
- https://usn.ubuntu.com/4263-2