Home / curl / curl / CVE-2024-6197
CVE-2024-6197: is it exploited, and which versions of curl are affected and fixed?
CVE-2024-6197 is a free of Memory not on the Heap vulnerability in curl. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: curl from 8.8.0 through 8.8.0, curl from 8.7.1 through 8.7.1, curl from 8.7.0 through 8.7.0 and 1 more (CVE record by curl). Fixed in 8.9.0 (NVD). Severity: High (7.5, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:28 UTC.
What is CVE-2024-6197?
freeing stack buffer in utf8asn1str
libcurl's ASN1 parser has this utf8asn1str() function used for parsing an ASN.1 UTF-8 string. Itcan detect an invalid field and return error. Unfortunately, when doing so it also invokes `free()` on a 4 byte localstack buffer. Most modern malloc implementations detect this error and immediately abort. Some however accept the input pointer and add that memory to its list of available chunks. This leads to the overwriting of nearby stack memory. The content of the overwrite is decided by the `free()` implementation; likely to be memory pointers and a set of flags. The most likely outcome of exploting this flaw is a crash, although it cannot be ruled out that more serious results can be had in special circumstances.
From the CVE record by curl, last updated February 13, 2025, 17:54 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| curl | curl | from 8.8.0 through 8.8.0 from 8.7.1 through 8.7.1 from 8.7.0 through 8.7.0 from 8.6.0 through 8.6.0 |
As the CVE record by curl states it, last updated February 13, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| haxx | libcurl | from 8.6.0 before 8.9.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 08:17 UTC.
How severe is CVE-2024-6197?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | CISA-ADP |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-6197 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, July 24, 2024)
- EPSS
- 4.30% probability of exploitation activity in the next 30 days, percentile 91.4 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-590 Free of Memory not on the Heap
Where are the vendor advisories and references?
- json
- www
- issue
- http://www.openwall.com/lists/oss-security/2024/07/24/1
- http://www.openwall.com/lists/oss-security/2024/07/24/5
- https://security.netapp.com/advisory/ntap-20241129-0008/
Who found and reported it?
- z2_ (finder)
- z2_ (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- June 20, 2024
- Published
- July 24, 2024, 07:29 UTC
- CVE record updated
- February 13, 2025, 17:54 UTC by curl
- NVD
- Modified, last modified June 17, 2026, 08:17 UTC
- Last checked
- CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:28 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect curl?
- Oct 20, 2026CVE-2026-107929 curl: exposure of Data Element to Wrong Session
- Oct 20, 2026CVE-2026-107928 curl: buffer Over-read
- Oct 20, 2026CVE-2026-94266 curl: credentials insufficiently protected
- Oct 20, 2026CVE-2026-94265 curl: information disclosure
- Oct 20, 2026CVE-2026-92391 curl: uncontrolled recursion
- Oct 20, 2026CVE-2026-92390 curl: external Control of File Name or Path
- Oct 20, 2026CVE-2026-92389 curl: information disclosure
- Oct 20, 2026CVE-2026-92388 curl: use after free
Questions about CVE-2024-6197
Is CVE-2024-6197 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 4.30% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of curl are affected by CVE-2024-6197?
curl from 8.8.0 through 8.8.0, curl from 8.7.1 through 8.7.1, curl from 8.7.0 through 8.7.0 and curl from 8.6.0 through 8.6.0, per the CVE record by curl. The tables above give every range the sources list.
Which version fixes CVE-2024-6197?
8.9.0, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-6197?
High (7.5, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2024-6197?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.