CVE-2024-6874

MEDIUM EPSS 51.5%
Published Jul 24, 20241y ago · Modified Jun 17, 20262w ago
4.3 CVSS 3.1
Medium
Find Similar
Published Jul 24, 2024 1y ago
Last Modified Jun 17, 2026 2w ago

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 Details

Base Score
4.3
Exploitability
2.8
Impact
1.4
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Attack Vector Network
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality Low
Integrity None
Availability None

Threat Intelligence

EPSS Exploit Probability
51.5% percentile
Exploit & Patch Status
Public Exploit Known
No Patch Available

Weaknesses 1

CWE-125 Out-of-bounds Read Memory Safety

Affected Products 1

VendorProductVersionRange
haxxlibcurl8.8.0any

References 5

  • openwall.com http://www.openwall.com/lists/oss-security/2024/07/24/2
    Mailing ListThird Party Advisory
  • curl.se https://curl.se/docs/CVE-2024-6874.html
    Vendor Advisory
  • curl.se https://curl.se/docs/CVE-2024-6874.json
    Vendor Advisory
  • hackerone.com https://hackerone.com/reports/2604391
    ExploitIssue TrackingTechnical Description
  • security.netapp.com https://security.netapp.com/advisory/ntap-20240822-0004/

Remediation

No remediation data recorded yet

Check vendor advisories and the NVD entry for patch availability.