Vulnerabilities · 2024 · Haxx
CVE-2024-6874
Haxx Libcurl vulnerability
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.
Affected products
Libcurl. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Haxx Libcurl runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- curl.se/docs/CVE-2024-6874.html · Vendor Advisory
- curl.se/docs/CVE-2024-6874.json · Vendor Advisory
- www.openwall.com/lists/oss-security/2024/07/24/2 · Third Party Advisory
- hackerone.com/reports/2604391 · Exploit
- security.netapp.com/advisory/ntap-20240822-0004/
- nvd.nist.gov/vuln/detail/CVE-2024-6874
- cve.org/CVERecord?id=CVE-2024-6874
More vulnerabilities in Haxx products
CVE-2025-15224CVE-2025-15079CVE-2025-14819CVE-2025-14524CVE-2025-14017CVE-2025-13034CVE-2025-10966CVE-2025-10148All 167
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.