CVE-2024-6874

curl: libcurl's URL API function [curl_url_get()](https://curl.se/libcurl/c/curl_url_get.html) offers punycode conversions,...

CVE-2024-6874 is fixed in curl on 1 platform, first by DEBIAN-CVE-2024-6874, released July 24, 2024. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
4.3
medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0079
56th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
curl · Debian 13.5 (trixie) 8.9.0-1 DEBIAN-CVE-2024-6874 Jul 24, 2024
curl · Debian 14 8.9.0-1 DEBIAN-CVE-2024-6874 Jul 24, 2024
curl · opensuse-leap 15.6 8.14.1-150600.4.28.1 SUSE-SU-2025:03198-1 Sep 12, 2025
curl · sles 15.6 8.14.1-150600.4.28.1 SUSE-SU-2025:03198-1 Sep 12, 2025
curl · sles 15.7 8.14.1-150600.4.28.1 SUSE-SU-2025:03198-1 Sep 12, 2025

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.