Vulnerability record · CVE-2023-3603 · published 21 July 2023
CVE-2023-3603: Libssh null pointer dereference vulnerability
Libssh · Libssh
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.
Description
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.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://access.redhat.com/security/cve/CVE-2023-3603 | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2221791 | Issue TrackingThird Party Advisory |
| https://access.redhat.com/security/cve/CVE-2023-3603 | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2221791 | Issue TrackingThird Party Advisory |
Track CVE-2023-3603 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2023-3603), CISA KEV, FIRST EPSS (scores of 2026-09-28). This page is refreshed as NVD updates the record.