Search

Find a vulnerability

Search criteria

    Related vulnerabilities

    UBUNTU-CVE-2023-38039 (CVE-2023-38039)

    Vulnerability from osv_ubuntu – Published: 2023-09-13 00:00 – Updated: 2026-11-24 09:56 – Source website
    VLAI
    Details

    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.

    Upstream
    Related
    Impacted products
    Ecosystem Package Version
    Ubuntu:24.04:LTS curl
    pkg:deb/ubuntu/curl@8.2.1-1ubuntu3?arch=source&distro=noble
    Affected: < 8.2.1-1ubuntu3 (ecosystem)

    {
      "affected": [
        {
          "ecosystem_specific": {
            "availability": "No subscription required",
            "binaries": [
              {
                "binary_name": "curl",
                "binary_version": "8.2.1-1ubuntu3"
              },
              {
                "binary_name": "libcurl3-gnutls",
                "binary_version": "8.2.1-1ubuntu3"
              },
              {
                "binary_name": "libcurl3-nss",
                "binary_version": "8.2.1-1ubuntu3"
              },
              {
                "binary_name": "libcurl4",
                "binary_version": "8.2.1-1ubuntu3"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:24.04:LTS",
            "name": "curl",
            "purl": "pkg:deb/ubuntu/curl@8.2.1-1ubuntu3?arch=source\u0026distro=noble"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8.2.1-1ubuntu3"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": []
        }
      ],
      "aliases": [],
      "details": "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.",
      "id": "UBUNTU-CVE-2023-38039",
      "modified": "2026-11-24T09:56:45Z",
      "published": "2023-09-13T00:00:00Z",
      "references": [
        {
          "type": "REPORT",
          "url": "https://ubuntu.com/security/CVE-2023-38039"
        },
        {
          "type": "REPORT",
          "url": "https://curl.se/docs/CVE-2023-38039.html"
        },
        {
          "type": "ADVISORY",
          "url": "https://ubuntu.com/security/notices/USN-6363-1"
        },
        {
          "type": "REPORT",
          "url": "https://www.cve.org/CVERecord?id=CVE-2023-38039"
        }
      ],
      "related": [
        "USN-6363-1"
      ],
      "schema_version": "1.9.2",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "source": "NVD",
          "type": "CVSS_V3"
        },
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        },
        {
          "score": "medium",
          "source": "SELF",
          "type": "Ubuntu"
        }
      ],
      "upstream": [
        "CVE-2023-38039"
      ]
    }