Skip to main content
No exploitation reportedFix available

CVE-2024-7264

No exploitation reported by the sources we read.

  • Published2024-07-31
  • Fixed in8.9.1
  • WeaknessCWE-125

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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 application when [CURLINFO_CERTINFO](https://curl.se/libcurl/c/CURLINFO_CERTINFO.html) is used.

Timeline

dates in UTC
  1. 2024-07-3108:15CVE publishedNVD
  2. 2026-11-2712:13EPSS crossed 10 %FIRST EPSS

Versions per branch

NVD
Haxx libcurl
BranchAffectedFixed in
8.9≥ 7.32.0, < 8.9.18.9.1

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As curl, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • curlother versions: not affected
    Affected
    • ≥ 8.9.0, ≤ 8.9.0no fix statedsemver
    • ≥ 8.8.0, ≤ 8.8.0no fix statedsemver
    • ≥ 8.7.1, ≤ 8.7.1no fix statedsemver
    • ≥ 8.7.0, ≤ 8.7.0no fix statedsemver
    • ≥ 8.6.0, ≤ 8.6.0no fix statedsemver
    • ≥ 8.5.0, ≤ 8.5.0no fix statedsemver
    • ≥ 8.4.0, ≤ 8.4.0no fix statedsemver
    • ≥ 8.3.0, ≤ 8.3.0no fix statedsemver

    87 more version lines in the CVE record.

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2024-07-31

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • cmakeAzure Linux:3all versions · fixed in 3.30.3-4
  • curlWolfiall versions · fixed in 8.9.1-r0
  • curlUbuntu:Pro:18.04:LTSall versions · fixed in 7.58.0-2ubuntu3.24+esm5
  • curlUbuntu:Pro:16.04:LTSall versions · fixed in 7.47.0-1ubuntu2.19+esm13
  • curlUbuntu:Pro:14.04:LTSall versions · fixed in 7.35.0-1ubuntu2.20+esm18
  • curlUbuntu:24.04:LTSall versions · fixed in 8.5.0-2ubuntu10.2
  • curlUbuntu:22.04:LTSall versions · fixed in 7.81.0-1ubuntu1.17
  • curlUbuntu:20.04:LTSall versions · fixed in 7.68.0-1ubuntu2.23

70 more package ranges on OSV.dev

Vendor advisories

  • CVE-2024-7264 Red Hat Product Security196 products fixed · 12 known affected

    curl: libcurl: ASN.1 date parser overread

    mysql8.4 as a component of Red Hat Enterprise Linux 10 · mysql8.4-common as a component of Red Hat Enterprise Linux 10 · mysql8.4-devel as a component of Red Hat Enterprise Linux 10 · +9 more

  • ICSA-26-043-06 CISA16 known affected

    Siemens SINEC OS

    RUGGEDCOM RST2428P (6GK6242-6PA00) · SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family · SCALANCE XCH328 (6GK5328-4TS01-2EC2) · +13 more

  • SSA-089022 Siemens ProductCERT16 known affected

    SSA-089022: Multiple Vulnerabilities in Third-Party Components in SINEC OS before V3.3

    RUGGEDCOM RST2428P (6GK6242-6PA00) · SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family · SCALANCE XCH328 (6GK5328-4TS01-2EC2) · +13 more

  • ICSA-25-226-07 CISA3 known affected

    Siemens Third-Party Components in SINEC OS

    RUGGEDCOM RST2428P (6GK6242-6PA00) · SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family · SCALANCE XCM-/XRM-/XCH-/XRH-300 family

  • SSA-355557 Siemens ProductCERT3 known affected

    SSA-355557: Multiple Vulnerabilities in Third-Party Components in SINEC OS before V3.2

    RUGGEDCOM RST2428P (6GK6242-6PA00) · SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family · SCALANCE XCM-/XRM-/XCH-/XRH-300 family

  • RHSA-2025:1673 Red Hat Product Security79 products fixed

    Red Hat Security Advisory: mysql:8.0 security update

4 more advisories

Full record on NVD

Fix

  1. Update Haxx libcurl to 8.9.1
  2. Vendor fix CISA ICSA-26-043-06 · 14 productsUpdate to V3.3 or later version
  3. Vendor fix CISA ICSA-26-043-06 · 1 productSee Section Additional Information.
  4. Vendor fix Siemens ProductCERT SSA-089022 · 14 productsUpdate to V3.3 or later version
  5. Vendor fix Siemens ProductCERT SSA-089022 · 1 productSee Section Additional Information.
  6. Vendor fix CISA ICSA-25-226-07 · 2 productsUpdate to V3.2 or later version
  7. Vendor fix Siemens ProductCERT SSA-355557 · 2 productsUpdate to V3.2 or later version

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Published
2024-07-31
Last modified
2026-10-15
NVD status
Modified
GitHub advisory
GHSA-97c4-2w4v-c7r8

Frequently asked questions

What is CVE-2024-7264?

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 application when [CURLINFO_CERTINFO](https://curl.se/libcurl/c/CURLINFO_CERTINFO.html) is used.

Is CVE-2024-7264 actively exploited?

Active exploitation of CVE-2024-7264 has not been confirmed. Its EPSS score was 20.2% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2024-7264?

CVE-2024-7264 has a CVSS v3 base score of 6.5 (Medium severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.

Running curl? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record