Sudo before 1.6.6 contains an off-by-one error that can result in a heap-based buffer overflow that may allow local users to gain root privileges via special characters in the -p (prompt) argument, which are not properly expanded.
CVE-2002-0184
Score 7.8 from GitHub Security Advisory (severity: HIGH) published 2022-04-30. NVD baseline CVSS 7.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.8
- EG Score
- 7.8(medium)
- EPSS
- 64.6%
- KEV
- Not listed
Published
May 16, 2002
Last Modified
June 16, 2026
Advisory Details (6)
Auto-updated May 31, 2026VU#820083 - sudo vulnerable to heap corruption via -p parameter
http://www.kb.cert.org/vuls/id/820083'[slackware-security] sudo upgrade fixes a potential vulnerability' - MARC
http://marc.info/?l=bugtraq&m=101979472822196&w=2'Sudo version 1.6.6 now available (fwd)' - MARC
http://marc.info/?l=bugtraq&m=101975443619600&w=2'[Global InterSec 2002041701] Sudo Password Prompt' - MARC
http://marc.info/?l=bugtraq&m=101974610509912&w=2Patch Availability(2)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | patch | 2002-04-25 | redhat |
| redhat | patch | 2002-04-25 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
All Vendor Advisories
(2)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
Data Freshness Timeline
(refreshed 3× in last 7d / 18× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-13 06:07 UTCEPSS rescore
- 2026-07-11 08:22 UTCEPSS rescore
- 2026-07-08 15:08 UTCEPSS rescore
- 2026-07-04 06:26 UTCEPSS rescore
- 2026-07-02 14:00 UTCEPSS rescore
- 2026-06-29 14:02 UTCEPSS rescore
- 2026-06-28 14:02 UTCEPSS rescore
- 2026-06-27 03:04 UTCEPSS rescore
- 2026-06-24 14:01 UTCEPSS rescore
- 2026-06-23 21:29 UTCEPSS rescore
- 2026-06-22 14:22 UTCEPSS rescore
- 2026-06-21 01:56 UTCEPSS rescore
- 2026-06-19 19:22 UTCEPSS rescore
- 2026-06-18 17:49 UTCEPSS rescore
- 2026-06-18 17:49 UTCEPSS rescore
- 2026-06-17 17:49 UTCEPSS rescore
- 2026-06-16 17:49 UTCEPSS rescore
- 2026-06-14 23:13 UTCEPSS rescore
- 2026-06-13 22:56 UTCEPSS rescore
- 2026-06-12 23:07 UTCEPSS rescore
- 2026-06-11 13:55 UTCEPSS rescore
- 2026-06-10 22:13 UTCEPSS rescore
- 2026-06-10 13:17 UTCEPSS rescore
- 2026-06-08 14:13 UTCEPSS rescore
- 2026-06-07 15:21 UTCEPSS rescore
Show 31 moreShow fewer
- 2026-06-06 13:44 UTCEPSS rescore
- 2026-06-05 06:07 UTCEPSS rescore
- 2026-06-04 13:09 UTCEPSS rescore
- 2026-06-02 20:10 UTCEPSS rescore
- 2026-06-01 13:48 UTCEPSS rescore
- 2026-05-31 22:27 UTCEPSS rescore
- 2026-05-31 19:33 UTCEG score recompute
- 2026-05-31 19:33 UTCVendor advisory
- 2026-05-31 19:33 UTCGHSA enrichment
- 2026-05-31 00:13 UTCEPSS rescore
- 2026-05-31 00:13 UTCEPSS rescore
- 2026-05-29 13:40 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-27 13:37 UTCEPSS rescore
- 2026-05-27 13:37 UTCEPSS rescore
- 2026-05-26 13:41 UTCEPSS rescore
- 2026-05-26 13:41 UTCEPSS rescore
- 2026-05-26 13:41 UTCEPSS rescore
- 2026-05-26 07:16 UTCEPSS rescore
- 2026-05-26 07:16 UTCEPSS rescore
- 2026-05-24 16:42 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-21 22:38 UTCEPSS rescore
- 2026-05-20 22:36 UTCEPSS rescore
- 2026-05-20 11:20 UTCEPSS rescore
- 2026-05-20 11:20 UTCEPSS rescore
- 2026-05-18 21:29 UTCEPSS rescore
- 2026-05-18 21:29 UTCEPSS rescore
Publicly available exploits
(1 reference)Working exploit code is in the public domain (1 Exploit-DB entry). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Exploit-DBEDB-21420✓ verifiedFirst seen Nov 1, 2001
Sudo 1.6.x - Password Prompt Heap Overflow
Open source ↗
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat
Same CWE
10 shownCWE-787 · CWE-131
- CVE-2007-0158EG 9.8CRITICAL
- CVE-2007-0899EG 9.8CRITICAL
- CVE-2011-2462EG 9.8 KEVEPSS 100%CRITICAL
- CVE-2004-1363EG 9.8EPSS 95%CRITICAL
- CVE-2004-0434EG 9.8EPSS 94%CRITICAL
- CVE-2003-0899EG 9.8EPSS 97%CRITICAL
- CVE-2002-1347EG 9.8EPSS 93%CRITICAL
- CVE-2001-0248EG 9.8EPSS 95%CRITICAL
- CVE-2001-0249EG 9.8EPSS 97%CRITICAL
- CVE-2010-20115EG 9.3CRITICAL
Frequently asked(5)
What is CVE-2002-0184?
When was CVE-2002-0184 disclosed?
Is CVE-2002-0184 actively exploited?
What is the CVSS score of CVE-2002-0184?
How do I remediate CVE-2002-0184?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2002-0184
Is Your Infrastructure Affected by CVE-2002-0184?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.