Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2024-6197: Invalid Free of Stack Memory in libcurl ASN.1 Parser

Published Jul 24, 2024 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.5High · v3.1
EPSS2.2%83rd percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendors
CurlHaxx
IdentifiersCVE-2024-6197CWE-590

CVE-2024-6197 is an invalid-memory-free vulnerability in libcurl's ASN.1 parser. When utf8asn1str() encounters an invalid field while parsing an ASN.1 UTF-8 string, its error-handling path calls free() on a four-byte local stack buffer. Most modern allocators detect the invalid pointer and terminate the process. Other allocators may accept the pointer and overwrite nearby stack memory with allocator metadata. A malicious server can trigger the vulnerable path by presenting a specially crafted TLS certificate. Process termination is the most likely result; more serious consequences, including possible code execution, depend on allocator behavior and execution conditions.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

An unauthenticated remote attacker controlling a server contacted by an affected client can cause the application using libcurl to crash, resulting in denial of service. Allocators that accept the stack pointer may corrupt adjacent stack memory with pointers and flags determined by the allocator, rather than directly chosen by the attacker. Code execution is a potential outcome under special circumstances, not an established consequence on all affected systems.

Mitigation

If you can’t patch tonight, do this now.

As an interim exposure-reduction measure, restrict affected clients' connections to trusted servers and apply appropriate network access controls. This does not correct the invalid free. No specific parser-level workaround is established.

Remediation

Patch, then assume compromise.

Install vendor updates that address CVE-2024-6197 in curl/libcurl and applications that bundle the library. Specified fixed package versions include Echo curl 8.8.0+e1 or later and Google COS net-misc/curl 17800.309.7 or later; these are vendor-specific version identifiers. For Windows-bundled curl, apply the applicable October 2024 security updates or superseding updates. Affected Siemens devices running SINEC OS before V3.3 should be upgraded to V3.3 or later.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
CurlCurlapplication
HaxxLibcurlapplication
FAQ

Frequently asked questions

Is CVE-2024-6197 exploited in the wild?
As of Oct 25, 2026, Mallory has no reports of CVE-2024-6197 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2024-6197?
Yes. As of Oct 25, 2026, Mallory has reports of a public exploit for CVE-2024-6197.
Is there a patch for CVE-2024-6197?
Install vendor updates that address CVE-2024-6197 in curl/libcurl and applications that bundle the library. Specified fixed package versions include Echo curl 8.8.0+e1 or later and Google COS net-misc/curl 17800.309.7 or later; these are vendor-specific version identifiers.
What products are affected by CVE-2024-6197?
Curl and Haxx Libcurl.
How severe is CVE-2024-6197?
CVE-2024-6197 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 2.2% (83rd percentile) as of Oct 25, 2026.
Activity feed

Recent activity

11 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+4 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.