
CVE catalog
CVE-2024-6874
curl: CVE-2024-6874
- Severity
- Medium · CVSS 5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.79% · Oct 25, 2026
libcurl's URL API function [curl_url_get()](https://curl.se/libcurl/c/curl_url_get.html) offers punycode conversions, to and from IDN. Asking to convert a name that is exactly 256 bytes, libcurl ends up reading outside of a stack based buffer when built to use the *macidn* IDN backend. The conversion function then fills up the provided buffer exactly - but does not null terminate the string. This flaw can lead to stack contents accidently getting returned as part of the converted string.
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 |
| Suse | curl | linux enterprise module for basesystem 15 sp6 | 8.14.1-150600.4.28.1 | fixed |
| Suse | curl | linux enterprise module for basesystem 15 sp7 | 8.14.1-150600.4.28.1 | fixed |
| Opensuse | curl | leap 15.6 | 8.14.1-150600.4.28.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-6874 | Not reported |
| Alpine | curl | apk | 3.18 | 8.9.0-r0 | Not reported | ALPINE-CVE-2024-6874 | Not reported |
| Alpine | curl | apk | 3.19 | 8.9.0-r0 | Not reported | ALPINE-CVE-2024-6874 | Not reported |
| Alpine | curl | apk | 3.20 | 8.9.0-r0 | Not reported | ALPINE-CVE-2024-6874 | Not reported |
| Alpine | curl | apk | 3.21 | 8.9.0-r0 | Not reported | ALPINE-CVE-2024-6874 | Not reported |
| Alpine | curl | apk | 3.22 | 8.9.0-r0 | Not reported | ALPINE-CVE-2024-6874 | Not reported |
| Alpine | curl | apk | 3.23 | 8.9.0-r0 | Not reported | ALPINE-CVE-2024-6874 | Not reported |
| Alpine | curl | apk | 3.24 | 8.9.0-r0 | Not reported | ALPINE-CVE-2024-6874 | Not reported |
| Suse | curl | rpm | linux enterprise module for basesystem 15 sp6 | 8.14.1-150600.4.28.1 | Not reported | SUSE-SU-2025:03198-1 | Not reported |
| Suse | curl | rpm | linux enterprise module for basesystem 15 sp7 | 8.14.1-150600.4.28.1 | Not reported | SUSE-SU-2025:03198-1 | Not reported |
| Opensuse | curl | rpm | leap 15.6 | 8.14.1-150600.4.28.1 | Not reported | SUSE-SU-2025:03198-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
Observed:
References
- [https://cert-portal.siemens.com/productcert/csaf/ssa-355557.json]
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2025_03198-1.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2024-6874]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-6874]
- [https://osv.dev/vulnerability/SUSE-SU-2025:03198-1]
- [https://security-tracker.debian.org/tracker/CVE-2024-6874]
- [https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-6874.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-1697.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]