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

Published Sep 13, 2023
·
Updated

Accessibility. A privacy issue was addressed with improved private data redaction for log entries.

Other sources

Accessibility. This issue was addressed with improved state management.

— Apple

Accounts. A privacy issue was addressed with improved private data redaction for log entries.

— Apple

AppleEvents. This issue was addressed with improved redaction of sensitive information.

— Apple

AppleGraphicsControl. Multiple memory corruption issues were addressed with improved input validation.

— Apple

AppleVA. The issue was addressed with improved memory handling.

— Apple

Credit

CVE-2023-38545, CVE-2023-38039, CVE-2023-38546, CVE-2023-42915, Noah Roskin-Frazee, Pr, Koh M. Nakagawa@@tsunek0h, Mickey Jin@@patch1t, Ivan Fratric(Google Project Zero), Don Clarke, Kirin@@Pwnrin, (Trend Micro Zero Day Initiative), Michael DePlante@@izobashi(Trend Micro Zero Day Initiative), Marc Newlin(SkySafe), an anonymous researcher

Affected Software

77 affected componentsFixes available
ubuntu/curl<7.88.1-8ubuntu2.2
7.88.1-8ubuntu2.2
ubuntu/curl<8.2.1-1ubuntu3
8.2.1-1ubuntu3
ubuntu/curl<8.2.1-1ubuntu3
8.2.1-1ubuntu3
Apple macOS Sonoma<14.2
14.2
Microsoft CBL Mariner 2.0 x64
Microsoft CBL Mariner 2.0 ARM
IBM QRadar WinCollect Agent<=10.0-10.1.7
Apple macOS Monterey<12.7.3
12.7.3
Apple macOS Ventura<13.6.4
13.6.4
Microsoft Windows Server 2019
Microsoft Windows Server 2019
Microsoft Windows Server 2019
Microsoft Windows Server 2019
Microsoft Windows 11=23H2
Microsoft Windows 11=22H2
Microsoft Windows 11=22H2
Microsoft Windows 11=21H2
Microsoft Windows 11=21H2
Microsoft Windows 11=23H2
Microsoft Windows 11=22H2
Microsoft Windows 11=22H2
Microsoft Windows 11=21H2
Microsoft Windows 11=21H2
Microsoft Windows 11=23H2
Microsoft Windows 11=23H2
Microsoft Windows Server 2022
Microsoft Windows Server 2022
Microsoft Windows Server 2022
Microsoft Windows Server 2022
haxx curl>=7.84.0<8.3.0
Fedoraproject Fedora=38
Apple iOS<16.7.5
16.7.5
Apple iPadOS<16.7.5
16.7.5
Microsoft Windows 10=1809
Microsoft Windows 10=1809
Microsoft Windows 10=1809
Microsoft Windows 10=22H2
Microsoft Windows 10=22H2
Microsoft Windows 10=22H2
Microsoft Windows 10=21H2
Microsoft Windows 10=21H2
Microsoft Windows 10=21H2
Microsoft Windows 10=1809
Microsoft Windows 10=1809
Microsoft Windows 10=1809
Microsoft Windows 10=22H2
Microsoft Windows 10=22H2
Microsoft Windows 10=22H2
Microsoft Windows 10=21H2
Microsoft Windows 10=21H2
Microsoft Windows 10=21H2
Fedoraproject Fedora=37
Fedoraproject Fedora=39
Microsoft Windows 10 1809<10.0.17763.5122
Microsoft Windows 10 21h2<10.0.19044.3693
Microsoft Windows 10 22h2<10.0.19045.3693
Microsoft Windows 11 21h2<10.0.22000.2600
Microsoft Windows 11 22h2<10.0.22621.2715
Microsoft Windows 11 23h2<10.0.22631.2715
Microsoft Windows Server 2019<10.0.17763.5122
Microsoft Windows Server 2022<10.0.20348.2113
redhat/libcurl<8.3.0
8.3.0
alpine/curl>=7.84.0<8.3.0-r0
8.3.0-r0
alpine/curl>=7.84.0<8.3.0-r0
8.3.0-r0
alpine/curl>=7.84.0<8.3.0-r0
8.3.0-r0
alpine/curl>=7.84.0<8.3.0-r0
8.3.0-r0
alpine/curl>=7.84.0<8.3.0-r0
8.3.0-r0
alpine/curl>=7.84.0<8.3.0-r0
8.3.0-r0
alpine/curl>=7.84.0<8.3.0-r0
8.3.0-r0
alpine/curl>=7.84.0<8.3.0-r0
8.3.0-r0
alpine/curl>=7.84.0<8.3.0-r0
8.3.0-r0
alpine/curl>=7.84.0<8.3.0-r0
8.3.0-r0
alpine/curl>=7.84.0<8.3.0-r0
8.3.0-r0
debian/curl<7.88.1-10+deb12u3
7.88.1-10+deb12u3
debian/curl<8.3.0-1
8.3.0-1
debian/curl<8.3.0-1
8.3.0-1
debian/curl
7.88.1-10+deb12u38.3.0-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/curl to a version that resolves this vulnerability.

    Fixed in 7.88.1-8ubuntu2.2
  2. Upgrade

    Upgrade ubuntu/curl to a version that resolves this vulnerability.

    Fixed in 8.2.1-1ubuntu3
  3. Upgrade

    Upgrade Apple macOS to a version that resolves this vulnerability.

    Fixed in 14.2
  4. Upgrade

    Upgrade macOS to a version that resolves this vulnerability.

    Fixed in 12.7.3
  5. Upgrade

    Upgrade macOS Ventura to a version that resolves this vulnerability.

    Fixed in 13.6.4
  6. Upgrade

    Upgrade Apple iOS and iPadOS to a version that resolves this vulnerability.

    Fixed in 16.7.5
  7. Upgrade

    Upgrade Apple iOS, iPadOS, and macOS to a version that resolves this vulnerability.

    Fixed in 16.7.5
  8. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 14.2
  9. Upgrade

    Upgrade redhat/libcurl to a version that resolves this vulnerability.

    Fixed in 8.3.0
  10. Upgrade

    Upgrade alpine/curl to a version that resolves this vulnerability.

    Fixed in 8.3.0-r0
  11. Upgrade

    Upgrade debian/curl to a version that resolves this vulnerability.

    Fixed in 7.88.1-10+deb12u3
  12. Upgrade

    Upgrade debian/curl to a version that resolves this vulnerability.

    Fixed in 8.3.0-1
  13. Upgrade

    Upgrade debian/curl to a version that resolves this vulnerability.

    Fixed in 7.88.1-10+deb12u3Fixed in 8.3.0-1
  14. Upgrade

    Upgrade curl to a version that resolves this vulnerability.

    Fixed in 8.4.0

