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
- 6.5Medium
- Chance of exploitation (EPSS)
- —
- Published
- Jul 31, 2024
- In the news
- Not yet
What to do
A moderate memory read flaw in Haxx Libcurl that can be attacked over the network without logging in, if someone is tricked into an action. No attacks are reported yet; it can go in your normal patch cycle.
Action: Apply the vendor's update or follow its advisory.
Affected versions
- Curl
- 7.69.1; 7.70.0; 7.71.0; 7.71.1; 7.72.0; 7.73.0; 7.74.0; 7.75.0
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.
Affected products
Get alerts for these →Timeline 6
Latest change: Tenable Cloud Security plugin 493095: Chainguard: multiple curl packages, multiple libcurl-minimal packages: security update to 8.9.1-r0 (Dec 1, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Wed, Dec 2, 2026
- DetectionTenable Cloud Security plugin 493095: Chainguard: multiple curl packages, multiple libcurl-minimal packages: security update to 8.9.1-r0Tenable
- DetectionTenable Container Security plugin 493095: Chainguard: multiple curl packages, multiple libcurl-minimal packages: security update to 8.9.1-r0Tenable
Wed, Nov 25, 2026
Thu, Nov 5, 2026
- DetectionTenable Cloud Security plugin 478453: Echo: curl-7.69.1: security update to 7.69.1+e2curl-8.1.1: security update to 8.1.1+e2curl-8.8.0: security update to 8.8.0+e2Tenable
- DetectionTenable Container Security plugin 478453: Echo: curl-7.69.1: security update to 7.69.1+e2curl-8.1.1: security update to 8.1.1+e2curl-8.8.0: security update to 8.8.0+e2Tenable
Wed, Jul 31, 2024
- CVECVE-2024-7264 published (CVSS 6.5)CVE Program · 08:15 UTC
References 12
- curl.se Vendor Advisory /docs/CVE-2024-7264.html
- curl.se Vendor Advisory /docs/CVE-2024-7264.json
- hackerone.com Exploit /reports/2629968
- www.openwall.com /lists/oss-security/2024/07/31/1
- www.openwall.com /lists/oss-security/2024/07/31/1
- github.com /curl/curl/commit/27959ecce75cdb2809c0bdb3286e60e08fadb519
- security.netapp.com /advisory/ntap-20240828-0008/
- security.netapp.com /advisory/ntap-20241025-0006/
- security.netapp.com /advisory/ntap-20241025-0010/
- cert-portal.siemens.com /productcert/html/ssa-089022.html
- cert-portal.siemens.com /productcert/html/ssa-355557.html
- cert-portal.siemens.com /productcert/html/ssa-398330.html