CVE-2024-6874
Advisory lineage Upstream: 0 Downstream: 4
Modified
Published: 24 Jul 2024, 07:36
Last modified:13 Feb 2025, 17:58
Vulnerability Summary
Overall Risk (default)
medium
27/100 CVSS Score
4.3 MEDIUM
v3.1 (nvd)
EPSS Score
0.79% LOW
1% probability -0.20%
KEV
Not listed
Ransomware
No reports
Public exploits
1 found
Dark Web
Not detected
Timeline
24 Jul 2024, 07:36
Published
Vulnerability first disclosed
13 Feb 2025, 17:58
Last Modified
Vulnerability information updated
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.
CVSS Metrics
- v3.1•LOW•Score: 3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
- v3.1•MEDIUM•Score: 4.3CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS Trends
Current EPSS score: 0.79%• Percentile: 52%
Techniques & Countermeasures
- CWE-125•Out-of-bounds Read
The product reads data past the end, or before the beginning, of the intended buffer.
Affected Systems
- curl•curl
8.8.0
- haxx•libcurl
8.8.0