{"id":"CVE-2002-0640","aliases":["EDB-21578","EDB-21579"],"kind":"cve","tier":"cold","status":"published","title":"Buffer overflow in sshd in OpenSSH 2.3.1 through 3.3 may allow remote attackers to execute arbitrary code via a large n…","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).","ai_summary":null,"severity":"critical","cvss":{"score":10,"version":"2.0","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","source":"NVD"},"scores":[{"score":10,"version":"2.0","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","source":"nvd"}],"cwe":[],"remote":true,"remote_unauth":true,"epss":{"score":0.28161,"percentile":0.98546,"date":"2026-11-28"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":true,"exploitdb_ids":[21578,21579]},"affected":[],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[],"references":[{"url":"http://www.debian.org/security/2002/dsa-134","kind":"vendor"},{"url":"http://www.redhat.com/support/errata/RHSA-2002-127.html","kind":"vendor"},{"url":"http://www.novell.com/linux/security/advisories/2002_024_openssh_txt.html","kind":"vendor"},{"url":"http://www.redhat.com/support/errata/RHSA-2002-131.html","kind":"vendor"},{"url":"http://www.linuxsecurity.com/advisories/other_advisory-2177.html","kind":"vendor"},{"url":"http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000502","kind":"vendor"},{"url":"http://www1.itrc.hp.com/service/cki/docDisplay.do?docId=HPSBUX0206-195","kind":"vendor"},{"url":"http://www.mandrakesoft.com/security/advisories?name=MDKSA-2002:040","kind":"vendor"},{"url":"https://www.exploit-db.com/exploits/21578","kind":"exploit"},{"url":"https://www.exploit-db.com/exploits/21579","kind":"exploit"},{"url":"http://marc.info/?l=bugtraq&m=102514371522793&w=2","kind":"other"},{"url":"http://marc.info/?l=bugtraq&m=102532054613894&w=2","kind":"other"},{"url":"http://www.osvdb.org/839","kind":"other"},{"url":"http://www.cert.org/advisories/CA-2002-18.html","kind":"other"},{"url":"http://marc.info/?l=bugtraq&m=102521542826833&w=2","kind":"other"},{"url":"http://www.securityfocus.com/bid/5093","kind":"other"},{"url":"http://www.kb.cert.org/vuls/id/369347","kind":"other"},{"url":"http://marc.info/?l=bugtraq&m=102514631524575&w=2","kind":"other"},{"url":"http://www.openwall.com/lists/oss-security/2024/07/01/3","kind":"other"}],"workarounds":null,"vendors":["openbsd"],"products":["openssh"],"cpes":["cpe:2.3:a:openbsd:openssh:1.2.2:*:*:*:*:*:*:*","cpe:2.3:a:openbsd:openssh:1.2.3:*:*:*:*:*:*:*","cpe:2.3:a:openbsd:openssh:2.1.1:*:*:*:*:*:*:*","cpe:2.3:a:openbsd:openssh:2.1:*:*:*:*:*:*:*","cpe:2.3:a:openbsd:openssh:2.2:*:*:*:*:*:*:*","cpe:2.3:a:openbsd:openssh:2.3:*:*:*:*:*:*:*","cpe:2.3:a:openbsd:openssh:2.5.1:*:*:*:*:*:*:*","cpe:2.3:a:openbsd:openssh:2.5.2:*:*:*:*:*:*:*","cpe:2.3:a:openbsd:openssh:2.5:*:*:*:*:*:*:*","cpe:2.3:a:openbsd:openssh:2.9.9:*:*:*:*:*:*:*","cpe:2.3:a:openbsd:openssh:2.9:*:*:*:*:*:*:*","cpe:2.3:a:openbsd:openssh:2.9p1:*:*:*:*:*:*:*","cpe:2.3:a:openbsd:openssh:2.9p2:*:*:*:*:*:*:*","cpe:2.3:a:openbsd:openssh:3.0.1:*:*:*:*:*:*:*","cpe:2.3:a:openbsd:openssh:3.0.1p1:*:*:*:*:*:*:*","cpe:2.3:a:openbsd:openssh:3.0.2:*:*:*:*:*:*:*","cpe:2.3:a:openbsd:openssh:3.0.2p1:*:*:*:*:*:*:*","cpe:2.3:a:openbsd:openssh:3.0:*:*:*:*:*:*:*","cpe:2.3:a:openbsd:openssh:3.0p1:*:*:*:*:*:*:*","cpe:2.3:a:openbsd:openssh:3.1:*:*:*:*:*:*:*","cpe:2.3:a:openbsd:openssh:3.1p1:*:*:*:*:*:*:*","cpe:2.3:a:openbsd:openssh:3.2.2p1:*:*:*:*:*:*:*","cpe:2.3:a:openbsd:openssh:3.2.3p1:*:*:*:*:*:*:*","cpe:2.3:a:openbsd:openssh:3.2:*:*:*:*:*:*:*","cpe:2.3:a:openbsd:openssh:3.3:*:*:*:*:*:*:*","cpe:2.3:a:openbsd:openssh:3.3p1:*:*:*:*:*:*:*"],"published_at":"2002-06-24T00:00:00.000Z","modified_at":"2026-06-16T21:57:50.567Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2002-0640"},{"source":"Exploit-DB","text":"Exploit metadata (ID and link only) from the Exploit Database","url":"https://www.exploit-db.com/exploits/21578"}],"links":{"html":"https://flawdb.com/CVE-2002-0640","markdown":"https://flawdb.com/CVE-2002-0640.md","json":"https://flawdb.com/api/v1/entries/CVE-2002-0640"}}