# CVE-2023-2283: A vulnerability was found in libssh, where the authentication check of the connecting client can be bypassed in thepkiverifydatasignature f…

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.07%, higher than 65% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-05-26T00:00:00.000Z
- Modified: 2026-06-17T05:52:11.247Z
- Weaknesses: CWE-287
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- libssh: libssh-2
- libssh libssh: from 0.9.1 up to 0.9.6; from 0.10.0 up to 0.10.4
- fedoraproject fedora: 37
- redhat enterprise_linux: 8.0; 9.0

## References

- <http://packetstormsecurity.com/files/172861/libssh-0.9.6-0.10.4-pki_verify_data_signature-Authorization-Bypass.html> (exploit)
- <https://access.redhat.com/security/cve/CVE-2023-2283> (third-party-advisory)
- <https://www.libssh.org/security/advisories/CVE-2023-2283.txt> (vendor-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2189736> (issue-tracking, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/27PD44ALQTZXX7K6JAM3BXBUHYA6DFFN/> (vendor-advisory)
- <https://security.gentoo.org/glsa/202312-05> (vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20240201-0005/>
- <http://seclists.org/fulldisclosure/2025/Feb/18>

## Sources

- CVE List: [CVE-2023-2283](https://www.cve.org/CVERecord?id=CVE-2023-2283), CVE Terms of Use, modified 2025-11-03
- NVD: [CVE-2023-2283](https://nvd.nist.gov/vuln/detail/CVE-2023-2283), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-2283 · Whole record: https://cve.day/CVE-2023-2283.json · Rebuilt by cve.day 2026-11-25T22:58:24.398Z
