{"id":"CVE-2019-18634","url":"https://www.cyber-defence.io/tools/cve/CVE-2019-18634","generatedAt":"2026-11-05T02:21:48.831Z","title":"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.","description":"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.","published":"2020-01-29T18:15:12.000Z","lastModified":"2026-06-17T02:25:12.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-787"],"affected":["sudo project/sudo","debian/debian linux"],"epss":{"score":0.19276,"percentile":0.97344,"date":"2026-11-03","history":[]},"kev":{"listed":false},"exploits":{"count":2,"verified":false,"firstPublished":"2020-02-04","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":48052,"kind":"exploit","title":"Sudo 1.8.25p - 'pwfeedback' Buffer Overflow","url":"https://www.exploit-db.com/exploits/48052","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/local/48052.sh","file":"exploits/linux/local/48052.sh","published":"2020-02-06","added":"2020-02-11","updated":"2020-08-20","author":"Dylan Katz","type":"local","platform":"linux","port":null,"verified":false,"codes":["CVE-2019-18634"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":"https://github.com/Plazmaz/CVE-2019-18634/blob/b348e738a83fd4180b3ec26ed216535547f3bb8a/self-contained.sh"},{"edbId":47995,"kind":"exploit","title":"Sudo 1.8.25p - 'pwfeedback' Buffer Overflow (PoC)","url":"https://www.exploit-db.com/exploits/47995","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/dos/47995.txt","file":"exploits/linux/dos/47995.txt","published":"2020-02-04","added":"2020-02-04","updated":"2020-02-11","author":"Joe Vennix","type":"dos","platform":"linux","port":null,"verified":false,"codes":["CVE-2019-18634"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":null}]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 19.3%, higher than 97% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00029.html","source":"cve@mitre.org"},{"url":"http://packetstormsecurity.com/files/156174/Slackware-Security-Advisory-sudo-Updates.html","tags":["Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"http://packetstormsecurity.com/files/156189/Sudo-1.8.25p-Buffer-Overflow.html","tags":["Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"http://seclists.org/fulldisclosure/2020/Jan/40","tags":["Mailing List","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"http://www.openwall.com/lists/oss-security/2020/01/30/6","tags":["Mailing List","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"http://www.openwall.com/lists/oss-security/2020/01/31/1","tags":["Mailing List","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"http://www.openwall.com/lists/oss-security/2020/02/05/2","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"http://www.openwall.com/lists/oss-security/2020/02/05/5","tags":["Exploit","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://access.redhat.com/errata/RHSA-2020:0487","source":"cve@mitre.org"},{"url":"https://access.redhat.com/errata/RHSA-2020:0509","source":"cve@mitre.org"},{"url":"https://access.redhat.com/errata/RHSA-2020:0540","source":"cve@mitre.org"},{"url":"https://access.redhat.com/errata/RHSA-2020:0726","source":"cve@mitre.org"},{"url":"https://lists.debian.org/debian-lts-announce/2020/02/msg00002.html","tags":["Mailing List","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I6TKF36KOQUVJNBHSVJFA7BU3CCEYD2F/","source":"cve@mitre.org"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IY6DZ7WMDKU4ZDML6MJLDAPG42B5WVUC/","source":"cve@mitre.org"},{"url":"https://seclists.org/bugtraq/2020/Feb/2","tags":["Mailing List","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://seclists.org/bugtraq/2020/Feb/3","tags":["Mailing List","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://seclists.org/bugtraq/2020/Jan/44","tags":["Mailing List","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://security.gentoo.org/glsa/202003-12","source":"cve@mitre.org"},{"url":"https://security.netapp.com/advisory/ntap-20200210-0001/","source":"cve@mitre.org"},{"url":"https://support.apple.com/kb/HT210919","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://usn.ubuntu.com/4263-1/","source":"cve@mitre.org"},{"url":"https://usn.ubuntu.com/4263-2/","source":"cve@mitre.org"},{"url":"https://www.debian.org/security/2020/dsa-4614","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://www.sudo.ws/alerts/pwfeedback.html","tags":["Exploit","Vendor Advisory"],"source":"cve@mitre.org"},{"url":"https://www.sudo.ws/security.html","tags":["Vendor Advisory"],"source":"cve@mitre.org"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00029.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://packetstormsecurity.com/files/156174/Slackware-Security-Advisory-sudo-Updates.html","tags":["Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://packetstormsecurity.com/files/156189/Sudo-1.8.25p-Buffer-Overflow.html","tags":["Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://seclists.org/fulldisclosure/2020/Jan/40","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2020/01/30/6","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2020/01/31/1","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2020/02/05/2","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2020/02/05/5","tags":["Exploit","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2020:0487","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2020:0509","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2020:0540","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2020:0726","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2020/02/msg00002.html","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I6TKF36KOQUVJNBHSVJFA7BU3CCEYD2F/","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IY6DZ7WMDKU4ZDML6MJLDAPG42B5WVUC/","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://seclists.org/bugtraq/2020/Feb/2","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://seclists.org/bugtraq/2020/Feb/3","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://seclists.org/bugtraq/2020/Jan/44","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.gentoo.org/glsa/202003-12","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.netapp.com/advisory/ntap-20200210-0001/","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://support.apple.com/kb/HT210919","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://usn.ubuntu.com/4263-1/","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://usn.ubuntu.com/4263-2/","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.debian.org/security/2020/dsa-4614","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.sudo.ws/alerts/pwfeedback.html","tags":["Exploit","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.sudo.ws/security.html","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-18634","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}