Original 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.
Affected software
- curl < 8.1.0 Fixed in: 8.1.0 exact match
Details
- Published
- 2023-05-26
- Last modified
- 2026-10-23
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N- CWE
- CWE-416
- EPSS (30-day exploit probability)
- 2.49% (percentile 85)
References
- cve.org/CVE-2023-28319
- nvd.nist.gov/vuln/detail/CVE-2023-28319
- seclists.org/fulldisclosure/2023/Jul/47
- seclists.org/fulldisclosure/2023/Jul/48
- seclists.org/fulldisclosure/2023/Jul/52
- hackerone.com/reports/1913733
- security.gentoo.org/glsa/202310-12
- security.netapp.com/advisory/ntap-20230609-0009/
- support.apple.com/kb/HT213843
- support.apple.com/kb/HT213844
- support.apple.com/kb/HT213845
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.