All vulnerabilities

Servers and applications

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

Severity
High 10.0
Published
3 Jul 2002
Last changed
16 Jun 2026
Added to UpHeron
21 Oct 2026
Exploit chance
28% in the next 30 daysHigher than 98% of CVEs. EPSS by FIRST, 12 Nov 2026
Attack
Over the network · No login needed
Attacker can
Read data · Change data · Take it down
CVSS vector
AV:N/AC:L/Au:N/C:C/I:C/A:C
Sources
NVD

Affected software

SoftwareAffected versions
OpenSSHServers and applications · cpe:a:openbsd:openssh
  • Version 3.3p1
  • Version 3.3
  • Version 3.2.3p1
  • Version 3.2.2p1
All 26 release lines
  • Version 1.2.2
  • Version 1.2.3
  • Version 2.1
  • Version 2.1.1
  • Version 2.2
  • Version 2.3
  • Version 2.5
  • Version 2.5.1
  • Version 2.5.2
  • Version 2.9
  • Version 2.9p1
  • Version 2.9p2
  • Version 2.9.9
  • Version 3.0
  • Version 3.0p1
  • Version 3.0.1
  • Version 3.0.1p1
  • Version 3.0.2
  • Version 3.0.2p1
  • Version 3.1
  • Version 3.1p1
  • Version 3.2
  • Version 3.2.2p1
  • Version 3.2.3p1
  • Version 3.3
  • Version 3.3p1

References

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