# CVE-2019-18634: 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 pro…

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 19.3%, higher than 97% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2020-01-29T17:23:26.000Z
- Modified: 2026-06-17T02:25:11.983Z
- Weaknesses: CWE-787
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- sudo_project sudo: from 1.7.1 before 1.8.26
- debian debian_linux: 8.0; 9.0; 10.0

## Every score

- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.6 Medium `AV:L/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://www.sudo.ws/alerts/pwfeedback.html> (exploit, vendor-advisory)
- <http://packetstormsecurity.com/files/156189/Sudo-1.8.25p-Buffer-Overflow.html> (exploit, third-party-advisory, vdb-entry)
- <http://www.openwall.com/lists/oss-security/2020/02/05/5> (exploit, mailing-list, third-party-advisory)
- <https://support.apple.com/kb/HT210919> (third-party-advisory)
- <https://seclists.org/bugtraq/2020/Jan/44> (mailing-list, third-party-advisory)
- <https://www.sudo.ws/security.html> (vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2020/01/30/6> (mailing-list, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2020/01/31/1> (mailing-list, third-party-advisory)
- <http://seclists.org/fulldisclosure/2020/Jan/40> (mailing-list, third-party-advisory)
- <https://www.debian.org/security/2020/dsa-4614> (third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2020/02/msg00002.html> (mailing-list, third-party-advisory)
- <https://seclists.org/bugtraq/2020/Feb/3> (mailing-list, third-party-advisory)
- <https://seclists.org/bugtraq/2020/Feb/2> (mailing-list, third-party-advisory)
- <http://packetstormsecurity.com/files/156174/Slackware-Security-Advisory-sudo-Updates.html> (third-party-advisory, vdb-entry)
- <http://www.openwall.com/lists/oss-security/2020/02/05/2> (mailing-list, third-party-advisory)
- <https://usn.ubuntu.com/4263-1/> (vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20200210-0001/>
- <https://usn.ubuntu.com/4263-2/> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2020:0487> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2020:0509> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2020:0540> (vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00029.html> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IY6DZ7WMDKU4ZDML6MJLDAPG42B5WVUC/> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2020:0726> (vendor-advisory)
- <https://security.gentoo.org/glsa/202003-12> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I6TKF36KOQUVJNBHSVJFA7BU3CCEYD2F/> (vendor-advisory)

## Sources

- CVE List: [CVE-2019-18634](https://www.cve.org/CVERecord?id=CVE-2019-18634), CVE Terms of Use, modified 2024-08-05
- NVD: [CVE-2019-18634](https://nvd.nist.gov/vuln/detail/CVE-2019-18634), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-18634 · Whole record: https://cve.day/CVE-2019-18634.json · Rebuilt by cve.day 2026-11-25T22:57:49.377Z
