CVE-2019-18634 in Debian Linux and 1 more product
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...
Affects 2 products from 2 vendors. Facts below cite their sources.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Debian | Debian Linux | 8.0 9.0 10.0 |
| Sudo Project | Sudo | ≥ 1.7.1, < 1.8.26 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2019-18634 |
|---|---|
| BreachSpider ID | BS-2020-GLOBAL-227148-H |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2020-01-29 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-787: Out-of-Bounds Write
Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.
Analysis AI-written, not human-reviewed
A stack-based buffer overflow vulnerability exists in Sudo before version 1.8.26 when the pwfeedback feature is enabled in /etc/sudoers. This can be exploited by delivering a long string to the stdin of getln() function, potentially leading to arbitrary code execution with elevated privileges.
The vulnerability is triggered when the pwfeedback feature is enabled in /etc/sudoers, and an attacker provides a long input string to the sudo command. This input is not properly bounds-checked, leading to a buffer overflow in the getln() function of the sudo process.
Questions
What is CVE-2019-18634?
A stack-based buffer overflow vulnerability exists in Sudo before version 1.8.26 when the pwfeedback feature is enabled in /etc/sudoers. This can be exploited by delivering a long string to the stdin of getln() function, potentially leading to arbitrary code execution with elevated privileges.
What is the CVSS score for CVE-2019-18634?
CVE-2019-18634 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 19.3%.
Is CVE-2019-18634 actively exploited?
Public exploit available for CVE-2019-18634. Exploitation risk elevated.
How do I remediate CVE-2019-18634?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2019-18634?
CVE-2019-18634 affects Debian Debian Linux; Sudo Project Sudo.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.