6.5
MEDIUM CVSS 3.1
CVE-2025-5449
Libssh SFTP Server Integer Overflow Denial of Service
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.

INFO

Published Date :

July 25, 2025, 6:15 p.m.

Last Modified :

Aug. 14, 2025, 12:39 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2025-5449 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Libssh libssh
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
CVSS 3.1 MEDIUM [email protected]
Solution
The libssh package is vulnerable to a denial of service; upgrading the package and applying patches are recommended to address this vulnerability.
  • Upgrade the libssh package to a non-vulnerable version.
  • Apply appropriate patches.
Public PoC/Exploit Available at Github

CVE-2025-5449 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-5449 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2025-5449 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Shell Python

Updated: 3 days, 14 hours ago
0 stars 1 fork 1 watcher
Born at : March 19, 2021, 11:41 a.m. This repo has been linked 111 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-5449 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-5449 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Aug. 14, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Added CPE Configuration OR *cpe:2.3:a:libssh:libssh:0.11.0:*:*:*:*:*:*:* *cpe:2.3:a:libssh:libssh:0.11.1:*:*:*:*:*:*:*
    Added Reference Type Red Hat, Inc.: https://access.redhat.com/security/cve/CVE-2025-5449 Types: Third Party Advisory
    Added Reference Type Red Hat, Inc.: https://bugzilla.redhat.com/show_bug.cgi?id=2369705 Types: Issue Tracking, Third Party Advisory
    Added Reference Type Red Hat, Inc.: https://git.libssh.org/projects/libssh.git/commit/?h=stable-0.11&id=261612179f740bc62ba363d98b3bd5e5573a811f Types: Patch
    Added Reference Type Red Hat, Inc.: https://git.libssh.org/projects/libssh.git/commit/?h=stable-0.11&id=3443aec90188d6aab9282afc80a81df5ab72c4da Types: Patch
    Added Reference Type Red Hat, Inc.: https://git.libssh.org/projects/libssh.git/commit/?h=stable-0.11&id=5504ff40515439a5fecbb17da7483000c4d12eb7 Types: Patch
    Added Reference Type Red Hat, Inc.: https://git.libssh.org/projects/libssh.git/commit/?h=stable-0.11&id=78485f446af9b30e37eb8f177b81940710d54496 Types: Patch
    Added Reference Type Red Hat, Inc.: https://git.libssh.org/projects/libssh.git/commit/?h=stable-0.11&id=f79ec51b7fd519dbc5737a7ba826e3ed093f6ceb Types: Patch
    Added Reference Type Red Hat, Inc.: https://www.libssh.org/security/advisories/CVE-2025-5449.txt Types: Third Party Advisory
  • New CVE Received by [email protected]

    Jul. 25, 2025

    Action Type Old Value New Value
    Added 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.
    Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
    Added CWE CWE-190
    Added Reference https://access.redhat.com/security/cve/CVE-2025-5449
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2369705
    Added Reference https://git.libssh.org/projects/libssh.git/commit/?h=stable-0.11&id=261612179f740bc62ba363d98b3bd5e5573a811f
    Added Reference https://git.libssh.org/projects/libssh.git/commit/?h=stable-0.11&id=3443aec90188d6aab9282afc80a81df5ab72c4da
    Added Reference https://git.libssh.org/projects/libssh.git/commit/?h=stable-0.11&id=5504ff40515439a5fecbb17da7483000c4d12eb7
    Added Reference https://git.libssh.org/projects/libssh.git/commit/?h=stable-0.11&id=78485f446af9b30e37eb8f177b81940710d54496
    Added Reference https://git.libssh.org/projects/libssh.git/commit/?h=stable-0.11&id=f79ec51b7fd519dbc5737a7ba826e3ed093f6ceb
    Added Reference https://www.libssh.org/security/advisories/CVE-2025-5449.txt
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 6.5
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact