Skip to main content
HIGH

CVE-2024-6197

CVSS v3

7.5

HIGH

EPSS Score

4.3 %

exploit probability, as of 2026-10-18

CISA KEV

No

known exploited

Exploitation

—

SSVC status

Get an alert for each new CVE published for curl.

Set up CVE WatchFree account · no credit card

Affected and fixed versions

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.

Vendor advisories

  • CVE-2024-6197 Red Hat Product Security

    curl: freeing stack buffer in utf8asn1str

  • ICSA-26-043-06 CISA16 known affected

    Siemens SINEC OS

    RUGGEDCOM RST2428P (6GK6242-6PA00) · SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family · SCALANCE XCH328 (6GK5328-4TS01-2EC2)

  • SSA-089022 Siemens ProductCERT16 known affected

    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)

  • ICSA-25-226-07 CISA3 known affected

    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 Siemens ProductCERT3 known affected

    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

  • RHSA-2025:3453 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat JBoss Core Services Apache HTTP Server 2.4.62 security update

Full record on NVD

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.

Technical details

Published
2024-07-24

Frequently asked questions

What is CVE-2024-6197?

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.

Is CVE-2024-6197 actively exploited?

Active exploitation of CVE-2024-6197 has not been confirmed. Its EPSS score was 4.3% on 2026-10-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2024-6197?

CVE-2024-6197 has a CVSS v3 base score of 7.5 (HIGH severity).

Running curl? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month