Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2025-5449 — libssh

🟡 CVSS 6.5 — Medium ✅ No Known Exploit CWE-190 NVD
6.5
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

A flaw was found in the SFTP server message decoding logic of libssh. The issue occurs due to an incorrect packet length check that allows an integer overflow when handling large payload sizes on 32-bit systems. This issue leads to failed memory allocation and causes the server process to crash, resulting in a denial of service.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability high.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

  • Attack vector: Network — reachable from anywhere that can route to the service.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Privileges required: Low — an ordinary user account is enough.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Unchanged — the damage stays inside the vulnerable component.
  • Confidentiality impact: None.
  • Integrity impact: None.
  • Availability impact: High — total loss, or loss the attacker controls.

Weakness class

CVE-2025-5449 is classified as CWE-190: Integer Overflow or Wraparound. Arithmetic produces a value too large for its type and wraps around, so a later size or bounds check passes when it should not.

Affected software

CVE-2025-5449 is recorded against 1 package.

  • libssh

Timeline and source

Published on 25 July 2025 and last revised on 30 June 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.

References

access.redhat.com
bugzilla.redhat.com
git.libssh.org
git.libssh.org
git.libssh.org
git.libssh.org
git.libssh.org
www.libssh.org

Other advisories for this package

libssh has other advisories on record. If you are patching this one, these are worth checking on the same host:

Same weakness in other software

These advisories are the same class of weakness (CWE-190: Integer Overflow or Wraparound) in other software:

CVE-2025-5449 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity MEDIUM
CVSS Score 6.5
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE CWE-190
Public Exploit ✅ No
Source NVD
Published 2025-07-25
Updated 2026-08-20
Modified 2026-06-30

Affected Packages

Software From version Fixed in
libssh — —

References

Issue Tracking, Third Party Advisory https://bugzilla.redhat.com/show_bug.cgi?id=2369705

Similar Threats

Vulnerability Monitoring

Track new vulnerabilities in libssh

CVE-2025-5449 is rated CVSS 6.5 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.

Set Up Free Alerts →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2025
✓