Vulnerability record · CVE-2024-7264 · published 31 July 2024
CVE-2024-7264: Haxx libcurl out-of-bounds read vulnerability
Haxx · Libcurl
libcurl's ASN1 parser code has the `GTime2str()` function, used for parsing an ASN.1 Generalized Time field. If given an syntactically incorrect field, the parser might end up using -1 for the length of the *time fraction*, leading to a `strlen()` getting performed on a pointer to a heap buffer area that is not (purposely) null terminated. This flaw most likely leads to a crash, but can also lead to heap contents getting returned to the application when [CURLINFO_CERTINFO](https://curl.se/libcurl/c/CURLINFO_CERTINFO.html) is used.
Description
libcurl's ASN1 parser code has the `GTime2str()` function, used for parsing an ASN.1 Generalized Time field. If given an syntactically incorrect field, the parser might end up using -1 for the length of the *time fraction*, leading to a `strlen()` getting performed on a pointer to a heap buffer area that is not (purposely) null terminated. This flaw most likely leads to a crash, but can also lead to heap contents getting returned to the application when [CURLINFO_CERTINFO](https://curl.se/libcurl/c/CURLINFO_CERTINFO.html) is used.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://www.openwall.com/lists/oss-security/2024/07/31/1 | Mailing List |
| https://curl.se/docs/CVE-2024-7264.html | Vendor Advisory |
| https://curl.se/docs/CVE-2024-7264.json | Vendor Advisory |
| https://hackerone.com/reports/2629968 | ExploitIssue TrackingPermissions RequiredThird Party Advisory |
| http://www.openwall.com/lists/oss-security/2024/07/31/1 | Mailing List |
| https://github.com/curl/curl/commit/27959ecce75cdb2809c0bdb3286e60e08fadb519 | |
| https://security.netapp.com/advisory/ntap-20240828-0008/ | |
| https://security.netapp.com/advisory/ntap-20241025-0006/ | |
| https://security.netapp.com/advisory/ntap-20241025-0010/ |
Track CVE-2024-7264 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2024-7264), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.