CVE-2024-7264: libcurl's ASN1 parser code has the `GTime2str()` function, used for parsing an ASN.1 Generalized Time field
CVE-2024-7264 is a medium-severity flaw (CVSS 6.5) affecting libcurl. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 applicat
Why this priority
- EPSS top 3%: very likely to be exploited
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.5 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 20.2% (top 3%) |
| CISA exploited list | No |
| Weakness | CWE-125 |
| Published | 2024-07-31 |
| Last modified | 2026-10-15 |
Last updated 2026-10-15 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-7264?
libcurl: upgrade to 8.9.1. Exact commands for each OS are on this page.
Is CVE-2024-7264 being exploited?
CVE-2024-7264 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-7264 affect?
CVE-2024-7264 affects libcurl. Severity is medium (CVSS 6.5). 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 `st
How urgent is CVE-2024-7264?
Priority 52/100. EPSS top 3%: very likely to be exploited; Public exploit reference
Software pages
Related CVEs
- CVE-2023-27535 MEDIUM 5.9 UPGRADE MITIGATE An authentication bypass vulnerability exists in libcurl <8.0.0 in the FTP connection reuse feature that can r
- CVE-2023-27536 MEDIUM 5.9 UPGRADE MITIGATE An authentication bypass vulnerability exists libcurl <8.0.0 in the connection reuse feature which can reuse p
- CVE-2023-27537 MEDIUM 5.9 DOWNGRADE MITIGATE A double free vulnerability exists in libcurl <8.0.0 when sharing HSTS data between separate "handles"
- CVE-2023-27538 MEDIUM 5.5 UPGRADE MITIGATE An authentication bypass vulnerability exists in libcurl prior to v8.0.0 where it reuses a previously establis
- CVE-2021-22945 CRITICAL 9.1 UPGRADE MITIGATE When sending data to an MQTT server, libcurl <= 7.73.0 and 7.78.0 could in some circumstances erroneously keep