Vulnerability Report

CVE-2002-0184

Title: sudo off-by-one heap-based buffer overflow local root

Memory Corruption

Proof Of Concept

PoC Available for CVE-2002-0184

CWE Category CWE-131
Published Date May 16, 2002
Modified Date Jun 16, 2026
Exploit Status Available
Score 7.8 CVSS v3.1
Exploit Probability (EPSS)
1.20%

Vulnerability Summary

CVE-2002-0184: 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.

Impacted Vendors

Reference Links

http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000475 http://marc.info/?l=bugtraq&m=101974610509912&w=2 http://marc.info/?l=bugtraq&m=101975443619600&w=2 http://marc.info/?l=bugtraq&m=101979472822196&w=2 http://marc.info/?l=bugtraq&m=102010164413135&w=2 http://marc.info/?l=bugtraq&m=102010164413135&w=2 http://www.debian.org/security/2002/dsa-128 http://www.iss.net/security_center/static/8936.php http://www.kb.cert.org/vuls/id/820083 http://www.linux-mandrake.com/en/security/2002/MDKSA-2002-028.php3 http://www.linuxsecurity.com/advisories/other_advisory-2040.html 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://www.securityfocus.com/bid/4593 http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000475 http://marc.info/?l=bugtraq&m=101974610509912&w=2 http://marc.info/?l=bugtraq&m=101975443619600&w=2 http://marc.info/?l=bugtraq&m=101979472822196&w=2 http://marc.info/?l=bugtraq&m=102010164413135&w=2 http://marc.info/?l=bugtraq&m=102010164413135&w=2 http://www.debian.org/security/2002/dsa-128 http://www.iss.net/security_center/static/8936.php http://www.kb.cert.org/vuls/id/820083 http://www.linux-mandrake.com/en/security/2002/MDKSA-2002-028.php3 http://www.linuxsecurity.com/advisories/other_advisory-2040.html 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://www.securityfocus.com/bid/4593
CVSS v3.1
Source Entity [email protected]
Severity HIGH
7.8
Attack Vector
LOCAL
Complexity
LOW
Privileges
N/A
Interaction
NONE
Confidentiality
N/A
Integrity
N/A
Availability
N/A
Scope
UNCHANGED
RAW VECTOR CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v2.0
Source Entity [email protected]
Severity HIGH
7.2
Access Vector
N/A
Authentication
N/A
RAW VECTOR AV:L/AC:L/Au:N/C:C/I:C/A:C

Associated Attack Patterns (CAPEC)

Total: Patterns

CVE-2002-0184 Exploits & PoCs (Proof Of Concept)

Exploit-DB https://www.exploit-db.com/exploits/21420
View Code
MODIFIED

Vulnerability data updated via NVD.

MODIFIED

Vulnerability data or affected products updated.

PUBLISHED

Vulnerability first announced in NVD.

Attack Vector Matrix

Access Vector LOCAL
Complexity LOW
Privileges N/A
Interaction NONE
CVSS Vector String CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected Stack

No specific products linked.