CVE-2002-0640 Memory corruption in n/a
Remote attackers can execute arbitrary code via a buffer overflow in OpenSSH when using specific PAM authentication configurations.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2002-0640?
CVE-2002-0640 is a critical memory corruption vulnerability in OpenSSH, published on 2 Apr 2003. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Buffer overflow in sshd in OpenSSH 2.3.1 through 3.3 may allow remote attackers to execute arbitrary code via a large number of responses during challenge response authentication when OpenBSD is using PAM modules with interactive keyboard authentication (PAMAuthenticationViaKbdInt).
Which versions are affected by CVE-2002-0640?
It affects 1 product.
Products include OpenSSH.
How do I fix CVE-2002-0640?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2002-0640 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2002-0640 exists.
Public exploit code: 2 Exploit-DB entries.
Other vulnerabilities in OpenSSH
Sources
Also known as DEBIAN-CVE-2002-0640, GHSA-q9hw-p2pq-q4p7.