CVE-2024-6874 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 24, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://curl.se/docs/CVE-2024-6874.html | curl | Vendor Advisory |
| https://curl.se/docs/CVE-2024-6874.json | curl | Vendor Advisory |
| https://hackerone.com/reports/2604391 | curl | ExploitIssue TrackingTechnical Description |
| http://www.openwall.com/lists/oss-security/2024/07/24/2 | curl | Mailing ListThird Party Advisory |
| https://curl.se/docs/CVE-2024-6874.html | CVE | Vendor Advisory |
| https://curl.se/docs/CVE-2024-6874.json | CVE | Vendor Advisory |
| https://hackerone.com/reports/2604391 | CVE | ExploitIssue TrackingTechnical Description |
| https://security.netapp.com/advisory/ntap-20240822-0004/ | CVE | |
| http://www.openwall.com/lists/oss-security/2024/07/24/2 | CVE | Mailing ListThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| haxx libcurl | 8.8.0 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | curl |
| Nov 21, 2024 | CVE Modified | CVE |
| Sep 10, 2024 | Initial Analysis | [email protected] |
| Aug 1, 2024 | CVE Modified | CISA-ADP |
| Jul 24, 2024 | CVE Modified | curl |
| Jul 24, 2024 | New CVE Received | curl |