Home / libssh / libssh / CVE-2023-3603
CVE-2023-3603: is it exploited, and which versions of libssh are affected and fixed?
CVE-2023-3603 is a NULL pointer dereference (crash) vulnerability in libssh. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:38 UTC). Affected: libssh all versions (the record names no range) (CVE record by redhat). Fixed in 0.8.9 (NVD). Severity: Low (3.1, CVSS 3.1, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:38 UTC, CVE record November 28, 2026, 19:16 UTC and NVD November 19, 2026, 07:37 UTC.
What is CVE-2023-3603?
Processing sftp server read may cause null dereference
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.
From the CVE record by redhat, last updated September 26, 2024, 20:04 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| libssh | all versions (the record names no range) | ||
| Red Hat | Red Hat Enterprise Linux 7 libssh | not stated | |
| Red Hat | Red Hat Enterprise Linux 8 libssh | not stated | |
| Red Hat | Red Hat Enterprise Linux 9 libssh | not stated | |
| Fedora | Extra Packages for Enterprise Linux 7 libssh | not stated | |
| Fedora | Fedora libssh | not stated |
As the CVE record by redhat states it, last updated September 26, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| libssh | libssh | before 0.8.9 | application |
NVD analysis (status Modified), last modified June 17, 2026, 06:14 UTC.
How severe is CVE-2023-3603?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 3.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L | redhat |
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-3603 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, September 26, 2024)
- EPSS
- 0.90% probability of exploitation activity in the next 30 days, percentile 60.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-476 NULL Pointer Dereference
Is there a workaround? (from the CVE record)
The SFTP server implementation is based on callbacks so you can rewrite the sftp_channel_default_data_callback() to provide additional checks. [1] https://gitlab.com/libssh/libssh-mirror/-/blob/master/examples/sample_sftpserver.c#L330
Where are the vendor advisories and references?
- https://access.redhat.com/security/cve/CVE-2023-3603 vdb-entry, x_refsource_REDHAT
- RHBZ#2221791 issue-tracking, x_refsource_REDHAT
Who found and reported it?
- Upstream acknowledges Wei Chong Tan as the original reporter. (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- July 10, 2023
- Published
- July 21, 2023, 19:09 UTC
- CVE record updated
- September 26, 2024, 20:04 UTC by redhat
- NVD
- Modified, last modified June 17, 2026, 06:14 UTC
- Last checked
- CVE list November 28, 2026, 19:16 UTC; NVD November 19, 2026, 07:37 UTC; KEV December 3, 2026, 09:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect libssh?
- Mar 8, 2026CVE-2026-3731 libssh: out-of-bounds read
- Jul 4, 2025CVE-2025-5351 libssh: double free
- Jul 4, 2025CVE-2025-5372 libssh: incorrect calculation
- May 26, 2023CVE-2023-2283 libssh: authentication bypass (improper authentication)
- May 26, 2023CVE-2023-1667 libssh: NULL pointer dereference (crash)
- Aug 31, 2021CVE-2021-3634 libssh: out-of-bounds write (memory corruption)
- Jul 29, 2020CVE-2020-16135 Libssh: NULL pointer dereference (crash)
- Apr 13, 2016CVE-2016-0739 Redhat Enterprise Linux: information disclosure
Questions about CVE-2023-3603
Is CVE-2023-3603 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:38 UTC. FIRST's EPSS gives it a 0.90% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of libssh are affected by CVE-2023-3603?
libssh all versions (the record names no range), per the CVE record by redhat. The tables above give every range the sources list.
Which version fixes CVE-2023-3603?
0.8.9, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-3603?
Low (3.1, CVSS 3.1, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2023-3603?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.