# CVE-2023-46219: HSTS long filename clears contents

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

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

(As written by CVE List.)

## Affected

- curl curl: from 8.4.0 up to 8.4.0 (not affected: from 7.84.0 before 7.84.0)
- https://github.com/curl/curl.git: from 7.84.0 before 8.5.0; from 20f9dd6bae50b7223171b17ba7798946e74f877f before 73b65e94f3531179de45c6f3c836a610e3d0a846
- haxx curl: from 7.84.0 before 8.5.0
- fedoraproject fedora: 38

## Every score

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

## References

- <https://hackerone.com/reports/2236133> (exploit, third-party-advisory)
- <https://curl.se/docs/CVE-2023-46219.html> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UOGXU25FMMT2X6UUITQ7EZZYMJ42YWWD/> (third-party-advisory)
- <https://www.debian.org/security/2023/dsa-5587>
- <https://security.netapp.com/advisory/ntap-20240119-0007/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3ZX3VW67N4ACRAPMV2QS2LVYGD7H2MVE/>
- <https://cert-portal.siemens.com/productcert/html/ssa-093430.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-331112.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>

## Sources

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

---

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