---
title: "CVE-2024-7264"
canonical_url: "https://pkgseek.com/security/CVE-2024-7264"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# 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.

CVE-2024-7264 is rated MEDIUM (6.5), with 60 indexed affected package builds across 5 distributions.

- **Severity / Score**: MEDIUM (6.5)
- **Affected builds**: 60
- **Affected distros**: 5
- **Distros with fixed_in**: Alibaba Cloud Linux, openSUSE, Oracle Linux, Red Hat Enterprise Linux, Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Alibaba Cloud Linux | 3 | mysql | 8.0.36-1.0.1.1.al8 | 8.0.41-1.0.1.1.al8 |
| Alibaba Cloud Linux | 3 | mysql-common | 8.0.36-1.0.1.1.al8 | 8.0.41-1.0.1.1.al8 |
| Alibaba Cloud Linux | 3 | mysql-devel | 8.0.36-1.0.1.1.al8 | 8.0.41-1.0.1.1.al8 |
| Alibaba Cloud Linux | 3 | mysql-errmsg | 8.0.36-1.0.1.1.al8 | 8.0.41-1.0.1.1.al8 |
| Alibaba Cloud Linux | 3 | mysql-libs | 8.0.36-1.0.1.1.al8 | 8.0.41-1.0.1.1.al8 |
| Alibaba Cloud Linux | 3 | mysql-server | 8.0.36-1.0.1.1.al8 | 8.0.41-1.0.1.1.al8 |
| Alibaba Cloud Linux | 3 | mysql-test | 8.0.36-1.0.1.1.al8 | 8.0.41-1.0.1.1.al8 |
| Alibaba Cloud Linux | 4 | mysql | 8.0.42-2.alnx4 | 8.0.43-1.alnx4 |
| Alibaba Cloud Linux | 4 | mysql-common | 8.0.42-2.alnx4 | 8.0.43-1.alnx4 |
| Alibaba Cloud Linux | 4 | mysql-devel | 8.0.42-2.alnx4 | 8.0.43-1.alnx4 |
| Alibaba Cloud Linux | 4 | mysql-errmsg | 8.0.42-2.alnx4 | 8.0.43-1.alnx4 |
| Alibaba Cloud Linux | 4 | mysql-libs | 8.0.42-2.alnx4 | 8.0.43-1.alnx4 |
| Alibaba Cloud Linux | 4 | mysql-server | 8.0.42-2.alnx4 | 8.0.43-1.alnx4 |
| Alibaba Cloud Linux | 4 | mysql-test | 8.0.42-2.alnx4 | 8.0.43-1.alnx4 |
| openSUSE | 15.6 | curl | 8.6.0-150600.2.2 | 8.6.0-150600.4.3.1 |
| openSUSE | 15.6 | libcurl4 | 8.6.0-150600.2.2 | 8.6.0-150600.4.3.1 |
| openSUSE | 15.6 | libcurl4-32bit | 8.6.0-150600.2.2 | 8.6.0-150600.4.3.1 |
| openSUSE | 15.6 | libcurl-devel | 8.6.0-150600.2.2 | 8.6.0-150600.4.3.1 |
| openSUSE | 15.6 | libcurl-devel-32bit | 8.6.0-150600.2.2 | 8.6.0-150600.4.3.1 |
| Oracle Linux | 8 | mecab | 0.996-2.module+el8.9.0+90153+70413b10 | 0.996-2.module+el8.10.0+90521+d5cc5c65 |
| Oracle Linux | 8 | mecab-devel | 0.996-2.module+el8.9.0+90153+70413b10 | 0.996-2.module+el8.10.0+90521+d5cc5c65 |
| Oracle Linux | 8 | mecab-ipadic | 2.7.0.20070801-16.0.1.module+el8.9.0+90153+70413b10 | 2.7.0.20070801-17.0.1.module+el8.10.0+90521+d5cc5c65 |
| Oracle Linux | 8 | mecab-ipadic-EUCJP | 2.7.0.20070801-16.0.1.module+el8.9.0+90153+70413b10 | 2.7.0.20070801-17.0.1.module+el8.10.0+90521+d5cc5c65 |
| Oracle Linux | 8 | mysql | 8.0.36-1.module+el8.9.0+90153+70413b10 | 8.0.41-1.module+el8.10.0+90521+d5cc5c65 |
| Oracle Linux | 8 | mysql-common | 8.0.36-1.module+el8.9.0+90153+70413b10 | 8.0.41-1.module+el8.10.0+90521+d5cc5c65 |
| Oracle Linux | 8 | mysql-devel | 8.0.36-1.module+el8.9.0+90153+70413b10 | 8.0.41-1.module+el8.10.0+90521+d5cc5c65 |
| Oracle Linux | 8 | mysql-errmsg | 8.0.36-1.module+el8.9.0+90153+70413b10 | 8.0.41-1.module+el8.10.0+90521+d5cc5c65 |
| Oracle Linux | 8 | mysql-libs | 8.0.36-1.module+el8.9.0+90153+70413b10 | 8.0.41-1.module+el8.10.0+90521+d5cc5c65 |
| Oracle Linux | 8 | mysql-server | 8.0.36-1.module+el8.9.0+90153+70413b10 | 8.0.41-1.module+el8.10.0+90521+d5cc5c65 |
| Oracle Linux | 8 | mysql-test | 8.0.36-1.module+el8.9.0+90153+70413b10 | 8.0.41-1.module+el8.10.0+90521+d5cc5c65 |
| Oracle Linux | 9 | mysql | 8.0.36-1.el9_3 | 8.0.41-2.el9_5 |
| Oracle Linux | 9 | mysql-common | 8.0.36-1.el9_3 | 8.0.41-2.el9_5 |
| Oracle Linux | 9 | mysql-errmsg | 8.0.36-1.el9_3 | 8.0.41-2.el9_5 |
| Oracle Linux | 9 | mysql-server | 8.0.36-1.el9_3 | 8.0.41-2.el9_5 |
| Red Hat Enterprise Linux | 9.8 | mysql | 8.0.36-1.el9_3 | 8.0.41-2.el9_5 |
| Red Hat Enterprise Linux | 9.8 | mysql-common | 8.0.36-1.el9_3 | 8.0.41-2.el9_5 |
| Red Hat Enterprise Linux | 9.8 | mysql-errmsg | 8.0.36-1.el9_3 | 8.0.41-2.el9_5 |
| Red Hat Enterprise Linux | 9.8 | mysql-server | 8.0.36-1.el9_3 | 8.0.41-2.el9_5 |
| Ubuntu | focal | curl | 7.68.0-1ubuntu2 | 7.68.0-1ubuntu2.23 |
| Ubuntu | focal | libcurl3-gnutls | 7.68.0-1ubuntu2 | 7.68.0-1ubuntu2.23 |
| Ubuntu | focal | libcurl3-nss | 7.68.0-1ubuntu2 | 7.68.0-1ubuntu2.23 |
| Ubuntu | focal | libcurl4 | 7.68.0-1ubuntu2 | 7.68.0-1ubuntu2.23 |
| Ubuntu | focal | libcurl4-doc | 7.68.0-1ubuntu2 | 7.68.0-1ubuntu2.23 |
| Ubuntu | focal | libcurl4-gnutls-dev | 7.68.0-1ubuntu2 | 7.68.0-1ubuntu2.23 |
| Ubuntu | focal | libcurl4-nss-dev | 7.68.0-1ubuntu2 | 7.68.0-1ubuntu2.23 |
| Ubuntu | focal | libcurl4-openssl-dev | 7.68.0-1ubuntu2 | 7.68.0-1ubuntu2.23 |
| Ubuntu | jammy | curl | 7.81.0-1 | 7.81.0-1ubuntu1.17 |
| Ubuntu | jammy | libcurl3-gnutls | 7.81.0-1 | 7.81.0-1ubuntu1.17 |
| Ubuntu | jammy | libcurl3-nss | 7.81.0-1 | 7.81.0-1ubuntu1.17 |
| Ubuntu | jammy | libcurl4 | 7.81.0-1 | 7.81.0-1ubuntu1.17 |
| Ubuntu | jammy | libcurl4-doc | 7.81.0-1 | 7.81.0-1ubuntu1.17 |
| Ubuntu | jammy | libcurl4-gnutls-dev | 7.81.0-1 | 7.81.0-1ubuntu1.17 |
| Ubuntu | jammy | libcurl4-nss-dev | 7.81.0-1 | 7.81.0-1ubuntu1.17 |
| Ubuntu | jammy | libcurl4-openssl-dev | 7.81.0-1 | 7.81.0-1ubuntu1.17 |
| Ubuntu | noble | curl | 8.5.0-2ubuntu10 | 8.5.0-2ubuntu10.2 |
| Ubuntu | noble | libcurl3t64-gnutls | 8.5.0-2ubuntu10 | 8.5.0-2ubuntu10.2 |
| Ubuntu | noble | libcurl4-doc | 8.5.0-2ubuntu10 | 8.5.0-2ubuntu10.2 |
| Ubuntu | noble | libcurl4-gnutls-dev | 8.5.0-2ubuntu10 | 8.5.0-2ubuntu10.2 |
| Ubuntu | noble | libcurl4-openssl-dev | 8.5.0-2ubuntu10 | 8.5.0-2ubuntu10.2 |
| Ubuntu | noble | libcurl4t64 | 8.5.0-2ubuntu10 | 8.5.0-2ubuntu10.2 |
