VULNERABILITY INTELLIGENCE
CVE-2024-6874
CVSS score4.3 MEDIUM
EPSS probability0.79%
CISA KEVNot currently listed
Published2024-07-24
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Description
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.
Weakness classification
- nvd@nist.gov: CWE-125
Primary references
- 2499f714-1537-4658-8207-48ae4bb9eae9 — Mailing List, Third Party Advisory
- 2499f714-1537-4658-8207-48ae4bb9eae9 — Vendor Advisory
- 2499f714-1537-4658-8207-48ae4bb9eae9 — Vendor Advisory
- 2499f714-1537-4658-8207-48ae4bb9eae9 — Exploit, Issue Tracking, Technical Description
- af854a3a-2127-422b-91ae-364da2661108 — Mailing List, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Vendor Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Vendor Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Issue Tracking, Technical Description
- af854a3a-2127-422b-91ae-364da2661108