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

CVE-2023-38039 is fixed in 34 products on 3 platforms, first by curl 8.2.1-1ubuntu3, released September 12, 2023. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2023-38039
- Priority: High
- CVSS: 7.5 (Low)
- EPSS: 0.5621
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: yes
- Published: Sep 12, 2023
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-38039

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

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Microsoft | Windows 10 Version 1809 for 32-bit Systems | 17763.5122 | [KB5032196](https://patchblox.com/security/data/fix/microsoft/kb5032196.md) | Nov 14, 2023 |
| Microsoft | Windows 10 Version 1809 for ARM64-based Systems | 17763.5122 | [KB5032196](https://patchblox.com/security/data/fix/microsoft/kb5032196.md) | Nov 14, 2023 |
| Microsoft | Windows 10 Version 1809 for x64-based Systems | 17763.5122 | [KB5032196](https://patchblox.com/security/data/fix/microsoft/kb5032196.md) | Nov 14, 2023 |
| Microsoft | Windows 10 Version 21H2 for 32-bit Systems | 22000.2600 | [KB5032192](https://patchblox.com/security/data/fix/microsoft/kb5032192.md) | Nov 14, 2023 |
| Microsoft | Windows 10 Version 21H2 for ARM64-based Systems |  | [KB5032189](https://patchblox.com/security/data/fix/microsoft/kb5032189.md) | Nov 14, 2023 |
| Microsoft | Windows 10 Version 21H2 for x64-based Systems |  | [KB5032189](https://patchblox.com/security/data/fix/microsoft/kb5032189.md) | Nov 14, 2023 |
| Microsoft | Windows 10 Version 22H2 for 32-bit Systems |  | [KB5032189](https://patchblox.com/security/data/fix/microsoft/kb5032189.md) | Nov 14, 2023 |
| Microsoft | Windows 10 Version 22H2 for ARM64-based Systems |  | [KB5032189](https://patchblox.com/security/data/fix/microsoft/kb5032189.md) | Nov 14, 2023 |
| Microsoft | Windows 10 Version 22H2 for x64-based Systems |  | [KB5032189](https://patchblox.com/security/data/fix/microsoft/kb5032189.md) | Nov 14, 2023 |
| Microsoft | Windows 11 Version 22H2 for ARM64-based Systems |  | [KB5032190](https://patchblox.com/security/data/fix/microsoft/kb5032190.md) | Nov 14, 2023 |
| Microsoft | Windows 11 Version 22H2 for x64-based Systems |  | [KB5032190](https://patchblox.com/security/data/fix/microsoft/kb5032190.md) | Nov 14, 2023 |
| Microsoft | Windows 11 Version 23H2 for ARM64-based Systems |  | [KB5032190](https://patchblox.com/security/data/fix/microsoft/kb5032190.md) | Nov 14, 2023 |
| Microsoft | Windows 11 Version 23H2 for x64-based Systems |  | [KB5032190](https://patchblox.com/security/data/fix/microsoft/kb5032190.md) | Nov 14, 2023 |
| Microsoft | Windows 11 version 21H2 for ARM64-based Systems | 22000.2600 | [KB5032192](https://patchblox.com/security/data/fix/microsoft/kb5032192.md) | Nov 14, 2023 |
| Microsoft | Windows 11 version 21H2 for x64-based Systems | 22000.2600 | [KB5032192](https://patchblox.com/security/data/fix/microsoft/kb5032192.md) | Nov 14, 2023 |
| Microsoft | Windows Server 2019 | 17763.5122 | [KB5032196](https://patchblox.com/security/data/fix/microsoft/kb5032196.md) | Nov 14, 2023 |
| Microsoft | Windows Server 2019 (Server Core installation) | 17763.5122 | [KB5032196](https://patchblox.com/security/data/fix/microsoft/kb5032196.md) | Nov 14, 2023 |
| Microsoft | Windows Server 2022 | 20348.2113 | [KB5032198](https://patchblox.com/security/data/fix/microsoft/kb5032198.md) | Nov 14, 2023 |
| Microsoft | Windows Server 2022 (Server Core installation) | 20348.2113 | [KB5032198](https://patchblox.com/security/data/fix/microsoft/kb5032198.md) | Nov 14, 2023 |
| macOS | Monterey | 12.7.3 | [Monterey 12.7.3](https://patchblox.com/security/data/fix/macos/monterey-12.7.3.md) | Jan 22, 2024 |
| macOS | Ventura | 13.6.4 | [Ventura 13.6.4](https://patchblox.com/security/data/fix/macos/ventura-13.6.4.md) | Jan 22, 2024 |
| Linux | curl Debian 12.15 (bookworm) | 7.88.1-10+deb12u3 | [DEBIAN-CVE-2023-38039](https://patchblox.com/security/data/fix/linux/debian-cve-2023-38039.md) | Sep 15, 2023 |
| Linux | curl Debian 13.5 (trixie) | 8.3.0-1 | [DEBIAN-CVE-2023-38039](https://patchblox.com/security/data/fix/linux/debian-cve-2023-38039.md) | Sep 15, 2023 |
| Linux | curl Debian 14 | 8.3.0-1 | [DEBIAN-CVE-2023-38039](https://patchblox.com/security/data/fix/linux/debian-cve-2023-38039.md) | Sep 15, 2023 |
| Linux | curl Ubuntu 24.04.5 LTS (noble) | 8.2.1-1ubuntu3 | [curl 8.2.1-1ubuntu3](https://patchblox.com/security/data/fix/linux/ubuntu-noble-curl-8.2.1-1ubuntu3.md) | Sep 12, 2023 |
| Linux | curl amzn 2023 | 8.3.0-1.amzn2023.0.1 | [ALAS2023-2023-368](https://patchblox.com/security/data/fix/linux/alas2023-2023-368.md) | Sep 27, 2023 |
| Linux | curl-debuginfo amzn 2023 | 8.3.0-1.amzn2023.0.1 | [ALAS2023-2023-368](https://patchblox.com/security/data/fix/linux/alas2023-2023-368.md) | Sep 27, 2023 |
| Linux | curl-debugsource amzn 2023 | 8.3.0-1.amzn2023.0.1 | [ALAS2023-2023-368](https://patchblox.com/security/data/fix/linux/alas2023-2023-368.md) | Sep 27, 2023 |
| Linux | curl-minimal amzn 2023 | 8.3.0-1.amzn2023.0.1 | [ALAS2023-2023-368](https://patchblox.com/security/data/fix/linux/alas2023-2023-368.md) | Sep 27, 2023 |
| Linux | curl-minimal-debuginfo amzn 2023 | 8.3.0-1.amzn2023.0.1 | [ALAS2023-2023-368](https://patchblox.com/security/data/fix/linux/alas2023-2023-368.md) | Sep 27, 2023 |
| Linux | libcurl amzn 2023 | 8.3.0-1.amzn2023.0.1 | [ALAS2023-2023-368](https://patchblox.com/security/data/fix/linux/alas2023-2023-368.md) | Sep 27, 2023 |
| Linux | libcurl-debuginfo amzn 2023 | 8.3.0-1.amzn2023.0.1 | [ALAS2023-2023-368](https://patchblox.com/security/data/fix/linux/alas2023-2023-368.md) | Sep 27, 2023 |
| Linux | libcurl-devel amzn 2023 | 8.3.0-1.amzn2023.0.1 | [ALAS2023-2023-368](https://patchblox.com/security/data/fix/linux/alas2023-2023-368.md) | Sep 27, 2023 |
| Linux | libcurl-minimal amzn 2023 | 8.3.0-1.amzn2023.0.1 | [ALAS2023-2023-368](https://patchblox.com/security/data/fix/linux/alas2023-2023-368.md) | Sep 27, 2023 |
| Linux | libcurl-minimal-debuginfo amzn 2023 | 8.3.0-1.amzn2023.0.1 | [ALAS2023-2023-368](https://patchblox.com/security/data/fix/linux/alas2023-2023-368.md) | Sep 27, 2023 |
| Linux | libcurl3-gnutls Ubuntu 24.04.5 LTS (noble) | 8.2.1-1ubuntu3 | [libcurl3-gnutls 8.2.1-1ubuntu3](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libcurl3-gnutls-8.2.1-1ubuntu3.md) | Sep 12, 2023 |
| Linux | libcurl3-nss Ubuntu 24.04.5 LTS (noble) | 8.2.1-1ubuntu3 | [libcurl3-nss 8.2.1-1ubuntu3](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libcurl3-nss-8.2.1-1ubuntu3.md) | Sep 12, 2023 |
| Linux | libcurl4 Ubuntu 24.04.5 LTS (noble) | 8.2.1-1ubuntu3 | [libcurl4 8.2.1-1ubuntu3](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libcurl4-8.2.1-1ubuntu3.md) | Sep 12, 2023 |

---

Data as of 2026-11-09T13:31:49Z 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.
