Skip to content
Noroxi
NVD / CVE Program· CNA curl

CVE-2024-6197: freeing stack buffer in utf8asn1str

Noroxi assessment

Priority: Monitor (action score 31/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 4.2% (FIRST EPSS); higher than 91.1% of all records.
  • Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
  • According to CISA the attack is automatable: targets can be found by mass scanning.
  • Fixed version: CBL Mariner 2.0 ARM 8.8.0-2; CBL Mariner 2.0 x64 8.8.0-2; Windows 10 Version 1809 for 32-bit Systems 10.0.17763.6414.

Low priority for now. Upgrade to CBL Mariner 2.0 ARM 8.8.0-2; CBL Mariner 2.0 x64 8.8.0-2; Windows 10 Version 1809 for 32-bit Systems 10.0.17763.6414 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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.

HighCVSS 7.5 · v3.1—No exploit Fix available
Published
Jul 24, 2024
Updated
Jun 17, 2026
EPSS
4.2% · 91th percentile

Report tools

JSON

Action score

31

Monitor

Low priority for now.

CVSS
30 / 40 · 7.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 4.2%

CISA SSVC decision

Exploitation
none
Automatable
yes
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2024-6197

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
haxxlibcurl

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • haxx libcurl8.6.0 and later · before 8.9.0

Versions reported by the vendor

Affected version ranges reported by the assigning authority (curl). Independent of NVD's CPE analysis and usually ahead of it.

  • curl curl

    • 8.8.0 and later · up to and including 8.8.0affected · semver
    • 8.7.1 and later · up to and including 8.7.1affected · semver
    • 8.7.0 and later · up to and including 8.7.0affected · semver
    • 8.6.0 and later · up to and including 8.6.0affected · semver

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.17curlbefore 8.9.0-r08.9.0-r0
Debian:13curlbefore 8.9.0-18.9.0-1
openSUSE:Leap 15.6curlbefore 8.6.0-150600.4.3.18.6.0-150600.4.3.1
openSUSE:Tumbleweedcurlbefore 8.9.0-1.18.9.0-1.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6curlbefore 8.6.0-150600.4.3.18.6.0-150600.4.3.1
SUSE:Linux Micro 6.0curlbefore 8.6.0-3.18.6.0-3.1

Same product

haxx: all records

Other highest-scoring records for the same primary product.

  • CVE-2023-38545This flaw makes curl overflow a heap based buffer in the SOCKS5 proxy handshake.
    62This week
  • CVE-2019-5436A heap buffer overflow in the TFTP receiving code allows for DoS or arbitrary code execution in libcurl versions 7.19.4 through 7.64.1.
    46Plan
  • CVE-2019-3822libcurl versions from 7.36.0 to before 7.64.0 are vulnerable to a stack-based buffer overflow.
    43Plan

Published before and after this one in the same product

  • ← EarlierCVE-2023-27538Mar 30, 2023 · An authentication bypass vulnerability exists in libcurl prior to v8.0.0 where it reuses a previously established SSH connection despite the
    22Monitor
  • ← EarlierCVE-2023-38546Oct 18, 2023 · This flaw allows an attacker to insert cookies at will into a running program using libcurl, if the specific series of conditions are met.
    16Monitor
  • Later →CVE-2024-6874Jul 24, 2024 · macidn punycode buffer overread
    17Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
CBL Mariner 2.0 ARM8.8.0-2 · curlMicrosoft (MSRC)
CBL Mariner 2.0 x648.8.0-2 · curlMicrosoft (MSRC)
Windows 10 Version 1809 for 32-bit Systems10.0.17763.6414 · KB5044277Microsoft (MSRC)
Windows 10 Version 1809 for x64-based Systems10.0.17763.6414 · KB5044277Microsoft (MSRC)
Windows 10 Version 21H2 for 32-bit Systems10.0.19044.5011 · KB5044273Microsoft (MSRC)
Windows 10 Version 21H2 for ARM64-based Systems10.0.19044.5011 · KB5044273Microsoft (MSRC)
Windows 10 Version 21H2 for x64-based Systems10.0.19044.5011 · KB5044273Microsoft (MSRC)
Windows 10 Version 22H2 for 32-bit Systems10.0.19045.5011 · KB5044273Microsoft (MSRC)
Windows 10 Version 22H2 for ARM64-based Systems10.0.19045.5011 · KB5044273Microsoft (MSRC)
Windows 10 Version 22H2 for x64-based Systems10.0.19045.5011 · KB5044273Microsoft (MSRC)
Windows 11 version 21H2 for ARM64-based Systems10.0.22000.3260 · KB5044280Microsoft (MSRC)
Windows 11 version 21H2 for x64-based Systems10.0.22000.3260 · KB5044280Microsoft (MSRC)
Windows 11 Version 22H2 for ARM64-based Systems10.0.22621.4317 · KB5044285Microsoft (MSRC)
Windows 11 Version 22H2 for x64-based Systems10.0.22621.4317 · KB5044285Microsoft (MSRC)
Windows 11 Version 23H2 for ARM64-based Systems10.0.22631.4317 · KB5044285Microsoft (MSRC)
Windows 11 Version 23H2 for x64-based Systems10.0.22631.4317 · KB5044285Microsoft (MSRC)
Windows 11 Version 24H2 for ARM64-based Systems10.0.26100.2033 · KB5044284Microsoft (MSRC)
Windows 11 Version 24H2 for x64-based Systems10.0.26100.2033 · KB5044284Microsoft (MSRC)
Windows Server 201910.0.17763.6414 · KB5044277Microsoft (MSRC)
Windows Server 2019 (Server Core installation)10.0.17763.6414 · KB5044277Microsoft (MSRC)
Windows Server 202210.0.20348.2762 · KB5044281Microsoft (MSRC)
Windows Server 2022 (Server Core installation)10.0.20348.2762 · KB5044281Microsoft (MSRC)
Windows Server 2022, 23H2 Edition (Server Core installation)10.0.25398.1189 · KB5044288Microsoft (MSRC)
alpine:curl8.9.0-r0 · Alpine:v3.17Package registry (OSV)
debian:curl8.9.0-1 · Debian:13Package registry (OSV)
opensuse:curl8.6.0-150600.4.3.1 · openSUSE:Leap 15.6Package registry (OSV)
suse:curl8.6.0-150600.4.3.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP6Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

No history yet (it accumulates with the daily EPSS job).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records