{"id":"CVE-2019-18634","published":"2020-01-29T17:23:26Z","modified":"2024-08-05T01:54:14Z","title":"In Sudo before 1.8.26, if pwfeedback is enabled in /etc/sudoers, users can trigger a stack-based buffer overflow in…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.19276,"percentile":0.97407,"provenance":"source"},"cwes":[],"references":[{"url":"https://support.apple.com/kb/HT210919","tags":["x_refsource_CONFIRM"]},{"url":"https://seclists.org/bugtraq/2020/Jan/44","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"https://www.sudo.ws/security.html","tags":["x_refsource_MISC"]},{"url":"https://www.sudo.ws/alerts/pwfeedback.html","tags":["x_refsource_CONFIRM"]},{"url":"http://www.openwall.com/lists/oss-security/2020/01/30/6","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.openwall.com/lists/oss-security/2020/01/31/1","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://seclists.org/fulldisclosure/2020/Jan/40","tags":["mailing-list","x_refsource_FULLDISC"]},{"url":"https://www.debian.org/security/2020/dsa-4614","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/02/msg00002.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://seclists.org/bugtraq/2020/Feb/3","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"https://seclists.org/bugtraq/2020/Feb/2","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://packetstormsecurity.com/files/156174/Slackware-Security-Advisory-sudo-Updates.html","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/156189/Sudo-1.8.25p-Buffer-Overflow.html","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2020/02/05/2","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.openwall.com/lists/oss-security/2020/02/05/5","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://usn.ubuntu.com/4263-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://security.netapp.com/advisory/ntap-20200210-0001/","tags":["x_refsource_CONFIRM"]},{"url":"https://usn.ubuntu.com/4263-2/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0487","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0509","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0540","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00029.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IY6DZ7WMDKU4ZDML6MJLDAPG42B5WVUC/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0726","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://security.gentoo.org/glsa/202003-12","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I6TKF36KOQUVJNBHSVJFA7BU3CCEYD2F/","tags":["vendor-advisory","x_refsource_FEDORA"]}],"priority":{"score":24.5,"factors":[{"name":"EPSS percentile","points":19.48},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":2,"earliest":"2020-02-04"},"pocGithub":{"count":10,"skipped":4,"earliest":"2020-02-07","earliestUrl":"https://github.com/Plazmaz/CVE-2019-18634","repos":[{"name":"saleemrashid/sudo-cve-2019-18634","url":"https://github.com/saleemrashid/sudo-cve-2019-18634","stars":240,"created":"2020-02-07"},{"name":"Plazmaz/CVE-2019-18634","url":"https://github.com/Plazmaz/CVE-2019-18634","stars":59,"created":"2020-02-07"},{"name":"aesophor/CVE-2019-18634","url":"https://github.com/aesophor/CVE-2019-18634","stars":5,"created":"2021-08-01"},{"name":"chanbakjsd/CVE-2019-18634","url":"https://github.com/chanbakjsd/CVE-2019-18634","stars":3,"created":"2024-04-14"},{"name":"N1et/CVE-2019-18634","url":"https://github.com/N1et/CVE-2019-18634","stars":2,"created":"2020-02-13"}]},"first":{"date":"2020-02-04","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/47995"},"provenance":"source"},"summary":{"text":"Sudo before 1.8.26 contains a stack-based buffer overflow in the privileged sudo process, which is triggered when the pwfeedback option is enabled in /etc/sudoers (a default in Linux Mint and elementary OS but not upstream). An attacker who can run commands as a local user on a system with pwfeedback enabled can overflow the buffer by delivering a long string to stdin of getln() in tgetpass.c.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:46:45Z"},"euvd":{"id":"EUVD-2019-8357","exploited":false,"provenance":"source"},"exploits":[{"id":47995,"url":"https://www.exploit-db.com/exploits/47995","title":"Sudo 1.8.25p - 'pwfeedback' Buffer Overflow (PoC)","date":"2020-02-04","verified":false,"provenance":"source"},{"id":48052,"url":"https://www.exploit-db.com/exploits/48052","title":"Sudo 1.8.25p - 'pwfeedback' Buffer Overflow","date":"2020-02-06","verified":false,"provenance":"source"}],"exploitRefs":["http://packetstormsecurity.com/files/156174/Slackware-Security-Advisory-sudo-Updates.html","http://packetstormsecurity.com/files/156189/Sudo-1.8.25p-Buffer-Overflow.html"]}