CVE-2002-0640

Exp

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).

Published: 2002-07-03 Last update: 2026-04-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2002-0640 is rated High Exploit Risk (91.6/100): CVSS Critical severity, with high exploitation likelihood (EPSS 66.96%, 99th percentile). Core evidence: 2 public exploit reference(s) are indexed (Exploit-DB). EPSS rose +2.13% over the last day, indicating growing attacker interest. Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2002-0640

EDB-ID Source Kind Published Link
21579 exploit_db edb 2002-06-24 Exploit-DB ↗
21578 exploit_db edb 2002-06-24 Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2002-0640

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-02-12 64.84% 66.96% +2.13%
2 2025-12-28 61.12% 64.84% +3.72%
3 2025-12-27 61.12%

Full EPSS history (19 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2002-0640

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
10.0 2.0 HIGH
AV:N/AC:L/Au:N/C:C/I:C/A:C Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:C)
Complete confidentiality impact.
Integrity impact (I:C)
Complete integrity impact.
Availability impact (A:C)
Complete availability impact.
10.0 10.0 [email protected]

Weakness enumeration for CVE-2002-0640

OS Trackers for CVE-2002-0640

vendor priority summary link
debian high CVE-2002-0640 high priority: Debian including 1 source packages (openssh), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2002-0640
redhat medium https://access.redhat.com/security/cve/CVE-2002-0640
suse critical CVE-2002-0640 severity critical: SUSE including 8 source package names (openssh, openssh-askpass-gnome, …), 223 product×package rows across 46 product lines (SUSE CaaS Platform 4.0, SUSE Enterprise Storage 7.1, … (46 product lines)): Known Not Affected 223. https://www.suse.com/security/cve/CVE-2002-0640/

Affected software / configurations for CVE-2002-0640

Vendor Product Version Raw CPE
openbsd openssh 1.2.2 cpe:2.3:a:openbsd:openssh:1.2.2:*:*:*:*:*:*:*
openbsd openssh 1.2.3 cpe:2.3:a:openbsd:openssh:1.2.3:*:*:*:*:*:*:*
openbsd openssh 2.1 cpe:2.3:a:openbsd:openssh:2.1:*:*:*:*:*:*:*
openbsd openssh 2.1.1 cpe:2.3:a:openbsd:openssh:2.1.1:*:*:*:*:*:*:*
openbsd openssh 2.2 cpe:2.3:a:openbsd:openssh:2.2:*:*:*:*:*:*:*
openbsd openssh 2.3 cpe:2.3:a:openbsd:openssh:2.3:*:*:*:*:*:*:*
openbsd openssh 2.5 cpe:2.3:a:openbsd:openssh:2.5:*:*:*:*:*:*:*
openbsd openssh 2.5.1 cpe:2.3:a:openbsd:openssh:2.5.1:*:*:*:*:*:*:*
openbsd openssh 2.5.2 cpe:2.3:a:openbsd:openssh:2.5.2:*:*:*:*:*:*:*
openbsd openssh 2.9 cpe:2.3:a:openbsd:openssh:2.9:*:*:*:*:*:*:*
openbsd openssh 2.9.9 cpe:2.3:a:openbsd:openssh:2.9.9:*:*:*:*:*:*:*
openbsd openssh 2.9p1 cpe:2.3:a:openbsd:openssh:2.9p1:*:*:*:*:*:*:*
openbsd openssh 2.9p2 cpe:2.3:a:openbsd:openssh:2.9p2:*:*:*:*:*:*:*
openbsd openssh 3.0 cpe:2.3:a:openbsd:openssh:3.0:*:*:*:*:*:*:*
openbsd openssh 3.0.1 cpe:2.3:a:openbsd:openssh:3.0.1:*:*:*:*:*:*:*
openbsd openssh 3.0.1p1 cpe:2.3:a:openbsd:openssh:3.0.1p1:*:*:*:*:*:*:*
openbsd openssh 3.0.2 cpe:2.3:a:openbsd:openssh:3.0.2:*:*:*:*:*:*:*
openbsd openssh 3.0.2p1 cpe:2.3:a:openbsd:openssh:3.0.2p1:*:*:*:*:*:*:*
openbsd openssh 3.0p1 cpe:2.3:a:openbsd:openssh:3.0p1:*:*:*:*:*:*:*
openbsd openssh 3.1 cpe:2.3:a:openbsd:openssh:3.1:*:*:*:*:*:*:*
openbsd openssh 3.1p1 cpe:2.3:a:openbsd:openssh:3.1p1:*:*:*:*:*:*:*
openbsd openssh 3.2 cpe:2.3:a:openbsd:openssh:3.2:*:*:*:*:*:*:*
openbsd openssh 3.2.2p1 cpe:2.3:a:openbsd:openssh:3.2.2p1:*:*:*:*:*:*:*
openbsd openssh 3.2.3p1 cpe:2.3:a:openbsd:openssh:3.2.3p1:*:*:*:*:*:*:*
openbsd openssh 3.3 cpe:2.3:a:openbsd:openssh:3.3:*:*:*:*:*:*:*
openbsd openssh 3.3p1 cpe:2.3:a:openbsd:openssh:3.3p1:*:*:*:*:*:*:*

References for CVE-2002-0640

URL Tags
ftp://ftp.caldera.com/pub/security/OpenLinux/CSSA-2002-030.0.txt
http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000502
http://marc.info/?l=bugtraq&m=102514371522793&w=2
http://marc.info/?l=bugtraq&m=102514631524575&w=2
http://marc.info/?l=bugtraq&m=102521542826833&w=2
http://marc.info/?l=bugtraq&m=102532054613894&w=2
http://www.cert.org/advisories/CA-2002-18.html US Government Resource
http://www.debian.org/security/2002/dsa-134
http://www.kb.cert.org/vuls/id/369347 US Government Resource
http://www.linuxsecurity.com/advisories/other_advisory-2177.html
http://www.mandrakesoft.com/security/advisories?name=MDKSA-2002:040
http://www.novell.com/linux/security/advisories/2002_024_openssh_txt.html
http://www.openwall.com/lists/oss-security/2024/07/01/3
http://www.osvdb.org/839
http://www.redhat.com/support/errata/RHSA-2002-127.html
http://www.redhat.com/support/errata/RHSA-2002-131.html
http://www.securityfocus.com/bid/5093
http://www1.itrc.hp.com/service/cki/docDisplay.do?docId=HPSBUX0206-195
cvelogic Threat Intelligence