CVE-2024-7264
MEDIUM 6.5CVSS 3.1libcurl'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 is used.
- Published
- 31 Jul 2024
- Last modified
- 15 Oct 2026
- Assigned by
- 2499f714-1537-4658-8207-48ae4bb9eae9
- NVD status
- Modified
- Weakness
- CWE-125
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | haxx | libcurlcpe:2.3:a:haxx:libcurl:*:*:*:*:*:*:*:* |
>= 7.32.0, < 8.9.1 | 8.9.1 |
References
- 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 · Exploit, Issue Tracking, Permissions Required, Third Party Advisory
- 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/
- https://cert-portal.siemens.com/productcert/html/ssa-089022.html
- https://cert-portal.siemens.com/productcert/html/ssa-355557.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 31 Jul 2024)