Home / Openbsd / Openssh / CVE-2002-0640
CVE-2002-0640: is it exploited, and which versions of Openbsd Openssh are affected and fixed?
CVE-2002-0640 is a vulnerability in Openbsd Openssh. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 20:09 UTC). Affected: openssh 1.2.2, openssh 1.2.3, openssh 2.1 and 23 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (10.0, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 20:09 UTC, CVE record November 19, 2026, 07:22 UTC and NVD November 19, 2026, 08:56 UTC.
What is CVE-2002-0640?
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).
From the CVE record by mitre, last updated August 8, 2024, 02:56 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| openbsd | openssh | 1.2.2 | application |
| openbsd | openssh | 1.2.3 | application |
| openbsd | openssh | 2.1 | application |
| openbsd | openssh | 2.1.1 | application |
| openbsd | openssh | 2.2 | application |
| openbsd | openssh | 2.3 | application |
| openbsd | openssh | 2.5 | application |
| openbsd | openssh | 2.5.1 | application |
| openbsd | openssh | 2.5.2 | application |
| openbsd | openssh | 2.9 | application |
| openbsd | openssh | 2.9.9 | application |
| openbsd | openssh | 2.9p1 | application |
| openbsd | openssh | 2.9p2 | application |
| openbsd | openssh | 3.0 | application |
| openbsd | openssh | 3.0.1 | application |
| openbsd | openssh | 3.0.1p1 | application |
| openbsd | openssh | 3.0.2 | application |
| openbsd | openssh | 3.0.2p1 | application |
| openbsd | openssh | 3.0p1 | application |
| openbsd | openssh | 3.1 | application |
| openbsd | openssh | 3.1p1 | application |
| openbsd | openssh | 3.2 | application |
| openbsd | openssh | 3.2.2p1 | application |
| openbsd | openssh | 3.2.3p1 | application |
| openbsd | openssh | 3.3 | application |
NVD analysis (status Modified), last modified June 16, 2026, 21:57 UTC.
How severe is CVE-2002-0640?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 10.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2002-0640 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 28.2% probability of exploitation activity in the next 30 days, percentile 98.2 (FIRST EPSS, scores of December 3, 2026)
Where are the vendor advisories and references?
- DSA-134 vendor-advisory
- RHSA-2002:127 vendor-advisory
- 20020626 OpenSSH Security Advisory (adv.iss) mailing-list
- SuSE-SA:2002:024 vendor-advisory
- 20020628 Sun statement on the OpenSSH Remote Challenge Vulnerability mailing-list
- 839 vdb-entry
- CA-2002-18 third-party-advisory
- 20020627 How to reproduce OpenSSH Overflow. mailing-list
- RHSA-2002:131 vendor-advisory
- 5093 vdb-entry
- CSSA-2002-030.0 vendor-advisory
- ESA-20020702-016 vendor-advisory
- VU#369347 third-party-advisory
- CLA-2002:502 vendor-advisory
- HPSBUX0206-195 vendor-advisory
- MDKSA-2002:040 vendor-advisory
- 20020626 Revised OpenSSH Security Advisory (adv.iss) mailing-list
- [oss-security] 20240701 CVE-2024-6387: RCE in OpenSSH's server, on glibc-based Linux systems mailing-list
When was it published, and where is the official record?
- Reserved
- June 28, 2002
- Published
- April 2, 2003, 05:00 UTC
- CVE record updated
- August 8, 2024, 02:56 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 21:57 UTC
- Last checked
- CVE list November 19, 2026, 07:22 UTC; NVD November 19, 2026, 08:56 UTC; KEV December 3, 2026, 20:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Openssh?
- Nov 5, 2026CVE-2026-123158 OpenBSD OpenSSH: unexpected Status Code or Return Value exploited
- Oct 6, 2026CVE-2026-106583 OpenBSD OpenSSH: improper Control of Resource Identifiers
- Oct 6, 2026CVE-2026-106589 OpenBSD OpenSSH: least Privilege Violation
- Oct 6, 2026CVE-2026-106588 OpenBSD OpenSSH: improper Isolation or Compartmentalization
- Oct 6, 2026CVE-2026-106587 OpenBSD OpenSSH: type confusion
- Oct 6, 2026CVE-2026-106586 OpenBSD OpenSSH: always-incorrect control flow
- Oct 6, 2026CVE-2026-106585 OpenBSD OpenSSH: improper Handling of Highly Compressed Data (Data Amplification)
- Oct 6, 2026CVE-2026-106584 OpenBSD OpenSSH: off-by-one Error
Questions about CVE-2002-0640
Is CVE-2002-0640 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 20:09 UTC. FIRST's EPSS gives it a 28.2% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Openbsd Openssh are affected by CVE-2002-0640?
openssh 1.2.2, openssh 1.2.3, openssh 2.1, openssh 2.1.1, openssh 2.2, openssh 2.3 and 20 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2002-0640?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2002-0640?
High (10.0, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2002-0640?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.