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.
Published: 2024-07-31
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2024-48211 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.
Ubuntu USN Ubuntu USN USN-6944-1 curl vulnerability
Ubuntu USN Ubuntu USN USN-6944-2 curl vulnerability
History

Mon, 03 Nov 2025 23:30:00 +0000


Wed, 16 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.02574}

epss

{'score': 0.02605}


Thu, 20 Feb 2025 02:30:00 +0000

Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:8

Wed, 19 Feb 2025 15:00:00 +0000

Type Values Removed Values Added
First Time appeared Redhat enterprise Linux
CPEs cpe:/a:redhat:enterprise_linux:9
Vendors & Products Redhat enterprise Linux

Fri, 22 Nov 2024 12:00:00 +0000


Wed, 30 Oct 2024 20:15:00 +0000

Type Values Removed Values Added
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L'}


Wed, 16 Oct 2024 02:30:00 +0000

Type Values Removed Values Added
References

Tue, 08 Oct 2024 02:30:00 +0000

Type Values Removed Values Added
First Time appeared Redhat
Redhat service Mesh
CPEs cpe:/a:redhat:service_mesh:2.6::el8
cpe:/a:redhat:service_mesh:2.6::el9
Vendors & Products Redhat
Redhat service Mesh

Wed, 28 Aug 2024 15:30:00 +0000

Type Values Removed Values Added
References

Mon, 12 Aug 2024 18:00:00 +0000

Type Values Removed Values Added
First Time appeared Haxx
Haxx libcurl
CPEs cpe:2.3:a:haxx:libcurl:*:*:*:*:*:*:*:*
Vendors & Products Haxx
Haxx libcurl
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:H'}

cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}


Wed, 07 Aug 2024 03:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:H'}

threat_severity

Low


Subscriptions

Haxx Libcurl
Redhat Enterprise Linux Service Mesh
cve-icon MITRE

Status: PUBLISHED

Assigner: curl

Published:

Updated: 2025-11-03T22:32:51.400Z

Reserved: 2024-07-30T08:04:22.389Z

Link: CVE-2024-7264

cve-icon Vulnrichment

Updated: 2024-08-28T15:02:52.325Z

cve-icon NVD

Status : Modified

Published: 2024-07-31T08:15:02.657

Modified: 2025-11-03T23:17:31.647

Link: CVE-2024-7264

cve-icon Redhat

Severity : Low

Publid Date: 2024-07-31T00:00:00Z

Links: CVE-2024-7264 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses