CVE-2025-5449
Libssh: integer overflow in libssh sftp server packet length validation leading to denial of service
No exploitation reported by the sources we read.
- Published2025-07-25
- WeaknessCWE-190
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2025-07-2518:15CVE publishedNVD
Observed activity
isMalicious corpus · updated 2026-11-03 21:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2025-5449?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2025-5449?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 0.11 | = 0.11.0 | no fix published | NVD |
| 0.11 | = 0.11.1 | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA8 products
As redhat, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- libsshother versions: not affectedAffected
- ≥ 0.11.0, ≤ 0.11.1no fix statedsemver
- Red Hat Enterprise Linux 10other versions: not affected
package libsshhttps://access.redhat.com/downloads/content/package-browser/
- Red Hat Enterprise Linux 6other versions: not affected
package libssh2https://access.redhat.com/downloads/content/package-browser/
- Red Hat Enterprise Linux 7other versions: not affected
package libssh2https://access.redhat.com/downloads/content/package-browser/
- Red Hat Enterprise Linux 8other versions: not affected
package libsshhttps://access.redhat.com/downloads/content/package-browser/
- Red Hat Enterprise Linux 9other versions: not affected
package libsshhttps://access.redhat.com/downloads/content/package-browser/
2 more products in the CVE record.
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-08-31
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- libsshUbuntu:24.04:LTSall versions · fixed in 0.10.6-2ubuntu0.1
- libsshUbuntu:22.04:LTSall versions · fixed in 0.9.6-2ubuntu0.22.04.4
- libsshopenSUSE:Tumbleweedall versions · fixed in 0.11.2-1.1
- libsshMinimOSall versions · fixed in 0.11.2-r0and 1 other package
- libsshMageia:9all versions · fixed in 0.10.6-1.1.mga9
- libsshDebian:14all versions · fixed in 0.11.2-1
- libsshDebian:13all versions · fixed in 0.11.2-1
- libsshAlpine:v3.24all versions · fixed in 0.11.2-r0
4 more package ranges on OSV.dev
Vendor advisories
- CVE-2025-5449 Red Hat Product Security
libssh: Integer Overflow in libssh SFTP Server Packet Length Validation Leading to Denial of Service
Fix
Advisories and patches
- git.libssh.orgPatch
- git.libssh.orgPatch
- git.libssh.orgPatch
- git.libssh.orgPatch
- git.libssh.orgPatch
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof-of-concept repositories
- none listed PoC-in-GitHub
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2025-07-25
- OpenCVESSVC decisionnone—
- CNACVSS 3.16.5known since 2026-10-23
- NVDCVSS 3.16.5read 2026-10-23
- CNAweakness (CWE)CWE-190known since 2026-10-23
- FIRST EPSSEPSS score1.0 %2026-11-03
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- EUVD-2025-22738same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-q9x7-4rf7-4xq2same flawGitHub Advisory Database · CC-BY-4.0
- JLSEC-2025-100same flawJulia Security Advisories · CC-BY-4.0
- MINI-39pq-5g6j-mg8gsame flawMinimOS · LicenseRef-unstated
- MGASA-2026-0189advisory covering several CVEsMageia · LicenseRef-unstated
- openSUSE-SU-2025:15243-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- USN-7619-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Published
- 2025-07-25
- Last Modified
- 2026-08-31
- NVD status
- Modified
- GitHub Advisory
- GHSA-q9x7-4rf7-4xq2
Frequently asked questions
What is CVE-2025-5449?
Is CVE-2025-5449 actively exploited?
What is the CVSS score for CVE-2025-5449?
Running libssh? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-q9x7-4rf7-4xq2
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0