CVE-2024-6197
No exploitation reported by the sources we read.
- Published2024-07-24
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
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.
Timeline
dates in UTC- 2024-07-2408:15CVE publishedNVD
Versions per branch
CISA-ADP · NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 8.x | ≥ 8.6.0, ≤ 8.8.0 | no fix published | CISA-ADP |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 8.x | ≥ 8.6.0, < 8.9.0 | 8.9.0 | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As curl, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- curlother versions: not affectedAffected
- ≥ 8.8.0, ≤ 8.8.0no fix statedsemver
- ≥ 8.7.1, ≤ 8.7.1no fix statedsemver
- ≥ 8.7.0, ≤ 8.7.0no fix statedsemver
- ≥ 8.6.0, ≤ 8.6.0no fix statedsemver
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2024-07-24
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- cmakeAzure Linux:3all versions · fixed in 3.30.3-2
- curlSUSE:Linux Micro 6.0all versions · fixed in 8.6.0-3.1
- curlSUSE:Linux Enterprise Module for Basesystem 15 SP6all versions · fixed in 8.6.0-150600.4.3.1
- curlopenSUSE:Tumbleweedall versions · fixed in 8.9.0-1.1
- curlopenSUSE:Leap 15.6all versions · fixed in 8.6.0-150600.4.3.1
- curlDebian:14all versions · fixed in 8.9.0-1
- curlDebian:13all versions · fixed in 8.9.0-1
- curlCleanStartall versions · fixed in 8.9.0-r0
14 more package ranges on OSV.dev
Vendor advisories
curl: freeing stack buffer in utf8asn1str
Siemens SINEC OS
RUGGEDCOM RST2428P (6GK6242-6PA00) · SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family · SCALANCE XCH328 (6GK5328-4TS01-2EC2) · +13 more
SSA-089022: Multiple Vulnerabilities in Third-Party Components in SINEC OS before V3.3
RUGGEDCOM RST2428P (6GK6242-6PA00) · SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family · SCALANCE XCH328 (6GK5328-4TS01-2EC2) · +13 more
Siemens Third-Party Components in SINEC OS
RUGGEDCOM RST2428P (6GK6242-6PA00) · SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family · SCALANCE XCM-/XRM-/XCH-/XRH-300 family
SSA-355557: Multiple Vulnerabilities in Third-Party Components in SINEC OS before V3.2
RUGGEDCOM RST2428P (6GK6242-6PA00) · SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family · SCALANCE XCM-/XRM-/XCH-/XRH-300 family
Red Hat Security Advisory: Red Hat JBoss Core Services Apache HTTP Server 2.4.62 security update
Fix
- Vendor fix Siemens ProductCERT SSA-089022 · 14 productsUpdate to V3.3 or later version
- Vendor fix Siemens ProductCERT SSA-089022 · 1 productSee Section Additional Information.
- Vendor fix CISA ICSA-26-043-06 · 14 productsUpdate to V3.3 or later version
- Vendor fix CISA ICSA-26-043-06 · 1 productSee Section Additional Information.
- Vendor fix Siemens ProductCERT SSA-355557 · 2 productsUpdate to V3.2 or later version
- Vendor fix CISA ICSA-25-226-07 · 2 productsUpdate to V3.2 or later version
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-12-04
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2024-07-24
- CISA-ADPCVSS 3.17.52024-07-24
- NVDCVSS 3.17.5read 2026-10-23
- FIRST EPSSEPSS score4.3 %2026-12-04
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-47023same flawAzure Linux · MIT
- AZL-47028same flawAzure Linux · MIT
- AZL-47049same flawAzure Linux · MIT
- EUVD-2024-47336same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-x3h8-3mf2-v794same flawGitHub Advisory Database · CC-BY-4.0
- JLSEC-2025-36same flawJulia Security Advisories · CC-BY-4.0
- openSUSE-SU-2024:14225-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- SUSE-SU-2024:2784-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:20029-1advisory covering several CVEsSUSE · LicenseRef-unstated
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2024-07-24
- Last modified
- 2026-06-17
- NVD status
- Modified
- GitHub advisory
- GHSA-x3h8-3mf2-v794
Frequently asked questions
What is CVE-2024-6197?
Is CVE-2024-6197 actively exploited?
What is the CVSS score for CVE-2024-6197?
Running curl? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA ICS advisories (CSAF) · Public domain (US Government work)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-x3h8-3mf2-v794
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- Siemens ProductCERT (CSAF) · TLP:WHITE (commercial use and redistribution granted)
- CISA Vulnrichment · CC0-1.0