Event History

Sep 13, 2023
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
Affected Software
Sep 15, 2023
CVE Published
via MITRE·03:21 AM
Data Sourced
via MITRE·03:21 AM
Description
Data Sourced
via OSV·04:15 AM
DescriptionSeverityAffected Software
Sep 20, 2023
Data Sourced
03:08 PM
Weakness
Oct 19, 2023
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
Affected Software
Nov 14, 2023
Data Sourced
via Microsoft·08:00 AM
DescriptionSeverityWeakness
Nov 22, 2023
Updated
via IBM·12:00 AM
Affected Software
Dec 7, 2023
Data Sourced
via Red Hat·01:55 PM
DescriptionSeverityAffected Software
Dec 11, 2023
Data Sourced
via Apple·12:00 AM
DescriptionWeaknessAffected Software
Dec 12, 2023
Updated
09:15 PM
Affected Software
Jan 22, 2024
Updated
via Apple·12:00 AM
Affected Software
Data Sourced
via NVD·07:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
via NVD·07:15 PM
Affected Software
Jan 23, 2024
Updated
via NVD·02:15 PM
Affected Software
Jan 26, 2024
Updated
via NVD·05:15 PM
Affected Software
Feb 1, 2024
Updated
via NVD·01:00 AM
Affected Software
Feb 13, 2024
Updated
via Apple·12:00 AM
Affected Software
Feb 28, 2024
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software
Updated
via IBM·12:00 AM
Affected Software
Mar 14, 2024
Updated
via IBM·12:00 AM
Affected Software
Mar 22, 2024
Updated
via Apple·12:00 AM
Affected Software
Apr 1, 2024
Updated
via NVD·03:45 PM
Affected Software
Apr 24, 2024
Updated
via Apple·12:00 AM
Affected Software
May 20, 2024
Exploit Published
via GitHub·02:52 PM
Jul 16, 2024
Updated
via Apple·12:00 AM
Affected Software
Aug 13, 2024
Updated
via Apple·12:00 AM
Affected Software
Dec 2, 2025
Updated
via NVD·08:15 PM
RemedySeverityWeaknessAffected Software
Mar 11, 2026
Updated
via Apple·12:00 AM
Affected Software
Jun 17, 2026
Updated
via NVD·06:09 AM
RemedySeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2023-38039?

CVE-2023-38039 is a vulnerability in the curl library where HTTP headers can consume all memory.

2

How does CVE-2023-38039 affect curl?

CVE-2023-38039 affects curl by allowing a malicious server to send an endless series of headers, consuming all available memory.

3

What is the severity of CVE-2023-38039?

CVE-2023-38039 has a severity rating of high (7.5).

4

How can I fix CVE-2023-38039 on Ubuntu?

To fix CVE-2023-38039 on Ubuntu, update the 'curl' package to version 7.88.1-8ubuntu2.2 or later.

5

How can I fix CVE-2023-38039 on Debian?

To fix CVE-2023-38039 on Debian, update the 'curl' package to version 7.88.1-10 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203