All vulnerabilities

Servers and applications

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.

Severity
High 7.8
Published
16 May 2002
Last changed
16 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
1.6.6
Exploit chance
1.2% in the next 30 daysHigher than 68% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
CWE-131
Attack
Needs local access · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Sources
NVD

Affected software

SoftwareAffected versions
sudoServers and applications · cpe:a:sudo_project:sudo
  • Every version before 1.6.6

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2002-0184
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2002-0184