CVE-2024-6874
MediumSummary
The curl_url_get() function in libcurl offers punycode conversions to and from IDN. When converting a name that is exactly 256 bytes, libcurl reads outside a stack-based buffer when built with the macidn IDN backend.
Risk Assessment
This may lead to data disclosure or program crash, posing a threat to stability and security of applications using libcurl.
Recommendation
Update libcurl to a patched version and avoid using the macidn backend if possible.
Original NVD description (English source)
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 conversio

