# CVE-2023-28319: curl: A use after free vulnerability exists in curl <v8.1.0 in the way libcurl offers a feature to verify an SSH server's p...

CVE-2023-28319 is fixed in 10 products on 1 platform, first by DEBIAN-CVE-2023-28319, released May 26, 2023. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2023-28319
- Priority: High
- CVSS: 7.5 (high)
- EPSS: 0.0249
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 26, 2023

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

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | curl Debian 12.15 (bookworm) | 7.88.1-10 | [DEBIAN-CVE-2023-28319](https://patchblox.com/security/data/fix/linux/debian-cve-2023-28319.md) | May 26, 2023 |
| Linux | curl Debian 13.5 (trixie) | 7.88.1-10 | [DEBIAN-CVE-2023-28319](https://patchblox.com/security/data/fix/linux/debian-cve-2023-28319.md) | May 26, 2023 |
| Linux | curl Debian 14 | 7.88.1-10 | [DEBIAN-CVE-2023-28319](https://patchblox.com/security/data/fix/linux/debian-cve-2023-28319.md) | May 26, 2023 |
| Linux | curl amzn 2023 | 8.0.1-1.amzn2023.0.1 | [ALAS2023-2023-270](https://patchblox.com/security/data/fix/linux/alas2023-2023-270.md) | Jul 19, 2023 |
| Linux | curl-debuginfo amzn 2023 | 8.0.1-1.amzn2023.0.1 | [ALAS2023-2023-270](https://patchblox.com/security/data/fix/linux/alas2023-2023-270.md) | Jul 19, 2023 |
| Linux | curl-debugsource amzn 2023 | 8.0.1-1.amzn2023.0.1 | [ALAS2023-2023-270](https://patchblox.com/security/data/fix/linux/alas2023-2023-270.md) | Jul 19, 2023 |
| Linux | curl-minimal amzn 2023 | 8.0.1-1.amzn2023.0.1 | [ALAS2023-2023-270](https://patchblox.com/security/data/fix/linux/alas2023-2023-270.md) | Jul 19, 2023 |
| Linux | curl-minimal-debuginfo amzn 2023 | 8.0.1-1.amzn2023.0.1 | [ALAS2023-2023-270](https://patchblox.com/security/data/fix/linux/alas2023-2023-270.md) | Jul 19, 2023 |
| Linux | libcurl amzn 2023 | 8.0.1-1.amzn2023.0.1 | [ALAS2023-2023-270](https://patchblox.com/security/data/fix/linux/alas2023-2023-270.md) | Jul 19, 2023 |
| Linux | libcurl-debuginfo amzn 2023 | 8.0.1-1.amzn2023.0.1 | [ALAS2023-2023-270](https://patchblox.com/security/data/fix/linux/alas2023-2023-270.md) | Jul 19, 2023 |
| Linux | libcurl-devel amzn 2023 | 8.0.1-1.amzn2023.0.1 | [ALAS2023-2023-270](https://patchblox.com/security/data/fix/linux/alas2023-2023-270.md) | Jul 19, 2023 |
| Linux | libcurl-minimal amzn 2023 | 8.0.1-1.amzn2023.0.1 | [ALAS2023-2023-270](https://patchblox.com/security/data/fix/linux/alas2023-2023-270.md) | Jul 19, 2023 |
| Linux | libcurl-minimal-debuginfo amzn 2023 | 8.0.1-1.amzn2023.0.1 | [ALAS2023-2023-270](https://patchblox.com/security/data/fix/linux/alas2023-2023-270.md) | Jul 19, 2023 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
