{"id":"CVE-2024-7264","summary":"ASN.1 date parser overread","details":"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.","aliases":["CURL-CVE-2024-7264"],"modified":"2026-05-17T03:54:58.794336885Z","published":"2024-07-31T08:08:14.585Z","related":["ALSA-2025:1671","ALSA-2025:1673","CGA-m2jp-pm2h-j34f","SUSE-SU-2024:2784-1","SUSE-SU-2024:2930-1","SUSE-SU-2024:2938-1","SUSE-SU-2024:3080-1","SUSE-SU-2024:3080-2","SUSE-SU-2024:3202-1","SUSE-SU-2025:20029-1","openSUSE-SU-2024:14261-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7264.json","cna_assigner":"curl"},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2024/07/31/1"},{"type":"WEB","url":"https://curl.se/docs/CVE-2024-7264.html"},{"type":"WEB","url":"https://curl.se/docs/CVE-2024-7264.json"},{"type":"WEB","url":"https://hackerone.com/reports/2629968"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7264.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7264"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20240828-0008/"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20241025-0006/"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20241025-0010/"},{"type":"FIX","url":"https://github.com/curl/curl/commit/27959ecce75cdb2809c0bdb3286e60e08fadb519"}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"}]}