
CVE catalog
CVE-2024-6197
curl: CVE-2024-6197
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 4.30% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | curl | sid | 8.23.0-1 | fixed |
| Debian | curl | forky | 8.22.0-1 | fixed |
| Debian | curl | trixie | 8.14.1-2+deb13u5 | fixed |
| Debian | curl | trixie-security | 8.14.1-2+deb13u7 | fixed |
| Debian | curl | bookworm | 7.88.1-10+deb12u15 | not affected |
| Debian | curl | bookworm-security | 7.88.1-10+deb12u5 | not affected |
| Alpine | curl | 3.17 | 8.9.0-r0 | fixed |
| Alpine | curl | 3.18 | 8.9.0-r0 | fixed |
| Alpine | curl | 3.19 | 8.9.0-r0 | fixed |
| Alpine | curl | 3.20 | 8.9.0-r0 | fixed |
| Alpine | curl | 3.21 | 8.9.0-r0 | fixed |
| Alpine | curl | 3.22 | 8.9.0-r0 | fixed |
| Alpine | curl | 3.23 | 8.9.0-r0 | fixed |
| Alpine | curl | 3.24 | 8.9.0-r0 | fixed |
| Opensuse | curl | tumbleweed | 8.9.0-1.1 | fixed |
| Suse | curl | linux enterprise module for basesystem 15 sp6 | 8.6.0-150600.4.3.1 | fixed |
| Opensuse | curl | leap 15.6 | 8.6.0-150600.4.3.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | curl | source | sid | 8.9.0-1 | not yet assigned | Not reported | [1076996] |
| Debian | curl | source | forky | 8.9.0-1 | not yet assigned | Not reported | [1076996] |
| Debian | curl | source | trixie | 8.9.0-1 | not yet assigned | Not reported | [1076996] |
| Debian | curl | source | bookworm | Not affected | unimportant | Not reported | [1076996] |
| Alpine | curl | apk | 3.17 | 8.9.0-r0 | Not reported | ALPINE-CVE-2024-6197 | Not reported |
| Alpine | curl | apk | 3.18 | 8.9.0-r0 | Not reported | ALPINE-CVE-2024-6197 | Not reported |
| Alpine | curl | apk | 3.19 | 8.9.0-r0 | Not reported | ALPINE-CVE-2024-6197 | Not reported |
| Alpine | curl | apk | 3.20 | 8.9.0-r0 | Not reported | ALPINE-CVE-2024-6197 | Not reported |
| Alpine | curl | apk | 3.21 | 8.9.0-r0 | Not reported | ALPINE-CVE-2024-6197 | Not reported |
| Alpine | curl | apk | 3.22 | 8.9.0-r0 | Not reported | ALPINE-CVE-2024-6197 | Not reported |
| Alpine | curl | apk | 3.23 | 8.9.0-r0 | Not reported | ALPINE-CVE-2024-6197 | Not reported |
| Alpine | curl | apk | 3.24 | 8.9.0-r0 | Not reported | ALPINE-CVE-2024-6197 | Not reported |
| Opensuse | curl | rpm | tumbleweed | 8.9.0-1.1 | Not reported | OPENSUSE-SU-2024:14225-1 | Not reported |
| Suse | curl | rpm | linux enterprise module for basesystem 15 sp6 | 8.6.0-150600.4.3.1 | Not reported | SUSE-SU-2024:2784-1 | Not reported |
| Opensuse | curl | rpm | leap 15.6 | 8.6.0-150600.4.3.1 | Not reported | SUSE-SU-2024:2784-1 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [curl]Unknown
Details (6)
7.88.1-10+deb12u15· amd64 · bookwormNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u15· arm64 · bookwormNot affected
dsa · curl · debian · bookworm
8.14.1-2+deb13u2~bpo13+1· amd64 · bookworm-backportsNot affected
dsa · curl · debian · bookworm
8.14.1-2+deb13u2~bpo13+1· arm64 · bookworm-backportsNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u5· amd64 · bookworm-securityNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u5· arm64 · bookworm-securityNot affected
dsa · curl · debian · bookworm
- [libcurl3-gnutls]Unknown
Source package: [curl]
Details (6)
7.88.1-10+deb12u15· amd64 · bookwormNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u15· arm64 · bookwormNot affected
dsa · curl · debian · bookworm
8.14.1-2+deb13u2~bpo13+1· amd64 · bookworm-backportsNot affected
dsa · curl · debian · bookworm
8.14.1-2+deb13u2~bpo13+1· arm64 · bookworm-backportsNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u5· amd64 · bookworm-securityNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u5· arm64 · bookworm-securityNot affected
dsa · curl · debian · bookworm
- [libcurl3-nss]Unknown
Source package: [curl]
Details (4)
7.88.1-10+deb12u15· amd64 · bookwormNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u15· arm64 · bookwormNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u5· amd64 · bookworm-securityNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u5· arm64 · bookworm-securityNot affected
dsa · curl · debian · bookworm
- [libcurl4]Unknown
Source package: [curl]
Details (6)
7.88.1-10+deb12u15· amd64 · bookwormNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u15· arm64 · bookwormNot affected
dsa · curl · debian · bookworm
8.14.1-2+deb13u2~bpo13+1· amd64 · bookworm-backportsNot affected
dsa · curl · debian · bookworm
8.14.1-2+deb13u2~bpo13+1· arm64 · bookworm-backportsNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u5· amd64 · bookworm-securityNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u5· arm64 · bookworm-securityNot affected
dsa · curl · debian · bookworm
- [libcurl4-doc]Unknown
Source package: [curl]
Details (6)
7.88.1-10+deb12u15· all · bookwormNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u15· all · bookwormNot affected
dsa · curl · debian · bookworm
8.14.1-2+deb13u2~bpo13+1· all · bookworm-backportsNot affected
dsa · curl · debian · bookworm
8.14.1-2+deb13u2~bpo13+1· all · bookworm-backportsNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u5· all · bookworm-securityNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u5· all · bookworm-securityNot affected
dsa · curl · debian · bookworm
- [libcurl4-gnutls-dev]Unknown
Source package: [curl]
Details (6)
7.88.1-10+deb12u15· amd64 · bookwormNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u15· arm64 · bookwormNot affected
dsa · curl · debian · bookworm
8.14.1-2+deb13u2~bpo13+1· amd64 · bookworm-backportsNot affected
dsa · curl · debian · bookworm
8.14.1-2+deb13u2~bpo13+1· arm64 · bookworm-backportsNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u5· amd64 · bookworm-securityNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u5· arm64 · bookworm-securityNot affected
dsa · curl · debian · bookworm
- [libcurl4-nss-dev]Unknown
Source package: [curl]
Details (4)
7.88.1-10+deb12u15· amd64 · bookwormNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u15· arm64 · bookwormNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u5· amd64 · bookworm-securityNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u5· arm64 · bookworm-securityNot affected
dsa · curl · debian · bookworm
- [libcurl4-openssl-dev]Unknown
Source package: [curl]
Details (6)
7.88.1-10+deb12u15· amd64 · bookwormNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u15· arm64 · bookwormNot affected
dsa · curl · debian · bookworm
8.14.1-2+deb13u2~bpo13+1· amd64 · bookworm-backportsNot affected
dsa · curl · debian · bookworm
8.14.1-2+deb13u2~bpo13+1· arm64 · bookworm-backportsNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u5· amd64 · bookworm-securityNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u5· arm64 · bookworm-securityNot affected
dsa · curl · debian · bookworm
[Debian 13 (Trixie)]
- [curl]Unknown
Details (5)
8.14.1-2+deb13u4· amd64 · trixieFixed · Fixed:
8.9.0-1dsa · curl · debian · 13
8.14.1-2+deb13u4· arm64 · trixieFixed · Fixed:
8.9.0-1dsa · curl · debian · 13
8.21.0-2~bpo13+1· amd64 · trixie-backportsFixed · Fixed:
8.9.0-1dsa · curl · debian · 13
8.21.0-2~bpo13+1· arm64 · trixie-backportsFixed · Fixed:
8.9.0-1dsa · curl · debian · 13
8.14.1-2+deb13u7· amd64 · trixie-securityFixed · Fixed:
8.9.0-1dsa · curl · debian · 13
- [libcurl3t64-gnutls]Unknown
Source package: [curl]
Details (5)
8.14.1-2+deb13u4· amd64 · trixieFixed · Fixed:
8.9.0-1dsa · curl · debian · 13
8.14.1-2+deb13u4· arm64 · trixieFixed · Fixed:
8.9.0-1dsa · curl · debian · 13
8.21.0-2~bpo13+1· amd64 · trixie-backportsFixed · Fixed:
8.9.0-1dsa · curl · debian · 13
8.21.0-2~bpo13+1· arm64 · trixie-backportsFixed · Fixed:
8.9.0-1dsa · curl · debian · 13
8.14.1-2+deb13u7· amd64 · trixie-securityFixed · Fixed:
8.9.0-1dsa · curl · debian · 13
- [libcurl4-doc]Unknown
Source package: [curl]
Details (5)
8.14.1-2+deb13u4· all · trixieFixed · Fixed:
8.9.0-1dsa · curl · debian · 13
8.14.1-2+deb13u4· all · trixieFixed · Fixed:
8.9.0-1dsa · curl · debian · 13
8.21.0-2~bpo13+1· all · trixie-backportsFixed · Fixed:
8.9.0-1dsa · curl · debian · 13
8.21.0-2~bpo13+1· all · trixie-backportsFixed · Fixed:
8.9.0-1dsa · curl · debian · 13
8.14.1-2+deb13u7· all · trixie-securityFixed · Fixed:
8.9.0-1dsa · curl · debian · 13
- [libcurl4-gnutls]Unknown
Source package: [curl]
Details (2)
8.21.0-2~bpo13+1· amd64 · trixie-backportsFixed · Fixed:
8.9.0-1dsa · curl · debian · 13
8.21.0-2~bpo13+1· arm64 · trixie-backportsFixed · Fixed:
8.9.0-1dsa · curl · debian · 13
- [libcurl4-gnutls-dev]Unknown
Source package: [curl]
Details (5)
8.14.1-2+deb13u4· amd64 · trixieFixed · Fixed:
8.9.0-1dsa · curl · debian · 13
8.14.1-2+deb13u4· arm64 · trixieFixed · Fixed:
8.9.0-1dsa · curl · debian · 13
8.21.0-2~bpo13+1· amd64 · trixie-backportsFixed · Fixed:
8.9.0-1dsa · curl · debian · 13
8.21.0-2~bpo13+1· arm64 · trixie-backportsFixed · Fixed:
8.9.0-1dsa · curl · debian · 13
8.14.1-2+deb13u7· amd64 · trixie-securityFixed · Fixed:
8.9.0-1dsa · curl · debian · 13
- [libcurl4-openssl-dev]Unknown
Source package: [curl]
Details (5)
8.14.1-2+deb13u4· amd64 · trixieFixed · Fixed:
8.9.0-1dsa · curl · debian · 13
8.14.1-2+deb13u4· arm64 · trixieFixed · Fixed:
8.9.0-1dsa · curl · debian · 13
8.21.0-2~bpo13+1· amd64 · trixie-backportsFixed · Fixed:
8.9.0-1dsa · curl · debian · 13
8.21.0-2~bpo13+1· arm64 · trixie-backportsFixed · Fixed:
8.9.0-1dsa · curl · debian · 13
8.14.1-2+deb13u7· amd64 · trixie-securityFixed · Fixed:
8.9.0-1dsa · curl · debian · 13
- [libcurl4t64]Unknown
Source package: [curl]
Details (5)
8.14.1-2+deb13u4· amd64 · trixieFixed · Fixed:
8.9.0-1dsa · curl · debian · 13
8.14.1-2+deb13u4· arm64 · trixieFixed · Fixed:
8.9.0-1dsa · curl · debian · 13
8.21.0-2~bpo13+1· amd64 · trixie-backportsFixed · Fixed:
8.9.0-1dsa · curl · debian · 13
8.21.0-2~bpo13+1· arm64 · trixie-backportsFixed · Fixed:
8.9.0-1dsa · curl · debian · 13
8.14.1-2+deb13u7· amd64 · trixie-securityFixed · Fixed:
8.9.0-1dsa · curl · debian · 13
[openSUSE Tumbleweed]
- [curl]Unknown
Source package: [curl]
Details (1)
8.21.0-1.2· x86_64 · tumbleweedFixed · Fixed:
8.9.0-1.1dsa · curl · opensuse · tumbleweed
- [curl-fish-completion]Unknown
Source package: [curl]
Details (1)
8.21.0-1.2· noarch · tumbleweedUnknown · Fixed:
8.9.0-1.1Version impact unknown
dsa · curl · opensuse · tumbleweed
- [curl-zsh-completion]Unknown
Source package: [curl]
Details (1)
8.21.0-1.2· noarch · tumbleweedUnknown · Fixed:
8.9.0-1.1Version impact unknown
dsa · curl · opensuse · tumbleweed
- [libcurl4]Unknown
Source package: [curl]
Details (1)
8.21.0-1.2· x86_64 · tumbleweedUnknown · Fixed:
8.9.0-1.1Version impact unknown
dsa · curl · opensuse · tumbleweed
- [libcurl4-32bit]Unknown
Source package: [curl]
Details (1)
8.21.0-1.2· x86_64 · tumbleweedUnknown · Fixed:
8.9.0-1.1Version impact unknown
dsa · curl · opensuse · tumbleweed
Observed:
References
- [https://cert-portal.siemens.com/productcert/csaf/ssa-355557.json]
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2024_2784-1.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2024-6197]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-6197]
- [https://osv.dev/vulnerability/SUSE-SU-2024:2784-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2024-6197]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:14225-1]
- [https://security-tracker.debian.org/tracker/CVE-2024-6197]
- [https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-6197.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-3121.json]
[CERT-Bund public advisories] · [CISA cybersecurity advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]