ZeroDay Brief
Happy holidays from ZeroDay Brief!
CVE-2024-7264

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.

CVSS
6.5Medium
Chance of exploitation (EPSS)
—
Published
Jul 31, 2024
In the news
Not yet
Vendor advisory More from this vendor

What to do

A moderate memory read flaw in Haxx Libcurl that can be attacked over the network without logging in, if someone is tricked into an action. No attacks are reported yet; it can go in your normal patch cycle.

Action: Apply the vendor's update or follow its advisory.

Affected versions
Curl
7.69.1; 7.70.0; 7.71.0; 7.71.1; 7.72.0; 7.73.0; 7.74.0; 7.75.0

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.

CWE-125

Affected products

Get alerts for these →

Timeline 6

Latest change: Tenable Cloud Security plugin 493095: Chainguard: multiple curl packages, multiple libcurl-minimal packages: security update to 8.9.1-r0 (Dec 1, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

References 12

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”