# JLSEC-2026-407: 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…

- Severity: High 7.5 (CVSS:3.1, scored by Julia Security Advisories) `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
- Published: 2026-05-04T13:12:06.605Z
- Modified: 2026-07-18T00:01:56.858Z
- Related: CVE-2023-28319

## 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 Julia Security Advisories.)

## Affected

- CURL_jll (Julia): before 8.5.0+0
- LibCURL_jll (Julia): before 8.2.1+0

## References

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

## Sources

- Julia Security Advisories: [JLSEC-2026-407](https://osv.dev/vulnerability/JLSEC-2026-407), CC-BY-4.0, modified 2026-07-18

---

Page: https://cve.day/JLSEC-2026-407 · Whole record: https://cve.day/JLSEC-2026-407.json · Rebuilt by cve.day 2026-11-25T22:56:26.108Z
