{"id":"CVE-2024-7264","published":"2024-07-31T08:08:14Z","modified":"2026-10-15T00:33:44Z","title":"ASN.1 date parser overread","vendor":"curl","product":"curl","tier":"tail","description":{"text":"libcurl's ASN1 parser code has the `GTime2str()` function, used for parsing an\nASN.1 Generalized Time field. If given an syntactically incorrect field, the\nparser might end up using -1 for the length of the *time fraction*, leading to\na `strlen()` getting performed on a pointer to a heap buffer area that is not\n(purposely) null terminated.\n\nThis flaw most likely leads to a crash, but can also lead to heap contents\ngetting returned to the application when\n[CURLINFO_CERTINFO](https://curl.se/libcurl/c/CURLINFO_CERTINFO.html) is used.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.20217,"percentile":0.97528,"provenance":"source"},"cwes":[],"references":[{"url":"https://curl.se/docs/CVE-2024-7264.json","tags":[]},{"url":"https://curl.se/docs/CVE-2024-7264.html","tags":[]},{"url":"https://hackerone.com/reports/2629968","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2024/07/31/1","tags":[]},{"url":"https://github.com/curl/curl/commit/27959ecce75cdb2809c0bdb3286e60e08fadb519","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20240828-0008/","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20241025-0010/","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20241025-0006/","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-355557.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-089022.html","tags":[]}],"priority":{"score":23.9,"factors":[{"name":"EPSS percentile","points":19.51},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"curl","affectedVersions":[{"vendor":"curl","product":"curl","versions":[">= 8.9.0, <= 8.9.0",">= 8.8.0, <= 8.8.0",">= 8.7.1, <= 8.7.1",">= 8.7.0, <= 8.7.0",">= 8.6.0, <= 8.6.0",">= 8.5.0, <= 8.5.0",">= 8.4.0, <= 8.4.0",">= 8.3.0, <= 8.3.0",">= 8.2.1, <= 8.2.1",">= 8.2.0, <= 8.2.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-08-01T20:05:41.315706Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The flaw is an out-of-bounds read in curl's libcurl ASN.1 parser, specifically in the GTime2str() function used to parse Generalized Time fields, where a syntactically malformed field can cause a strlen() call on a heap buffer that is not null-terminated. An attacker able to supply a crafted certificate, reachable over the network with low privileges and no user interaction, could trigger a likely crash, and when the application uses CURLINFO_CERTINFO, could potentially get heap contents returned to it.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:39:40Z"},"euvd":{"id":"EUVD-2024-48211","exploited":false,"provenance":"source"}}