# CVE-2023-46219: curl: When saving HSTS data to an excessively long file name, curl could end up removing all contents, making subsequent re...

CVE-2023-46219 is fixed in 12 products on 1 platform, first by curl 8.5.0-2ubuntu1, released December 5, 2023. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2023-46219
- Priority: Routine
- CVSS: 5.3 (Low)
- EPSS: 0.0113
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Dec 5, 2023

## Description

When saving HSTS data to an excessively long file name, curl could end up removing all contents, making subsequent requests using that file unaware of the HSTS status they should otherwise use.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | curl Debian 12.15 (bookworm) | 7.88.1-10+deb12u5 | [DEBIAN-CVE-2023-46219](https://patchblox.com/security/data/fix/linux/debian-cve-2023-46219.md) | Dec 12, 2023 |
| Linux | curl Debian 13.5 (trixie) | 8.5.0-1 | [DEBIAN-CVE-2023-46219](https://patchblox.com/security/data/fix/linux/debian-cve-2023-46219.md) | Dec 12, 2023 |
| Linux | curl Debian 14 | 8.5.0-1 | [DEBIAN-CVE-2023-46219](https://patchblox.com/security/data/fix/linux/debian-cve-2023-46219.md) | Dec 12, 2023 |
| Linux | curl Ubuntu 24.04.5 LTS (noble) | 8.5.0-2ubuntu1 | [curl 8.5.0-2ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-curl-8.5.0-2ubuntu1.md) | Dec 5, 2023 |
| Linux | curl amzn 2023 | 8.5.0-1.amzn2023.0.1 | [ALAS2023-2024-472](https://patchblox.com/security/data/fix/linux/alas2023-2024-472.md) | Jan 3, 2024 |
| Linux | curl-debuginfo amzn 2023 | 8.5.0-1.amzn2023.0.1 | [ALAS2023-2024-472](https://patchblox.com/security/data/fix/linux/alas2023-2024-472.md) | Jan 3, 2024 |
| Linux | curl-debugsource amzn 2023 | 8.5.0-1.amzn2023.0.1 | [ALAS2023-2024-472](https://patchblox.com/security/data/fix/linux/alas2023-2024-472.md) | Jan 3, 2024 |
| Linux | curl-minimal amzn 2023 | 8.5.0-1.amzn2023.0.1 | [ALAS2023-2024-472](https://patchblox.com/security/data/fix/linux/alas2023-2024-472.md) | Jan 3, 2024 |
| Linux | curl-minimal-debuginfo amzn 2023 | 8.5.0-1.amzn2023.0.1 | [ALAS2023-2024-472](https://patchblox.com/security/data/fix/linux/alas2023-2024-472.md) | Jan 3, 2024 |
| Linux | libcurl amzn 2023 | 8.5.0-1.amzn2023.0.1 | [ALAS2023-2024-472](https://patchblox.com/security/data/fix/linux/alas2023-2024-472.md) | Jan 3, 2024 |
| Linux | libcurl-debuginfo amzn 2023 | 8.5.0-1.amzn2023.0.1 | [ALAS2023-2024-472](https://patchblox.com/security/data/fix/linux/alas2023-2024-472.md) | Jan 3, 2024 |
| Linux | libcurl-devel amzn 2023 | 8.5.0-1.amzn2023.0.1 | [ALAS2023-2024-472](https://patchblox.com/security/data/fix/linux/alas2023-2024-472.md) | Jan 3, 2024 |
| Linux | libcurl-minimal amzn 2023 | 8.5.0-1.amzn2023.0.1 | [ALAS2023-2024-472](https://patchblox.com/security/data/fix/linux/alas2023-2024-472.md) | Jan 3, 2024 |
| Linux | libcurl-minimal-debuginfo amzn 2023 | 8.5.0-1.amzn2023.0.1 | [ALAS2023-2024-472](https://patchblox.com/security/data/fix/linux/alas2023-2024-472.md) | Jan 3, 2024 |
| Linux | libcurl3-gnutls Ubuntu 24.04.5 LTS (noble) | 8.5.0-2ubuntu1 | [libcurl3-gnutls 8.5.0-2ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libcurl3-gnutls-8.5.0-2ubuntu1.md) | Dec 5, 2023 |
| Linux | libcurl4 Ubuntu 24.04.5 LTS (noble) | 8.5.0-2ubuntu1 | [libcurl4 8.5.0-2ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libcurl4-8.5.0-2ubuntu1.md) | Dec 5, 2023 |

---

Data as of 2026-11-08T19:12:23Z 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.
