CVE-2023-2283
No exploitation reported by the sources we read.
- Published2023-05-26
- WeaknessCWE-287
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 vulnerability was found in libssh, where the authentication check of the connecting client can be bypassed in the`pki_verify_data_signature` function in memory allocation problems. This issue may happen if there is insufficient memory or the memory usage is limited. The problem is caused by the return value `rc,` which is initialized to SSH_ERROR and later rewritten to save the return value of the function call `pki_key_check_hash_compatible.` The value of the variable is not changed between this point and the cryptographic verification. Therefore any error between them calls `goto error` returning SSH_OK.
Timeline
dates in UTC- 2023-05-2618:15CVE publishedNVD
Observed activity
isMalicious corpus · updated 2026-11-03 15:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2023-2283?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2023-2283?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.9 | ≥ 0.9.1, ≤ 0.9.6 | no fix published | NVD |
| 0.10 | ≥ 0.10.0, ≤ 0.10.4 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 8.0 | = 8.0 | no fix published | NVD |
| 9.0 | = 9.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 37.x | = 37 | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
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:22.04:LTSall versions · fixed in 0.9.6-2ubuntu0.22.04.1
- libsshUbuntu:20.04:LTSall versions · fixed in 0.9.3-2ubuntu2.3
- libsshTuxCare:CentOS:8.5all versions · fixed in 0.9.4-3.el8.tuxcare.els2and 2 other packages
- libsshTuxCare:CentOS:8.4all versions · fixed in 0.9.4-3.el8.tuxcare.els2and 2 other packages
- libsshTuxCare:AlmaLinux:9.2all versions · fixed in 0.10.4-8.el9.tuxcare.els3and 2 other packages
- libsshSUSE:Manager Server 4.3all versions · fixed in 0.9.8-150400.3.3.1
- libsshSUSE:Manager Proxy 4.3all versions · fixed in 0.9.8-150400.3.3.1
- libsshSUSE:Linux Enterprise Software Development Kit 12 SP5all versions · fixed in 0.9.8-3.12.2
42 more package ranges on OSV.dev
Vendor advisories
Red Hat Security Advisory: libssh security update
Fix
- Vendor fix Red Hat Product Security RHSA-2024:0538 · 32 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After installing these updated packages, all running applications using libssh must be restarted for this update to take effect.
Advisories and patches
- www.libssh.orgVendor Advisory
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
- NVDCVSS 3.16.5read 2026-10-23
- CNAweakness (CWE)CWE-287known since 2026-10-23
- NVDweakness (CWE)CWE-287read 2026-10-23
- FIRST EPSSEPSS score1.1 %2026-11-03
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- EUVD-2023-33789same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-h9jw-g3xj-5hwgsame flawGitHub Advisory Database · CC-BY-4.0
- ALSA-2023:3839advisory covering several CVEsAlmaLinux · MIT
- ALSA-2023:6643advisory covering several CVEsAlmaLinux · MIT
- DSA-5409-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2023-0184advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2023-1291advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2023-1305advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2023-1306advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2023-1329advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2024:12914-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2023:3839advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2023:6643advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:0538advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2023:3839advisory covering several CVEsRocky Linux · BSD-3-Clause
- SUSE-SU-2024:0140-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2024:0525-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2024:0539-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-6138-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- Published
- 2023-05-26
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-h9jw-g3xj-5hwg
Frequently asked questions
What is CVE-2023-2283?
Is CVE-2023-2283 actively exploited?
What is the CVSS score for CVE-2023-2283?
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.
- CVE-2023-48795same product
- CVE-2021-3634same product
- CVE-2025-5318same productLibssh: out-of-bounds read in sftp_handle()
- CVE-2025-5987same product
- CVE-2023-6918same product
- CVE-2023-1667same product
- CVE-2025-5449same productLibssh: integer overflow in libssh sftp server packet length validation leading to denial of service
- CVE-2026-3731same product
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-h9jw-g3xj-5hwg
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- 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