Skip to content
Heist/ feed
Back to feed
HighFix available

curl — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2024-2398

When an application tells libcurl it wants to allow HTTP/2 server push, and the amount of received headers for the push surpasses the maximum allowed limit (1000), libcurl aborts the server push. When aborting, libcurl inadvertently does not free all the previously allocated headers and instead leaks the memory. Further, this error condition fails silently and is therefore not easily detected by an application.

Products
curl
Affected 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, 7.88.1-10+deb12u3~bpo11+1, 7.88.1-10+deb12u4, 7.88.1-10+deb12u5, 7.88.1-10+deb12u5~bpo11+1, 7.88.1-10+deb12u6~bpo11+1
Fixed versions
7.88.1-10+deb12u6, 8.7.1-1
CVEs
CVE-2024-2398
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 16:18 UTC · Revision 1

Source evidence

DEBIAN-CVE-2024-2398

core-osv · Original source

Published 27 Mar 2024, 08:15 UTC

When an application tells libcurl it wants to allow HTTP/2 server push, and the amount of received headers for the push surpasses the maximum allowed limit (1000), libcurl aborts the server push. When aborting, libcurl inadvertently does not free all the previously allocated headers and instead leaks the memory. Further, this error condition fails silently and is therefore not easily detected by an application.

osv:DEBIAN-CVE-2024-2398

curl

Fixed versions: 7.88.1-10+deb12u6

curl

Fixed versions: 8.7.1-1

curl

Fixed versions: 8.7.1-1

Complete source record
{
  "id": "55ba1e5038b05650cc8ffad01d3ea04acec776af7c1d18a5be07ec144dd65e33",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2024-2398",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2024-2398",
    "summary": "When an application tells libcurl it wants to allow HTTP/2 server push, and the amount of received headers for the push surpasses the maximum allowed limit (1000), libcurl aborts the server push. When aborting, libcurl inadvertently does not free all the previously allocated headers and instead leaks the memory. Further, this error condition fails silently and is therefore not easily detected by an application.",
    "evidence": "osv:DEBIAN-CVE-2024-2398",
    "products": [
      {
        "name": {
          "value": "curl",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "7.88.1-10+deb12u6",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "7.88.1-10",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7.88.1-10+deb12u1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7.88.1-10+deb12u1~bpo11+1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7.88.1-10+deb12u2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7.88.1-10+deb12u3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7.88.1-10+deb12u3~bpo11+1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7.88.1-10+deb12u4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7.88.1-10+deb12u5",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7.88.1-10+deb12u5~bpo11+1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7.88.1-10+deb12u6~bpo11+1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "curl",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "8.7.1-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "curl",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "8.7.1-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2024-2398",
      "aliases": [
        "DEBIAN-CVE-2024-2398"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "7.88.1-10+deb12u6"
                }
              ]
            }
          ],
          "package": {
            "name": "curl",
            "purl": "pkg:deb/debian/curl?arch=source&distro=bookworm",
            "ecosystem": "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",
            "7.88.1-10+deb12u3~bpo11+1",
            "7.88.1-10+deb12u4",
            "7.88.1-10+deb12u5",
            "7.88.1-10+deb12u5~bpo11+1",
            "7.88.1-10+deb12u6~bpo11+1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-2398.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8.7.1-1"
                }
              ]
            }
          ],
          "package": {
            "name": "curl",
            "purl": "pkg:deb/debian/curl?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-2398.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8.7.1-1"
                }
              ]
            }
          ],
          "package": {
            "name": "curl",
            "purl": "pkg:deb/debian/curl?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-2398.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-15T09:47:28.715456498Z",
      "provider": "osv",
      "upstream": [
        "CVE-2024-2398"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2024-2398"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2024-2398",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 327432,
  "published_at": "2024-03-27T08:15:41.283+00:00"
}