CVEfocus › CVE database › CVE-2024-7264

CVE-2024-7264ASN.1 date parser overread

CVSS 6.3 MediumEPSS 20.2% (higher than 98% of CVEs)Published 2024-07-31Updated 2026-10-15Assigner: curl

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.

What to do

Likely to be exploited: EPSS gives a 20% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

53Fixed
11Fix pending
27Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04curlFixed8.5.0-2ubuntu10.2UBUNTU-CVE-2024-7264
Ubuntu 22.04curlFixed7.81.0-1ubuntu1.17UBUNTU-CVE-2024-7264
Ubuntu 20.04curlFixed7.68.0-1ubuntu2.23UBUNTU-CVE-2024-7264
Ubuntu 18.04curlFix pending7.58.0-2ubuntu3.24+esm5 (Ubuntu Pro)UBUNTU-CVE-2024-7264
Ubuntu 16.04curlFix pending7.47.0-1ubuntu2.19+esm13 (Ubuntu Pro)UBUNTU-CVE-2024-7264
Ubuntu 14.04curlFix pending7.35.0-1ubuntu2.20+esm18 (Ubuntu Pro)UBUNTU-CVE-2024-7264
Debian 14curlFixed8.9.1-1DEBIAN-CVE-2024-7264
Debian 13curlFixed8.9.1-1DEBIAN-CVE-2024-7264
Debian 12curlFixed7.88.1-10+deb12u7DEBIAN-CVE-2024-7264
Red Hat Enterprise Linux 10curlNot affected
Red Hat Enterprise Linux 10libcurlNot affected
Red Hat Enterprise Linux 10libcurl-develNot affected
Red Hat Enterprise Linux 10libcurl-minimalNot affected
Red Hat Enterprise Linux 10mysql8.4Fix pending
Affected
Red Hat Enterprise Linux 10mysql8.4-commonFix pending
Affected
Red Hat Enterprise Linux 10mysql8.4-develFix pending
Affected
Red Hat Enterprise Linux 10mysql8.4-errmsgFix pending
Affected
Red Hat Enterprise Linux 10mysql8.4-libsFix pending
Affected
Red Hat Enterprise Linux 10mysql8.4-serverFix pending
Affected
Red Hat Enterprise Linux 10mysql8.4-testFix pending
Affected
Red Hat Enterprise Linux 10mysql8.4-test-dataFix pending
Affected
Red Hat Enterprise Linux 9curlNot affected
Red Hat Enterprise Linux 9curl-minimalNot affected
Red Hat Enterprise Linux 9libcurlNot affected
Red Hat Enterprise Linux 9libcurl-develNot affected
Red Hat Enterprise Linux 9libcurl-minimalNot affected
Red Hat Enterprise Linux 9mysqlFixed0:8.0.41-2.el9_5RHSA-2025:1671
Red Hat Enterprise Linux 9mysql-commonFixed0:8.0.41-2.el9_5RHSA-2025:1671
Red Hat Enterprise Linux 9mysql-develFixed0:8.0.41-2.el9_5RHSA-2025:1671
Red Hat Enterprise Linux 9mysql-errmsgFixed0:8.0.41-2.el9_5RHSA-2025:1671
Red Hat Enterprise Linux 9mysql-libsFixed0:8.0.41-2.el9_5RHSA-2025:1671
Red Hat Enterprise Linux 9mysql-serverFixed0:8.0.41-2.el9_5RHSA-2025:1671
Red Hat Enterprise Linux 9mysql-testFixed0:8.0.41-2.el9_5RHSA-2025:1671
Red Hat Enterprise Linux 8curlNot affected
Red Hat Enterprise Linux 8libcurlNot affected
Red Hat Enterprise Linux 8libcurl-develNot affected
Red Hat Enterprise Linux 8libcurl-minimalNot affected
Red Hat Enterprise Linux 8mecabFixed0:0.996-2.module+el8.10.0+22857+7f331eddRHSA-2025:1673
Red Hat Enterprise Linux 8mecab-develFixed0:0.996-2.module+el8.10.0+22857+7f331eddRHSA-2025:1673
Red Hat Enterprise Linux 8mecab-ipadicFixed0:2.7.0.20070801-17.module+el8.10.0+22857+7f331eddRHSA-2025:1673
Red Hat Enterprise Linux 8mecab-ipadic-EUCJPFixed0:2.7.0.20070801-17.module+el8.10.0+22857+7f331eddRHSA-2025:1673
Red Hat Enterprise Linux 8mysqlFixed0:8.0.41-1.module+el8.10.0+22857+7f331eddRHSA-2025:1673
Red Hat Enterprise Linux 8mysql-commonFixed0:8.0.41-1.module+el8.10.0+22857+7f331eddRHSA-2025:1673
Red Hat Enterprise Linux 8mysql-develFixed0:8.0.41-1.module+el8.10.0+22857+7f331eddRHSA-2025:1673
Red Hat Enterprise Linux 8mysql-errmsgFixed0:8.0.41-1.module+el8.10.0+22857+7f331eddRHSA-2025:1673
Red Hat Enterprise Linux 8mysql-libsFixed0:8.0.41-1.module+el8.10.0+22857+7f331eddRHSA-2025:1673
Red Hat Enterprise Linux 8mysql-serverFixed0:8.0.41-1.module+el8.10.0+22857+7f331eddRHSA-2025:1673
Red Hat Enterprise Linux 8mysql-testFixed0:8.0.41-1.module+el8.10.0+22857+7f331eddRHSA-2025:1673
Red Hat Enterprise Linux 7curlNot affected
Red Hat Enterprise Linux 7libcurlNot affected
Red Hat Enterprise Linux 7libcurl-develNot affected
Red Hat Enterprise Linux 6curlNot affected
Red Hat Enterprise Linux 6libcurlNot affected
Red Hat Enterprise Linux 6libcurl-develNot affected
Red Hat Enterprise Linux 6mysqlNot affected
Red Hat Enterprise Linux 6mysql-benchNot affected
Red Hat Enterprise Linux 6mysql-develNot affected
Red Hat Enterprise Linux 6mysql-embeddedNot affected
Red Hat Enterprise Linux 6mysql-embedded-develNot affected
Red Hat Enterprise Linux 6mysql-libsNot affected
Red Hat Enterprise Linux 6mysql-serverNot affected
Red Hat Enterprise Linux 6mysql-testNot affected
AlmaLinux 9mysqlFixed8.0.41-2.el9_5ALSA-2025:1671
AlmaLinux 9mysql-commonFixed8.0.41-2.el9_5ALSA-2025:1671
AlmaLinux 9mysql-develFixed8.0.41-2.el9_5ALSA-2025:1671
AlmaLinux 9mysql-errmsgFixed8.0.41-2.el9_5ALSA-2025:1671
AlmaLinux 9mysql-libsFixed8.0.41-2.el9_5ALSA-2025:1671
AlmaLinux 9mysql-serverFixed8.0.41-2.el9_5ALSA-2025:1671
AlmaLinux 9mysql-testFixed8.0.41-2.el9_5ALSA-2025:1671
AlmaLinux 8mecabFixed0.996-2.module_el8.6.0+3340+d764b636ALSA-2025:1673
AlmaLinux 8mecab-develFixed0.996-2.module_el8.10.0+3965+b415b607ALSA-2025:1673
AlmaLinux 8mecab-ipadicFixed2.7.0.20070801-17.module_el8.10.0+3965+b415b607ALSA-2025:1673
AlmaLinux 8mecab-ipadic-EUCJPFixed2.7.0.20070801-17.module_el8.10.0+3965+b415b607ALSA-2025:1673
AlmaLinux 8mysqlFixed8.0.41-1.module_el8.10.0+3965+b415b607ALSA-2025:1673
AlmaLinux 8mysql-commonFixed8.0.41-1.module_el8.10.0+3965+b415b607ALSA-2025:1673
AlmaLinux 8mysql-develFixed8.0.41-1.module_el8.10.0+3965+b415b607ALSA-2025:1673
AlmaLinux 8mysql-errmsgFixed8.0.41-1.module_el8.10.0+3965+b415b607ALSA-2025:1673
AlmaLinux 8mysql-libsFixed8.0.41-1.module_el8.10.0+3965+b415b607ALSA-2025:1673
AlmaLinux 8mysql-serverFixed8.0.41-1.module_el8.10.0+3965+b415b607ALSA-2025:1673
AlmaLinux 8mysql-testFixed8.0.41-1.module_el8.10.0+3965+b415b607ALSA-2025:1673
Rocky Linux 9mysqlFixed0:8.0.41-2.el9_5RLSA-2025:1671
Rocky Linux 8mecabFixed0:0.996-2.module+el8.10.0+1676+9b4b6e24RLSA-2025:1673
Rocky Linux 8mecab-ipadicFixed0:2.7.0.20070801-17.module+el8.10.0+1937+28fbbc83RLSA-2025:1673
Rocky Linux 8mysqlFixed0:8.0.41-1.module+el8.10.0+1937+28fbbc83.0.1RLSA-2025:1673
Alpine Linux 3.24curlFixed8.9.1-r0ALPINE-CVE-2024-7264
Alpine Linux 3.23curlFixed8.9.1-r0ALPINE-CVE-2024-7264
Alpine Linux 3.22curlFixed8.9.1-r0ALPINE-CVE-2024-7264
Alpine Linux 3.21curlFixed8.9.1-r0ALPINE-CVE-2024-7264
Alpine Linux 3.20curlFixed8.9.1-r0ALPINE-CVE-2024-7264
Alpine Linux 3.19curlFixed8.9.1-r0ALPINE-CVE-2024-7264
Alpine Linux 3.18curlFixed8.9.1-r0ALPINE-CVE-2024-7264

What the vendor says

As published in the CVE record by curl, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.