Vulnerabilities · 2023 · Libssh
CVE-2023-3603
Libssh vulnerability
A missing allocation check in sftp server processing read requests may cause a NULL dereference on low-memory conditions. The malicious client can request up to 4GB SFTP reads, causing allocation of up to 4GB buffers, which was not being checked for failure. This will likely crash the authenticated user's sftp server connection (if implemented as forking as recommended). For thread-based servers, this might also cause DoS for legitimate users. Given this code is not in any released versions, no security releases have been issued.
Affected products
Libssh. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Libssh runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- access.redhat.com/security/cve/CVE-2023-3603 · Third Party Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2221791 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2023-3603
- cve.org/CVERecord?id=CVE-2023-3603
More vulnerabilities in Libssh products
CVE-2025-8114CVE-2025-5987CVE-2025-5449CVE-2025-5372CVE-2025-5351CVE-2025-5318CVE-2023-6918CVE-2023-6004All 26
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.