Skip to main content
VulnerabilityPublished Updated

CVE-2025-8277: libssh vulnerabilities

Affects libsshSource GCVE Database

0
Compare

Mentioned vulnerabilities

Authoritative record:CVE-2025-8277· Low 3.1

Not known to be exploited · CVSS 3.1 Low · fixed in 0.6.3-4.3ubuntu0.6+esm4 : update libssh when convenient.

Data as of 24 Nov 2026, 17:24 UTC

CVSS 3.1 base score
3.1Low
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (redhat)CVSS 3.13.1
Patch
Available – fixed in 0.6.3-4.3ubuntu0.6+esm4, 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm6, 0.9.3-2ubuntu2.5+esm3
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Sep 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade the Ubuntu libssh to 0.6.3-4.3ubuntu0.6+esm4 (package) or 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm6 (package) or 0.9.3-2ubuntu2.5+esm3 (package).

Affected software

ProductAffectedFixed in
Ubuntu Pro 20.04 LTSlibsshpkg:deb/ubuntu/libssh?arch=source&distro=esm-infra/focalOther threatsAffected
  • <0.9.3-2ubuntu2.5+esm3
Fixed in
  • 0.9.3-2ubuntu2.5+esm3
Ubuntu Pro 18.04 LTSlibsshpkg:deb/ubuntu/libssh?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <0.8.0~20170825.94fa1e38-1ubuntu0.7+esm6
Fixed in
  • 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm6
Ubuntu Pro 16.04 LTSlibsshpkg:deb/ubuntu/libssh?arch=source&distro=esm-infra/xenialOther threatsAffected
  • <0.6.3-4.3ubuntu0.6+esm4
Fixed in
  • 0.6.3-4.3ubuntu0.6+esm4

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

USN-8051-1 fixed vulnerabilities in libssh. This update provides the corresponding updates for Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu 20.04 LTS. Original advisory details: It was discovered that libssh clients incorrectly handled the key exchange process. A remote attacker could possibly use this issue to cause libssh clients to crash, resulting in a denial of service. (CVE-2025-8277) It was discovered that the libssh SCP client incorrectly sanitized paths received from servers. A remote attacker could use this issue to cause libssh SCP clients to overwrite files outside of the working directory and possibly execute arbitrary code. (CVE-2026-0964) It was discovered that libssh incorrectly handled parsing configuration files. A local attacker could possibly use this issue to cause libssh to access non-regular files, resulting in a denial of service. (CVE-2026-0965) It was discovered that libssh incorrectly handled the ssh_get_hexa() function. A remote attacker could possibly use this issue to cause libssh to crash, resulting in a denial of service. (CVE-2026-0966) It was discovered that libssh incorrectly handled certain regular expressions. A local attacker could possibly use this issue to cause libssh to consume resources, resulting in a denial of service. (CVE-2026-0967) It was discovered that the libssh SFTP client incorrectly handled certain malformed longname fields. A remote attacker could use this issue to cause libssh SFTP clients to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2026-0968)

References

Community reviews

Loading reviews…