CVE-2002-0184
Description
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.
Severity
HIGH
CVSS v3
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
1.199%
chance of exploitation in the next 30 days
higher than 68.7% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 1
Weakness
- CWE-131: Incorrect Calculation of Buffer Size
Timeline
- 2001-11-01First Exploit-DB entry (EDB-ID 21420)196 days before publication
- 2002-05-16Published
- 2003-04-02Published by the CNA05:00 UTC · 321 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 21420 | local | linux | 2001-11-01 | yes |
Affected products
| Vendor | Product |
|---|---|
| debian | debian_linux |
| sudo_project | sudo |
References
- http://marc.info/?l=bugtraq&m=101975443619600&w=2
- http://marc.info/?l=bugtraq&m=101979472822196&w=2
- http://www.linuxsecurity.com/advisories/other_advisory-2040.html
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000475
- http://marc.info/?l=bugtraq&m=102010164413135&w=2
- http://www.debian.org/security/2002/dsa-128
- http://www.linux-mandrake.com/en/security/2002/MDKSA-2002-028.php3
- http://www.novell.com/linux/security/advisories/2002_014_sudo_txt.html
- http://www.redhat.com/support/errata/RHSA-2002-071.html
- http://www.redhat.com/support/errata/RHSA-2002-072.html
- http://marc.info/?l=bugtraq&m=101974610509912&w=2
- http://www.iss.net/security_center/static/8936.php
- http://www.kb.cert.org/vuls/id/820083
- http://www.securityfocus.com/bid/4593
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2002-0184'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2002-0184'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2002-0184'curl 'https://api.contrastcyber.com/cve_products/CVE-2002-0184'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).