# CVE-2023-28319: UAF in SSH sha256 fingerprint check

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/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): 2.49%, higher than 85% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-05-17T08:00:00.000Z
- Modified: 2026-10-25T01:05:05.458Z
- Also known as: CURL-CVE-2023-28319
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: hackerone

## Description

A use after free vulnerability exists in curl <v8.1.0 in the way libcurl offers a feature to verify an SSH server's public key using a SHA 256 hash. When this check fails, libcurl would free the memory for the fingerprint before it returns an error message containing the (now freed) hash. This flaw risks inserting sensitive heap-based data into the error message that might be shown to users or otherwise get leaked and revealed.

(As written by CVE List.)

## Affected

- https://github.com/curl/curl: Fixed in 8.1.0
- https://github.com/curl/curl.git: from 7.81.0 before 8.1.0; from 3467e89bb97e6c87c77e82a046c59cb4b2d29a74 before 8e21b1a05f3c0ee098dbcb6c3d84cb61f102a122
- haxx curl: before 8.1.0
- apple macos: from 11.0 before 11.7.9; from 12.0 before 12.6.8; from 13.0 before 13.5
- netapp clustered_data_ontap: no versions given
- netapp ontap_antivirus_connector: no versions given
- netapp h300s_firmware: no versions given
- netapp h500s_firmware: no versions given
- netapp h700s_firmware: no versions given
- netapp h410s_firmware: no versions given

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- curl: rating Medium
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://hackerone.com/reports/1913733> (exploit, patch, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20230609-0009/> (third-party-advisory)
- <https://support.apple.com/kb/HT213843> (third-party-advisory)
- <https://support.apple.com/kb/HT213844> (third-party-advisory)
- <https://support.apple.com/kb/HT213845> (third-party-advisory)
- <http://seclists.org/fulldisclosure/2023/Jul/52> (mailing-list, third-party-advisory)
- <http://seclists.org/fulldisclosure/2023/Jul/48> (mailing-list, third-party-advisory)
- <http://seclists.org/fulldisclosure/2023/Jul/47> (mailing-list, third-party-advisory)
- <https://security.gentoo.org/glsa/202310-12> (third-party-advisory, vendor-advisory)

## Sources

- CVE List: [CVE-2023-28319](https://www.cve.org/CVERecord?id=CVE-2023-28319), CVE Terms of Use, modified 2025-01-15
- curl: [CURL-CVE-2023-28319](https://osv.dev/vulnerability/CURL-CVE-2023-28319), MIT, modified 2026-10-25
- NVD: [CVE-2023-28319](https://nvd.nist.gov/vuln/detail/CVE-2023-28319), Public domain, modified 2026-10-23

---

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