cve.bz

CVE-2024-7264 haxx libcurl: Out-of-bounds Read

6.5 mediumExploit referenceEPSS 20%

Medium (6.5) in haxx libcurl. EPSS 20% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
20% (unchanged from 20% a week ago; 20% 30 days ago) estimated probability of exploitation activity in the next 30 days; 98th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-08-01. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-7264 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-7264?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-7264?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-7264 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2024-7264

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2024-7264](https://cve.bz/cve/badge/CVE-2024-7264.svg)](https://cve.bz/cve/CVE-2024-7264)

HTML:

<a href="https://cve.bz/cve/CVE-2024-7264"><img src="https://cve.bz/cve/badge/CVE-2024-7264.svg" alt="CVE-2024-7264"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
curlfrom 8.9.0 through 8.9.0
curlfrom 8.8.0 through 8.8.0
curlfrom 8.7.1 through 8.7.1
curlfrom 8.7.0 through 8.7.0
curlfrom 8.6.0 through 8.6.0
curlfrom 8.5.0 through 8.5.0
curlfrom 8.4.0 through 8.4.0
curlfrom 8.3.0 through 8.3.0
curlfrom 8.2.1 through 8.2.1
curlfrom 8.2.0 through 8.2.0
curlfrom 8.1.2 through 8.1.2
curlfrom 8.1.1 through 8.1.1
curlfrom 8.1.0 through 8.1.0
curlfrom 8.0.1 through 8.0.1
curlfrom 8.0.0 through 8.0.0
curlfrom 7.88.1 through 7.88.1
curlfrom 7.88.0 through 7.88.0
curlfrom 7.87.0 through 7.87.0
curlfrom 7.86.0 through 7.86.0
curlfrom 7.85.0 through 7.85.0
curlfrom 7.84.0 through 7.84.0
curlfrom 7.83.1 through 7.83.1
curlfrom 7.83.0 through 7.83.0
curlfrom 7.82.0 through 7.82.0
curlfrom 7.81.0 through 7.81.0
curlfrom 7.80.0 through 7.80.0
curlfrom 7.79.1 through 7.79.1
curlfrom 7.79.0 through 7.79.0
curlfrom 7.78.0 through 7.78.0
curlfrom 7.77.0 through 7.77.0
curlfrom 7.76.1 through 7.76.1
curlfrom 7.76.0 through 7.76.0
curlfrom 7.75.0 through 7.75.0
curlfrom 7.74.0 through 7.74.0
curlfrom 7.73.0 through 7.73.0
curlfrom 7.72.0 through 7.72.0
curlfrom 7.71.1 through 7.71.1
curlfrom 7.71.0 through 7.71.0
curlfrom 7.70.0 through 7.70.0
curlfrom 7.69.1 through 7.69.1
curlfrom 7.69.0 through 7.69.0
curlfrom 7.68.0 through 7.68.0
curlfrom 7.67.0 through 7.67.0
curlfrom 7.66.0 through 7.66.0
curlfrom 7.65.3 through 7.65.3
curlfrom 7.65.2 through 7.65.2
curlfrom 7.65.1 through 7.65.1
curlfrom 7.65.0 through 7.65.0
curlfrom 7.64.1 through 7.64.1
curlfrom 7.64.0 through 7.64.0
curlfrom 7.63.0 through 7.63.0
curlfrom 7.62.0 through 7.62.0
curlfrom 7.61.1 through 7.61.1
curlfrom 7.61.0 through 7.61.0
curlfrom 7.60.0 through 7.60.0
curlfrom 7.59.0 through 7.59.0
curlfrom 7.58.0 through 7.58.0
curlfrom 7.57.0 through 7.57.0
curlfrom 7.56.1 through 7.56.1
curlfrom 7.56.0 through 7.56.0
curlfrom 7.55.1 through 7.55.1
curlfrom 7.55.0 through 7.55.0
curlfrom 7.54.1 through 7.54.1
curlfrom 7.54.0 through 7.54.0
curlfrom 7.53.1 through 7.53.1
curlfrom 7.53.0 through 7.53.0
curlfrom 7.52.1 through 7.52.1
curlfrom 7.52.0 through 7.52.0
curlfrom 7.51.0 through 7.51.0
curlfrom 7.50.3 through 7.50.3
curlfrom 7.50.2 through 7.50.2
curlfrom 7.50.1 through 7.50.1
curlfrom 7.50.0 through 7.50.0
curlfrom 7.49.1 through 7.49.1
curlfrom 7.49.0 through 7.49.0
curlfrom 7.48.0 through 7.48.0
curlfrom 7.47.1 through 7.47.1
curlfrom 7.47.0 through 7.47.0
curlfrom 7.46.0 through 7.46.0
curlfrom 7.45.0 through 7.45.0
curlfrom 7.44.0 through 7.44.0
curlfrom 7.43.0 through 7.43.0
curlfrom 7.42.1 through 7.42.1
curlfrom 7.42.0 through 7.42.0
curlfrom 7.41.0 through 7.41.0
curlfrom 7.40.0 through 7.40.0
curlfrom 7.39.0 through 7.39.0
curlfrom 7.38.0 through 7.38.0
curlfrom 7.37.1 through 7.37.1
curlfrom 7.37.0 through 7.37.0
curlfrom 7.36.0 through 7.36.0
curlfrom 7.35.0 through 7.35.0
curlfrom 7.34.0 through 7.34.0
curlfrom 7.33.0 through 7.33.0
curlfrom 7.32.0 through 7.32.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12curl7.88.1-10+deb12u7DEBIAN-CVE-2024-7264
Debian13, 14curl8.9.1-1DEBIAN-CVE-2024-7264
Ubuntu20.04:LTScurl7.68.0-1ubuntu2.23UBUNTU-CVE-2024-7264 USN-6944-1
Ubuntu22.04:LTScurl7.81.0-1ubuntu1.17UBUNTU-CVE-2024-7264 USN-6944-1
Ubuntu24.04:LTScurl8.5.0-2ubuntu10.2UBUNTU-CVE-2024-7264 USN-6944-1
UbuntuPro:14.04:LTScurl7.35.0-1ubuntu2.20+esm18UBUNTU-CVE-2024-7264 USN-6944-2
UbuntuPro:16.04:LTScurl7.47.0-1ubuntu2.19+esm13UBUNTU-CVE-2024-7264 USN-6944-2
UbuntuPro:18.04:LTScurl7.58.0-2ubuntu3.24+esm5UBUNTU-CVE-2024-7264 USN-6944-2
Red Hatenterprise_linux:8::appstreammecab, mecab-devel, mecab-debuginfo and 1 more0:0.996-2.module+el8.10.0+22857+7f331eddRHSA-2025:1673
Red Hatenterprise_linux:8::appstreammecab-ipadic, mecab-ipadic-EUCJP0:2.7.0.20070801-17.module+el8.10.0+22857+7f331eddRHSA-2025:1673
Red Hatenterprise_linux:8::appstreammysql, mysql-libs, mysql-test and 10 more0:8.0.41-1.module+el8.10.0+22857+7f331eddRHSA-2025:1673
Red Hatenterprise_linux:9::appstreammysql, mysql-common, mysql-errmsg and 7 more0:8.0.41-2.el9_5RHSA-2025:1671
Red Hatenterprise_linux:9::crbmysql-libs, mysql-test, mysql-devel and 6 more0:8.0.41-2.el9_5RHSA-2025:1671
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 3 morecurl8.0.1-150400.5.47.1SUSE-SU-2024:3080-2
SUSELinux Enterprise Installer Updates 15 SP4, Linux Enterprise Installer Updates 15 SP5, Linux Enterprise Micro 5.3 and 3 morecurl8.0.1-150400.5.47.1SUSE-SU-2024:3080-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2curl7.66.0-150200.4.75.1SUSE-SU-2024:2930-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2curl7.66.0-150200.4.78.1SUSE-SU-2024:3202-1
SUSELinux Enterprise Module for Basesystem 15 SP6curl8.6.0-150600.4.3.1SUSE-SU-2024:2784-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5curl8.0.1-11.89.1SUSE-SU-2024:2938-1
SUSELinux Micro 6.0curl8.6.0-3.1SUSE-SU-2025:20029-1
openSUSELeap 15.5, Leap Micro 5.5curl8.0.1-150400.5.47.1SUSE-SU-2024:3080-1
openSUSELeap 15.6curl8.6.0-150600.4.3.1SUSE-SU-2024:2784-1
openSUSETumbleweedcurl8.9.1-1.1openSUSE-SU-2024:14261-1
AlmaLinux8mecab, mecab-devel0.996-2.module_el8.10.0+3965+b415b607ALSA-2025:1673
AlmaLinux8mecab, mecab-devel0.996-2.module_el8.6.0+3340+d764b636ALSA-2025:1673
AlmaLinux8mecab-ipadic, mecab-ipadic-EUCJP2.7.0.20070801-17.module_el8.10.0+3965+b415b607ALSA-2025:1673
AlmaLinux8mysql, mysql-libs, mysql-test and 4 more8.0.41-1.module_el8.10.0+3965+b415b607ALSA-2025:1673
AlmaLinux9mysql, mysql-libs, mysql-test and 4 more8.0.41-2.el9_5ALSA-2025:1671
Rocky Linux8mecab0:0.996-2.module+el8.10.0+1676+9b4b6e24RLSA-2025:1673
Rocky Linux8mecab-ipadic0:2.7.0.20070801-17.module+el8.10.0+1937+28fbbc83RLSA-2025:1673
Rocky Linux8mysql0:8.0.41-1.module+el8.10.0+1937+28fbbc83.0.1RLSA-2025:1673
Rocky Linux9mysql0:8.0.41-2.el9_5RLSA-2025:1671
Alpinev3.18, v3.19, v3.20 and 4 morecurl8.9.1-r0ALPINE-CVE-2024-7264
Azure Linux2rust1.68.0-1AZL-47253
Azure Linux3cmake3.30.3-4AZL-47282
Alpaquita23, streamcurl8.9.1-r0BELL-CVE-2024-7264
BellSoft Hardened Containersstreamcurl8.9.1-r0BELL-CVE-2024-7264

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Low.

Red Hat's statement

The vulnerability is classified as low severity because it primarily results in a heap buffer over-read rather than a direct memory corruption or code execution risk. Since the ASN.1 parsing occurs after a successful TLS handshake, the malformed certificate must first bypass the TLS library's validation, which significantly reduces the likelihood of exploitation.

Additionally, the impact is limited to a potential crash or unintended heap data exposure through CURLINFO_CERTINFO, but not arbitrary code execution. The requirement for a specific TLS backend configuration and the controlled nature of the memory read further minimize its exploitability.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Red Hat build of curl uses OpenSSL, which is not included in the affected list of GnuTLS, Schannel, Secure Transport and mbedTLS. Inspect which TLS backend is in use by running:

$ curl --version

Check the reference for curl handled by the maintainers which may contain more relevant information around this vulnerability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8mysql:8.0-8100020250212154709.489197e6Fixed 2025-02-19RHSA-2025:1673
Red Hat Enterprise Linux 9mysql-0:8.0.41-2.el9_5Fixed 2025-02-19RHSA-2025:1671
Red Hat OpenShift Service Mesh 2.6 for RHEL 8openshift-service-mesh/grafana-rhel8:2.6.2-3Fixed 2024-10-07RHSA-2024:7726
Red Hat OpenShift Service Mesh 2.6 for RHEL 8openshift-service-mesh/istio-cni-rhel8:2.6.2-5Fixed 2024-10-07RHSA-2024:7726
Red Hat OpenShift Service Mesh 2.6 for RHEL 8openshift-service-mesh/istio-must-gather-rhel8:2.6.2-4Fixed 2024-10-07RHSA-2024:7726
Red Hat OpenShift Service Mesh 2.6 for RHEL 8openshift-service-mesh/istio-rhel8-operator:2.6.2-5Fixed 2024-10-07RHSA-2024:7726
Red Hat OpenShift Service Mesh 2.6 for RHEL 8openshift-service-mesh/kiali-ossmc-rhel8:1.89.2-3Fixed 2024-10-07RHSA-2024:7726
Red Hat OpenShift Service Mesh 2.6 for RHEL 8openshift-service-mesh/kiali-rhel8:1.89.4-3Fixed 2024-10-07RHSA-2024:7726
Red Hat OpenShift Service Mesh 2.6 for RHEL 8openshift-service-mesh/kiali-rhel8-operator:1.89.6-1Fixed 2024-10-07RHSA-2024:7726
Red Hat OpenShift Service Mesh 2.6 for RHEL 8openshift-service-mesh/pilot-rhel8:2.6.2-5Fixed 2024-10-07RHSA-2024:7726
Red Hat Enterprise Linux 10curlFix deferred
Red Hat Enterprise Linux 10mysql8.4Affected
Red Hat Enterprise Linux 6curlFix deferred
Red Hat Enterprise Linux 6mysqlNot affected
Red Hat Enterprise Linux 7curlFix deferred
Red Hat Enterprise Linux 8curlWill not fix
Red Hat Enterprise Linux 9curlFix deferred
Red Hat JBoss Core Servicesjbcs-httpd24-curlFix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-ai-gateway-operator-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-core-bff-rhel9Under investigation
35 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-7264.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-043-06Siemens SINEC OS2026-01-28Energy, Critical Manufacturing, Transportation Systems, Water and WastewaterRUGGEDCOM RST2428P (6GK6242-6PA00), SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family, SCALANCE XCH328 (6GK5328-4TS01-2EC2) and 13 morenone listed
ICSA-25-226-07Siemens Third-Party Components in SINEC OS2025-08-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesRUGGEDCOM RST2428P (6GK6242-6PA00), SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family, SCALANCE XCM-/XRM-/XCH-/XRH-300 familynone listed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON