Skip to content
Noroxi
NVD / CVE Program· CNA mitre

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 proc

Noroxi assessment

Priority: Monitor (action score 37/100)

  • Public proof-of-concept code exists (Exploit-DB, GitHub); there is no record of exploitation in the wild.
  • Probability of exploitation in the next 30 days: 19.2% (FIRST EPSS); higher than 97.3% of all records.
  • Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
  • Fixed version: sudo (Alpine:v3.10) 1.8.27-r2; sudo (Alpine:v3.11) 1.8.29-r2; sudo (Alpine:v3.12) 1.8.31-r0.

Low priority for now. Upgrade to sudo (Alpine:v3.10) 1.8.27-r2; sudo (Alpine:v3.11) 1.8.29-r2; sudo (Alpine:v3.12) 1.8.31-r0 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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.

HighCVSS 7.8 · v3.1—Proof of concept Fix available
Published
Jan 29, 2020
Updated
Jun 16, 2026
EPSS
19.2% · 97th percentile

Report tools

JSON

Action score

37

Monitor

Low priority for now.

CVSS
31 / 40 · 7.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
6 / 30 · 19.2%

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • Proof of concept exists, no weaponized module
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2019-18634

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
sudo projectsudo
debiandebian linux

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • debian debian linux10.0
  • debian debian linux8.0
  • debian debian linux9.0
  • sudo project sudo1.7.1 and later · before 1.8.26

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.10sudofrom 1.7.1 · before 1.8.27-r21.8.27-r2
Alpine:v3.11sudofrom 1.7.1 · before 1.8.29-r21.8.29-r2
Alpine:v3.12sudofrom 1.7.1 · before 1.8.31-r01.8.31-r0
Alpine:v3.8sudofrom 1.7.1 · before 1.8.23-r41.8.23-r4
Alpine:v3.9sudofrom 1.7.1 · before 1.8.25_p1-r31.8.25_p1-r3
Debian:12sudobefore 1.8.31-11.8.31-1
Debian:8sudobefore 1.8.10p3-1+deb8u71.8.10p3-1+deb8u7
Debian:9sudobefore 1.8.19p1-2.1+deb9u21.8.19p1-2.1+deb9u2
openSUSE:Leap 15.1sudobefore 1.8.22-lp151.5.6.11.8.22-lp151.5.6.1
openSUSE:Tumbleweedsudobefore 1.9.7p2-1.41.9.7p2-1.4
Red Hat:enterprise_linux:6::clientsudobefore 0:1.8.6p3-29.el6_10.30:1.8.6p3-29.el6_10.3
Red Hat:enterprise_linux:6::clientsudo-debuginfobefore 0:1.8.6p3-29.el6_10.30:1.8.6p3-29.el6_10.3
Red Hat:enterprise_linux:6::clientsudo-develbefore 0:1.8.6p3-29.el6_10.30:1.8.6p3-29.el6_10.3
Red Hat:enterprise_linux:7::clientsudobefore 0:1.8.23-4.el7_7.20:1.8.23-4.el7_7.2
Red Hat:enterprise_linux:7::clientsudo-debuginfobefore 0:1.8.23-4.el7_7.20:1.8.23-4.el7_7.2
Red Hat:enterprise_linux:7::clientsudo-develbefore 0:1.8.23-4.el7_7.20:1.8.23-4.el7_7.2
Red Hat:enterprise_linux:8::baseossudobefore 0:1.8.25p1-8.el8_1.10:1.8.25p1-8.el8_1.1
Red Hat:enterprise_linux:8::baseossudo-debuginfobefore 0:1.8.25p1-8.el8_1.10:1.8.25p1-8.el8_1.1
Red Hat:enterprise_linux:8::baseossudo-debugsourcebefore 0:1.8.25p1-8.el8_1.10:1.8.25p1-8.el8_1.1
Red Hat:rhel_e4s:8.0::baseossudobefore 0:1.8.25p1-4.el8_0.30:1.8.25p1-4.el8_0.3
Red Hat:rhel_e4s:8.0::baseossudo-debuginfobefore 0:1.8.25p1-4.el8_0.30:1.8.25p1-4.el8_0.3
Red Hat:rhel_e4s:8.0::baseossudo-debugsourcebefore 0:1.8.25p1-4.el8_0.30:1.8.25p1-4.el8_0.3
SUSE:HPE Helion OpenStack 8sudobefore 1.8.20p2-3.17.11.8.20p2-3.17.1
SUSE:Linux Enterprise Module for Basesystem 15sudobefore 1.8.22-4.9.11.8.22-4.9.1

+3

Other highest-scoring records for the same primary product.

  • CVE-2021-3156Sudo before 1.9.5p2 contains an off-by-one error that can result in a heap-based buffer overflow, which allows privilege escalation to root KEV
    91Now
  • CVE-2025-32463Sudo before 1.9.17p1 allows local users to obtain root access because /etc/nsswitch.conf from a user-controlled directory is used with the -KEV
    78This week
  • CVE-2019-14287In Sudo before 1.8.28, an attacker with access to a Runas ALL sudoer account can bypass certain policy blacklists and session PAM modules, a
    54Plan

Published before and after this one in the same product

  • ← EarlierCVE-2016-7076May 29, 2018 · sudo before version 1.8.18p1 is vulnerable to a bypass in the sudo noexec restriction if application run via sudo executed wordexp() C libra
    31Monitor
  • ← EarlierCVE-2019-18684Nov 4, 2019 · Sudo through 1.8.29 allows local users to escalate to root if they have write access to file descriptor 3 of the sudo process.
    28Monitor
  • Later →CVE-2021-23239Jan 12, 2021 · The sudoedit personality of Sudo before 1.9.5 may allow a local unprivileged user to perform arbitrary directory-existence tests by winning
    10Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
alpine:sudo1.8.27-r2 · Alpine:v3.10Package registry (OSV)
debian:sudo1.8.31-1 · Debian:12Package registry (OSV)
opensuse:sudo1.8.22-lp151.5.6.1 · openSUSE:Leap 15.1Package registry (OSV)
red hat:sudo0:1.8.25p1-8.el8_1.1 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:sudo-debuginfo0:1.8.25p1-8.el8_1.1 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:sudo-debugsource0:1.8.25p1-8.el8_1.1 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:sudo-devel0:1.8.23-4.el7_7.2 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
suse:sudo1.8.10p3-2.32.1 · SUSE:Linux Enterprise Server for SAP Applications 12 SP1Package registry (OSV)

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Exploit-DB entry ×2
  • Proof-of-concept repository on GitHub ×15

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Exploit-DB entrydos2020-02-04
Exploit-DB entrylocal2020-02-06
Proof-of-concept repository on GitHubstars:592020-02-07
Proof-of-concept repository on GitHubstars:2392020-02-07
Proof-of-concept repository on GitHubstars:22020-02-13
Proof-of-concept repository on GitHubstars:12020-03-09
Proof-of-concept repository on GitHubstars:02021-04-25
Proof-of-concept repository on GitHubstars:02021-05-05
Proof-of-concept repository on GitHubstars:52021-08-01
Proof-of-concept repository on GitHubstars:02022-03-20
Proof-of-concept repository on GitHubstars:02023-12-27
Proof-of-concept repository on GitHubstars:32024-04-14

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. Published
  2. First PoC+5 d
  3. TodayOct 26, 2026+2462 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

Weakness class (CWE)

CWE-787 · Out-of-bounds Write

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records