Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2024-7264: libcurl's ASN1 parser code has the `GTime2str()` function, used for parsing an ASN.1 Generalized Time field

52
This week
MEDIUM 6.5UPGRADE

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 score6.5 (Medium)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionRequired
EPSS exploit chance20.2% (top 3%)
CISA exploited listNo
WeaknessCWE-125
Published2024-07-31
Last modified2026-10-15
Publisher (CNA): curl · Vendor: haxx

Share: LinkedIn · X · Reddit

Last updated 2026-10-15 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

haxx libcurl UPGRADE
Affected: >= 7.32.0 and < 8.9.1
Fixed in: 8.9.1
Safe to downgrade to: a release before 7.32.0
1. Check installed version
apt-cache policy libcurl || rpm -q libcurl || libcurl --version
2. UPGRADE to 8.9.1 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade libcurl
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade libcurl
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 7.32.0 (Debian / Ubuntu)
apt-cache madison libcurl sudo apt install libcurl=<VERSION_BEFORE_7.32.0> sudo apt-mark hold libcurl
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list libcurl sudo dnf downgrade libcurl-<VERSION_BEFORE_7.32.0> sudo dnf versionlock add libcurl
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
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

curl vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.