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…

CVE-2002-0640 affects 27 listed versions of OpenSSH in the Dawnsentry catalogue.

10.0CVSS critical
None knownexploitation
28%EPSS (next 30 days)
3 July 2002published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

OpenSSH

27 of 193 listed versions are affected. Fixed in 2.3.1. The newest release, 10.6 P2, is not affected.

3.3 P1 3.3 3.2.3 P1 3.2.2 P1 3.2 3.1 P1 3.1 3.0.2 P1 3.0.2 3.0.1 P1 3.0.1 3.0 P1 3.0 2.9.9 P2 2.9.9 2.9 P2 2.9 P1 2.9 2.5.2 2.5.1 2.5 2.3 2.2 2.1.1 2.1 1.2.3 1.2.2

What it is

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

AV:N/AC:L/Au:N/C:C/I:C/A:C (NVD)

Published by MITRE on 3 July 2002. Last changed 16 June 2026.

Sources

Check one version you run: look CVE-2002-0640 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.