CVE-2025-5449

Source
https://cve.org/CVERecord?id=CVE-2025-5449
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-5449.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-5449
Downstream
Related
Published
2025-07-25T17:19:39.345Z
Modified
2026-06-26T11:56:38.821801944Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Libssh: integer overflow in libssh sftp server packet length validation leading to denial of service
Details

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.

Database specific
{
    "unresolved_ranges": [
        {
            "source": "AFFECTED_FIELD",
            "extracted_events": [
                {
                    "introduced": "0.11.0"
                },
                {
                    "last_affected": "0.11.1"
                }
            ]
        }
    ],
    "cwe_ids": [
        "CWE-190"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5449.json",
    "cna_assigner": "redhat"
}
References

Affected packages

Git / gitlab.com/libssh/libssh-mirror

Affected ranges

Type
GIT
Repo
https://gitlab.com/libssh/libssh-mirror
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Last affected
Database specific
{
    "source": "CPE_STRING",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "0.11.0"
        },
        {
            "last_affected": "0.11.1"
        }
    ],
    "cpe": [
        "cpe:2.3:a:libssh:libssh:0.11.0:*:*:*:*:*:*:*",
        "cpe:2.3:a:libssh:libssh:0.11.1:*:*:*:*:*:*:*"
    ]
}

Affected versions

libssh-0.*
libssh-0.11.0
libssh-0.11.1
libssh-0.8.0
Other
release-0-3-0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-5449.json"