All vulnerabilities

Servers and applications

CVE-2005-2666

SSH, as implemented in OpenSSH before 4.0 and possibly other implementations, stores hostnames, IP addresses, and keys in plaintext in the known_hosts file, which makes it easier for an attacker that has compromised an SSH user's account to generate a list of additional targets that are more likely to have the same password or key.

Severity
Low 1.2
Published
23 Aug 2005
Last changed
16 Jun 2026
Added to UpHeron
21 Oct 2026
Exploit chance
1.2% in the next 30 daysHigher than 68% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
CWE-255
Attack
Needs local access · Only under certain conditions · No login needed
Attacker can
Read some data
CVSS vector
AV:L/AC:H/Au:N/C:P/I:N/A:N
Sources
NVD

Affected software

SoftwareAffected versions
OpenSSHServers and applications · cpe:a:openbsd:openssh
  • Version 3.9.1p1
  • Version 3.9.1
  • Version 3.9
  • Version 3.8.1p1
All 30 release lines
  • 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
  • Version 3.4
  • Version 3.4p1
  • Version 3.5
  • Version 3.5p1
  • Version 3.6
  • Version 3.6.1
  • Version 3.6.1p1
  • Version 3.6.1p2
  • Version 3.7
  • Version 3.7.1
  • Version 3.7.1p2
  • Version 3.8
  • Version 3.8.1
  • Version 3.8.1p1
  • Version 3.9
  • Version 3.9.1
  • Version 3.9.1p1

References

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