# CVE-2023-38039: HTTP headers eat all memory

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- 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): 56.2%, higher than 99% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-09-13T08:00:00.000Z
- Modified: 2026-10-25T01:05:01.888Z
- Also known as: CURL-CVE-2023-38039
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: hackerone

## Description

When curl retrieves an HTTP response, it stores the incoming headers so that
they can be accessed later via the libcurl headers API.

However, curl did not have a limit in how many or how large headers it would
accept in a response, allowing a malicious server to stream an endless series
of headers and eventually cause curl to run out of heap memory.

(As written by CVE List.)

## Affected

- curl curl: from 8.3.0 before 8.3.0 (not affected: from 7.84.0 before 7.84.0)
- https://github.com/curl/curl.git: from 7.84.0 before 8.3.0; from 4d94fac9f0d1dd02b8308291e4c47651142dc28b before 3ee79c1674fd6f99e8efca52cd7510e08b766770
- haxx curl: from 7.84.0 before 8.3.0
- fedoraproject fedora: 37; 38; 39
- microsoft windows_10_1809: before 10.0.17763.5122
- microsoft windows_10_21h2: before 10.0.19044.3693
- microsoft windows_10_22h2: before 10.0.19045.3693
- microsoft windows_11_21h2: before 10.0.22000.2600
- microsoft windows_11_22h2: before 10.0.22621.2715
- microsoft windows_11_23h2: before 10.0.22631.2715
- microsoft windows_server_2019: before 10.0.17763.5122
- microsoft windows_server_2022: before 10.0.20348.2113

## Every score

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

## References

- <https://hackerone.com/reports/2072338> (exploit, issue-tracking, patch, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TEAWTYHC3RT6ZRS5OZRHLAIENVN6CCIS/> (mailing-list)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5DCZMYODALBLVOXVJEN2LF2MLANEYL4F/> (mailing-list)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/M6KGKB2JNZVT276JYSKI6FV2VFJUGDOJ/> (mailing-list)
- <https://security.gentoo.org/glsa/202310-12> (third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20231013-0005/> (third-party-advisory)
- <http://seclists.org/fulldisclosure/2023/Oct/17> (mailing-list, third-party-advisory)
- <https://support.apple.com/kb/HT214036> (third-party-advisory)
- <https://www.insyde.com/security-pledge/SA-2023064> (third-party-advisory)
- <https://support.apple.com/kb/HT214063> (third-party-advisory)
- <https://support.apple.com/kb/HT214057> (third-party-advisory)
- <https://support.apple.com/kb/HT214058> (third-party-advisory)
- <http://seclists.org/fulldisclosure/2024/Jan/34> (mailing-list, third-party-advisory)
- <http://seclists.org/fulldisclosure/2024/Jan/37> (mailing-list, third-party-advisory)
- <http://seclists.org/fulldisclosure/2024/Jan/38> (mailing-list, third-party-advisory)

## Sources

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

---

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