CVE-2024-7264

6.5 MEDIUM
Published: July 31, 2024 Modified: November 03, 2025

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
http://www.openwall.com/lists/oss-security/2024/07/31/1
Source: 2499f714-1537-4658-8207-48ae4bb9eae9
Mailing List
https://curl.se/docs/CVE-2024-7264.html
Source: 2499f714-1537-4658-8207-48ae4bb9eae9
Vendor Advisory
https://curl.se/docs/CVE-2024-7264.json
Source: 2499f714-1537-4658-8207-48ae4bb9eae9
Vendor Advisory
https://hackerone.com/reports/2629968
Source: 2499f714-1537-4658-8207-48ae4bb9eae9
Exploit Issue Tracking Permissions Required Third Party Advisory
http://www.openwall.com/lists/oss-security/2024/07/31/1
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List
https://security.netapp.com/advisory/ntap-20240828-0008/
Source: af854a3a-2127-422b-91ae-364da2661108
https://security.netapp.com/advisory/ntap-20241025-0006/
Source: af854a3a-2127-422b-91ae-364da2661108
https://security.netapp.com/advisory/ntap-20241025-0010/
Source: af854a3a-2127-422b-91ae-364da2661108

9 reference(s) from NVD

Quick Stats

CVSS v3 Score
6.5 / 10.0
EPSS (Exploit Probability)
0.9%
75th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

haxx