Skip to content
Heist/ feed
Unrated

Net::LibSSH versions before 0.004 for Perl authenticate to an unverified server because connect never checks the host key against known_hosts

Type: advisorySource: Official CVE List1 source record

Net::LibSSH versions before 0.004 for Perl authenticate to an unverified server because connect never checks the host key against known_hosts. connect reports success as soon as ssh_connect returns SSH_OK. libssh leaves the known-hosts check to the application, and this binding never makes it, so the strict_hostkeycheck and knownhosts options are set on the session and then decide nothing. Password, agent and public-key authentication, channel and SFTP operations all run on a session whose peer was never identified, so an attacker who can redirect the connection receives the password when password authentication is used, and commands and data sent over the session.

Announced Source revision 1
Original source ↗

CVE-2026-94423

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-94423

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://github.com/Getty/p5-net-libssh",
    "modules": [
      "Net::LibSSH"
    ],
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "0.004",
        "versionType": "custom"
      }
    ],
    "packageURL": "pkg:cpan/Net-LibSSH",
    "packageName": "Net-LibSSH",
    "programFiles": [
      "LibSSH.xs"
    ],
    "collectionURL": "https://cpan.org/modules",
    "defaultStatus": "unaffected",
    "programRoutines": [
      {
        "name": "Net::LibSSH::connect"
      }
    ]
  }
]
Related CVEs
CVE-2026-94423

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#50038 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement