Live threats

All CVEs / Haxx

CVE-2024-6874Haxx Libcurl

Medium 4.3

Priority
26
CVSS 3.1
4.3
EPSS
1.1%
probability of exploitation in 30 days · percentile 64
Auth required
Yes
Published
Jul 24, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-125
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Libcurl.

Affected products (CPE)

VendorProductVersions
haxxlibcurl8.8.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.