Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-18634
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 07:36 UTC · Revision 1
Source evidence
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.
osv:CVE-2019-18634
Complete source record
{
"id": "7d2158f68d8eef601d9cad5d18be01a4630d764c61e04df10b0dd2432561ce1f",
"url": "https://osv.dev/vulnerability/CVE-2019-18634",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-18634",
"summary": "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.",
"evidence": "osv:CVE-2019-18634",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2019-18634",
"aliases": [
"CVE-2019-18634"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/millert/sudo",
"type": "GIT",
"events": [
{
"introduced": "e65ec1438af67aadc32e704e84a9aadb91edff89"
},
{
"fixed": "2ac9985106850dbac6e088cc63d46bcea2c9217a"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.7.1"
},
{
"fixed": "1.8.26"
}
],
"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/cve-osv-conversion/osv-output/CVE-2019-18634.json"
}
},
{
"ranges": [
{
"repo": "https://github.com/sudo-project/sudo",
"type": "GIT",
"events": [
{
"introduced": "e65ec1438af67aadc32e704e84a9aadb91edff89"
},
{
"fixed": "2ac9985106850dbac6e088cc63d46bcea2c9217a"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.7.1"
},
{
"fixed": "1.8.26"
}
],
"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/cve-osv-conversion/osv-output/CVE-2019-18634.json"
}
}
],
"modified": "2026-10-24T10:30:55.728884828Z",
"provider": "osv",
"references": [
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I6TKF36KOQUVJNBHSVJFA7BU3CCEYD2F/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IY6DZ7WMDKU4ZDML6MJLDAPG42B5WVUC/",
"https://usn.ubuntu.com/4263-1/",
"https://usn.ubuntu.com/4263-2/",
"https://access.redhat.com/errata/RHSA-2020:0487",
"https://access.redhat.com/errata/RHSA-2020:0509",
"https://access.redhat.com/errata/RHSA-2020:0540",
"https://access.redhat.com/errata/RHSA-2020:0726",
"https://lists.debian.org/debian-lts-announce/2020/02/msg00002.html",
"https://seclists.org/bugtraq/2020/Feb/2",
"https://seclists.org/bugtraq/2020/Feb/3",
"https://seclists.org/bugtraq/2020/Jan/44",
"https://security.gentoo.org/glsa/202003-12",
"https://security.netapp.com/advisory/ntap-20200210-0001/",
"https://support.apple.com/kb/HT210919",
"https://www.debian.org/security/2020/dsa-4614",
"https://www.sudo.ws/security.html",
"https://www.sudo.ws/alerts/pwfeedback.html"
],
"provider_metadata": {
"unresolved_ranges": [
{
"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",
"extracted_events": [
{
"range": [
{
"introduced": "8.0"
},
{
"last_affected": "8.0"
},
{
"introduced": "9.0"
},
{
"last_affected": "9.0"
},
{
"introduced": "10.0"
},
{
"last_affected": "10.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2019-18634",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 438487,
"published_at": "2020-01-29T18:15:12.247+00:00"
}