p PatchFirst

CVE-2023-38039

CVE-2023-38039

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 7.5 · High · EPSS 56.4% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • curl

    Versions
    • ≥ 8.3.0, < 8.3.0: Affected (semver)
    • ≥ 7.84.0, < 7.84.0: Not affected (semver)

    No fix published

  • curl Debian:12

    Versions
    • 7.88.1-10
    • 7.88.1-10+deb12u1
    • 7.88.1-10+deb12u1~bpo11+1
    • 7.88.1-10+deb12u2
    • 7.88.1-10+deb12u3~bpo11+1
    Affected ranges
    • ECOSYSTEM: < 7.88.1-10+deb12u3

    Update to 7.88.1-10+deb12u3

  • curl Debian:13

    Affected ranges
    • ECOSYSTEM: < 8.3.0-1

    Update to 8.3.0-1

  • curl Debian:14

    Affected ranges
    • ECOSYSTEM: < 8.3.0-1

    Update to 8.3.0-1

  • curl Ubuntu:24.04:LTS

    Affected ranges
    • ECOSYSTEM: < 8.2.1-1ubuntu3

    Update to 8.2.1-1ubuntu3

Original sources

Check your server →