{"id":"CVE-2019-18634","details":"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.","modified":"2026-05-28T04:04:57.117122866Z","published":"2020-01-29T18:15:12.247Z","related":["SUSE-SU-2020:0390-1","SUSE-SU-2020:0406-1","SUSE-SU-2020:0407-1","SUSE-SU-2020:0408-1","SUSE-SU-2020:0409-1","openSUSE-SU-2020:0244-1","openSUSE-SU-2024:11413-1"],"database_specific":{"unresolved_ranges":[{"extracted_events":[{"last_affected":"8.0"},{"last_affected":"9.0"},{"last_affected":"10.0"}],"source":"CPE_STRING","cpes":["cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"],"vendor_product":"debian:debian_linux"}]},"references":[{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00029.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I6TKF36KOQUVJNBHSVJFA7BU3CCEYD2F/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IY6DZ7WMDKU4ZDML6MJLDAPG42B5WVUC/"},{"type":"WEB","url":"https://usn.ubuntu.com/4263-1/"},{"type":"WEB","url":"https://usn.ubuntu.com/4263-2/"},{"type":"ADVISORY","url":"http://packetstormsecurity.com/files/156174/Slackware-Security-Advisory-sudo-Updates.html"},{"type":"ADVISORY","url":"http://packetstormsecurity.com/files/156189/Sudo-1.8.25p-Buffer-Overflow.html"},{"type":"ADVISORY","url":"http://seclists.org/fulldisclosure/2020/Jan/40"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2020/01/30/6"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2020/01/31/1"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2020/02/05/2"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2020:0487"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2020:0509"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2020:0540"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2020:0726"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2020/02/msg00002.html"},{"type":"ADVISORY","url":"https://seclists.org/bugtraq/2020/Feb/2"},{"type":"ADVISORY","url":"https://seclists.org/bugtraq/2020/Feb/3"},{"type":"ADVISORY","url":"https://seclists.org/bugtraq/2020/Jan/44"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202003-12"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20200210-0001/"},{"type":"ADVISORY","url":"https://support.apple.com/kb/HT210919"},{"type":"ADVISORY","url":"https://www.debian.org/security/2020/dsa-4614"},{"type":"ADVISORY","url":"https://www.sudo.ws/security.html"},{"type":"EVIDENCE","url":"http://www.openwall.com/lists/oss-security/2020/02/05/5"},{"type":"EVIDENCE","url":"https://www.sudo.ws/alerts/pwfeedback.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/millert/sudo","events":[{"introduced":"e65ec1438af67aadc32e704e84a9aadb91edff89"},{"fixed":"2ac9985106850dbac6e088cc63d46bcea2c9217a"}],"database_specific":{"extracted_events":[{"introduced":"1.7.1"},{"fixed":"1.8.26"}],"cpe":"cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:*","source":"CPE_RANGE"}}],"versions":["SUDO_1_8_25p1","SUDO_1_8_25","SUDO_1_8_24","SUDO_1_8_23","SUDO_1_8_22","SUDO_1_8_21p2","SUDO_1_8_21p1","SUDO_1_8_21","SUDO_1_8_20p2","SUDO_1_8_20p1","SUDO_1_8_20","SUDO_1_8_19p2","SUDO_1_8_19p1","SUDO_1_8_19","SUDO_1_8_18p1","SUDO_1_8_18","SUDO_1_8_17p1","SUDO_1_8_17","SUDO_1_8_16","SUDO_1_8_15","SUDO_1_8_14p3","SUDO_1_8_14p1","SUDO_1_8_14","SUDO_1_8_13","SUDO_1_8_12","SUDO_1_8_11p2","SUDO_1_8_11p1","SUDO_1_8_11","SUDO_1_8_10p3","SUDO_1_8_10p2","SUDO_1_8_10p1","SUDO_1_8_10","SUDO_1_8_9p5","SUDO_1_8_9p4","SUDO_1_8_9p3","SUDO_1_8_9p2","SUDO_1_8_9p1","SUDO_1_8_9","SUDO_1_8_8","SUDO_1_8_7","SUDO_1_8_6p8","SUDO_1_8_6p7","SUDO_1_8_6p6","SUDO_1_8_6p5","SUDO_1_8_6p4","SUDO_1_8_6p3","SUDO_1_8_6p2","SUDO_1_8_6p1","SUDO_1_8_6","SUDO_1_8_5p3","SUDO_1_8_5p2","SUDO_1_8_5p1","SUDO_1_8_5","SUDO_1_8_4p5","SUDO_1_8_4p4","SUDO_1_8_4p3","SUDO_1_8_4p2","SUDO_1_8_4p1","SUDO_1_8_4","SUDO_1_8_3","SUDO_1_8_2","SUDO_1_8_1","SUDO_1_8_0","SUDO_1_7_2","SUDO_1_7_1"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-18634.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/sudo-project/sudo","events":[{"introduced":"e65ec1438af67aadc32e704e84a9aadb91edff89"},{"fixed":"2ac9985106850dbac6e088cc63d46bcea2c9217a"}],"database_specific":{"extracted_events":[{"introduced":"1.7.1"},{"fixed":"1.8.26"}],"cpe":"cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:*","source":"CPE_RANGE"}}],"versions":["v1.8.25p1","SUDO_1_8_25p1","v1.8.25","SUDO_1_8_25","v1.8.24","SUDO_1_8_24","v1.8.23","SUDO_1_8_23","v1.8.22","SUDO_1_8_22","v1.8.21p2","SUDO_1_8_21p2","v1.8.21p1","SUDO_1_8_21p1","v1.8.21","SUDO_1_8_21","v1.8.20p2","SUDO_1_8_20p2","v1.8.20p1","SUDO_1_8_20p1","v1.8.20","SUDO_1_8_20","v1.8.19p2","SUDO_1_8_19p2","v1.8.19p1","SUDO_1_8_19p1","v1.8.19","SUDO_1_8_19","v1.8.18p1","SUDO_1_8_18p1","v1.8.18","SUDO_1_8_18","v1.8.17p1","SUDO_1_8_17p1","v1.8.17","SUDO_1_8_17","v1.8.16","SUDO_1_8_16","v1.8.15","SUDO_1_8_15","v1.8.14p3","SUDO_1_8_14p3","v1.8.14p1","SUDO_1_8_14p1","v1.8.14","SUDO_1_8_14","v1.8.13","SUDO_1_8_13","v1.8.12","SUDO_1_8_12","v1.8.11p2","SUDO_1_8_11p2","v1.8.11p1","SUDO_1_8_11p1","v1.8.11","SUDO_1_8_11","v1.8.10p3","SUDO_1_8_10p3","v1.8.10p2","SUDO_1_8_10p2","v1.8.10p1","SUDO_1_8_10p1","v1.8.10","SUDO_1_8_10","v1.8.9p5","SUDO_1_8_9p5","v1.8.9p4","SUDO_1_8_9p4","v1.8.9p3","SUDO_1_8_9p3","v1.8.9p2","SUDO_1_8_9p2","v1.8.9p1","SUDO_1_8_9p1","v1.8.9","SUDO_1_8_9","v1.8.8","SUDO_1_8_8","v1.8.7","SUDO_1_8_7","v1.8.6p8","SUDO_1_8_6p8","v1.8.6p7","SUDO_1_8_6p7","v1.8.6p6","SUDO_1_8_6p6","v1.8.6p5","SUDO_1_8_6p5","v1.8.6p4","SUDO_1_8_6p4","v1.8.6p3","SUDO_1_8_6p3","v1.8.6p2","SUDO_1_8_6p2","v1.8.6p1","SUDO_1_8_6p1","v1.8.6","SUDO_1_8_6","v1.8.5p3","SUDO_1_8_5p3","v1.8.5p2","SUDO_1_8_5p2","v1.8.5p1","SUDO_1_8_5p1","v1.8.5","SUDO_1_8_5","v1.8.4p5","SUDO_1_8_4p5","v1.8.4p4","SUDO_1_8_4p4","v1.8.4p3","SUDO_1_8_4p3","v1.8.4p2","SUDO_1_8_4p2","v1.8.4p1","SUDO_1_8_4p1","v1.8.4","SUDO_1_8_4","v1.8.3","SUDO_1_8_3","v1.8.2","SUDO_1_8_2","v1.8.1","SUDO_1_8_1","v1.8.0","SUDO_1_8_0","v1.7.2","SUDO_1_7_2","v1.7.1","SUDO_1_7_1"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-18634.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}