CVE-2025-5449
Libssh: integer overflow in libssh sftp server packet length validation leading to denial of service
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
CISA's decision points: whether it is exploited, whether attacks can be automated, and how much control an attacker gets. Assessed (SSVC 2.0.3).What do these mean? →
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- libssh
From 0.11.0 · through 0.11.1
- libssh
Version range not reported
- libssh2
Version range not reported
- libssh2
Version range not reported
- libssh
Version range not reported
- libssh
Version range not reported
- openshift/ose-rhel-coreos-8
Version range not reported
- openshift/ose-rhel-coreos-9
Version range not reported
References 8
access.redhat.com
bugzilla.redhat.com
git.libssh.org
- projects/libssh.git/commit?h=stable-0.11&id=261612179f740bc62ba363d98b3bd5e5573a811f
- projects/libssh.git/commit?h=stable-0.11&id=3443aec90188d6aab9282afc80a81df5ab72c4da
- projects/libssh.git/commit?h=stable-0.11&id=5504ff40515439a5fecbb17da7483000c4d12eb7
- projects/libssh.git/commit?h=stable-0.11&id=78485f446af9b30e37eb8f177b81940710d54496
- projects/libssh.git/commit?h=stable-0.11&id=f79ec51b7fd519dbc5737a7ba826e3ed093f6ceb