CVE-2024-7264

ASN.1 date parser overread

MEDIUM
6.5
CVSS Score
Published: July 31, 2024 at 08:08 AM UTC
Updated: October 15, 2026 at 01:19 AM UTC
2 products affected across 1 vendorLibcurlCurl

Using curl by curl?

Get instant alerts when new vulnerabilities affect curl - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.5
Exploit prediction
EPSS 20%
SSVC
No known exploit

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.

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (11)

Mailing List
Source: 2499f714-1537-4658-8207-48ae4bb9eae9
http://www.openwall.com/lists/oss-security/2024/07/31/1
Vendor Advisory
Source: 2499f714-1537-4658-8207-48ae4bb9eae9
https://curl.se/docs/CVE-2024-7264.html
Vendor Advisory
Source: 2499f714-1537-4658-8207-48ae4bb9eae9
https://curl.se/docs/CVE-2024-7264.json
ExploitIssue TrackingPermissions RequiredThird Party Advisory
Source: 2499f714-1537-4658-8207-48ae4bb9eae9
https://hackerone.com/reports/2629968
Source: af854a3a-2127-422b-91ae-364da2661108
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/

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-125

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card