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.
- Published
- Jul 24, 2024
- Updated
- Jun 17, 2026
- EPSS
- 4.2% · 91th percentile
- CWE
- CWE-590
Report tools
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.
Running WordPress? Scan your site free with WP Lens
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 helpAffected 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.
| Vendor | Product | CPE |
|---|---|---|
| haxx | libcurl | cpe:2.3:a:haxx:libcurl |
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.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.17 | curl | before 8.9.0-r0 | 8.9.0-r0 |
| Debian:13 | curl | before 8.9.0-1 | 8.9.0-1 |
| openSUSE:Leap 15.6 | curl | before 8.6.0-150600.4.3.1 | 8.6.0-150600.4.3.1 |
| openSUSE:Tumbleweed | curl | before 8.9.0-1.1 | 8.9.0-1.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP6 | curl | before 8.6.0-150600.4.3.1 | 8.6.0-150600.4.3.1 |
| SUSE:Linux Micro 6.0 | curl | before 8.6.0-3.1 | 8.6.0-3.1 |
Same product
haxx: all recordsOther 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 the22Monitor
- ← 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 overread17Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| CBL Mariner 2.0 ARM | 8.8.0-2 · curl | Microsoft (MSRC) |
| CBL Mariner 2.0 x64 | 8.8.0-2 · curl | Microsoft (MSRC) |
| Windows 10 Version 1809 for 32-bit Systems | 10.0.17763.6414 · KB5044277 | Microsoft (MSRC) |
| Windows 10 Version 1809 for x64-based Systems | 10.0.17763.6414 · KB5044277 | Microsoft (MSRC) |
| Windows 10 Version 21H2 for 32-bit Systems | 10.0.19044.5011 · KB5044273 | Microsoft (MSRC) |
| Windows 10 Version 21H2 for ARM64-based Systems | 10.0.19044.5011 · KB5044273 | Microsoft (MSRC) |
| Windows 10 Version 21H2 for x64-based Systems | 10.0.19044.5011 · KB5044273 | Microsoft (MSRC) |
| Windows 10 Version 22H2 for 32-bit Systems | 10.0.19045.5011 · KB5044273 | Microsoft (MSRC) |
| Windows 10 Version 22H2 for ARM64-based Systems | 10.0.19045.5011 · KB5044273 | Microsoft (MSRC) |
| Windows 10 Version 22H2 for x64-based Systems | 10.0.19045.5011 · KB5044273 | Microsoft (MSRC) |
| Windows 11 version 21H2 for ARM64-based Systems | 10.0.22000.3260 · KB5044280 | Microsoft (MSRC) |
| Windows 11 version 21H2 for x64-based Systems | 10.0.22000.3260 · KB5044280 | Microsoft (MSRC) |
| Windows 11 Version 22H2 for ARM64-based Systems | 10.0.22621.4317 · KB5044285 | Microsoft (MSRC) |
| Windows 11 Version 22H2 for x64-based Systems | 10.0.22621.4317 · KB5044285 | Microsoft (MSRC) |
| Windows 11 Version 23H2 for ARM64-based Systems | 10.0.22631.4317 · KB5044285 | Microsoft (MSRC) |
| Windows 11 Version 23H2 for x64-based Systems | 10.0.22631.4317 · KB5044285 | Microsoft (MSRC) |
| Windows 11 Version 24H2 for ARM64-based Systems | 10.0.26100.2033 · KB5044284 | Microsoft (MSRC) |
| Windows 11 Version 24H2 for x64-based Systems | 10.0.26100.2033 · KB5044284 | Microsoft (MSRC) |
| Windows Server 2019 | 10.0.17763.6414 · KB5044277 | Microsoft (MSRC) |
| Windows Server 2019 (Server Core installation) | 10.0.17763.6414 · KB5044277 | Microsoft (MSRC) |
| Windows Server 2022 | 10.0.20348.2762 · KB5044281 | Microsoft (MSRC) |
| Windows Server 2022 (Server Core installation) | 10.0.20348.2762 · KB5044281 | Microsoft (MSRC) |
| Windows Server 2022, 23H2 Edition (Server Core installation) | 10.0.25398.1189 · KB5044288 | Microsoft (MSRC) |
| alpine:curl | 8.9.0-r0 · Alpine:v3.17 | Package registry (OSV) |
| debian:curl | 8.9.0-1 · Debian:13 | Package registry (OSV) |
| opensuse:curl | 8.6.0-150600.4.3.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| suse:curl | 8.6.0-150600.4.3.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP6 | Package 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.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- z2_finder
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
Weakness class (CWE)
CWE-590 · Free of Memory not on the HeapCVSS 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
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (4 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.