CVE-2024-7264

MediumCVSS 6.5/10Last modified Oct 15, 2026

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.

Metrics

CVSS 3.1 6.5/10CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Weakness enumeration

Affected software

VendorProductVersions
curlcurl>= 8.9.0, <= 8.9.0; >= 8.8.0, <= 8.8.0; >= 8.7.1, <= 8.7.1; >= 8.7.0, <= 8.7.0; >= 8.6.0, <= 8.6.0; >= 8.5.0, <= 8.5.0; >= 8.4.0, <= 8.4.0; >= 8.3.0, <= 8.3.0; >= 8.2.1, <= 8.2.1; >= 8.2.0, <= 8.2.0; >= 8.1.2, <= 8.1.2; >= 8.1.1, <= 8.1.1; >= 8.1.0, <= 8.1.0; >= 8.0.1, <= 8.0.1; >= 8.0.0, <= 8.0.0; >= 7.88.1, <= 7.88.1; >= 7.88.0, <= 7.88.0; >= 7.87.0, <= 7.87.0; >= 7.86.0, <= 7.86.0; >= 7.85.0, <= 7.85.0
SiemensRUGGEDCOM RST2428P< V3.3
SiemensSCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family< V3.3
SiemensSCALANCE XCH328< V3.3
SiemensSCALANCE XCM324< V3.3
SiemensSCALANCE XCM328< V3.3
SiemensSCALANCE XCM332< V3.3
SiemensSCALANCE XRH334 (24 V DC, 8xFO, CC)< V3.3
SiemensSCALANCE XRM334 (230 V AC, 12xFO)< V3.3
SiemensSCALANCE XRM334 (230 V AC, 8xFO)< V3.3
SiemensSCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+)< V3.3
SiemensSCALANCE XRM334 (24 V DC, 12xFO)< V3.3
SiemensSCALANCE XRM334 (24 V DC, 8xFO)< V3.3
SiemensSCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+)< V3.3
SiemensSCALANCE XRM334 (2x230 V AC, 12xFO)< V3.3
SiemensSCALANCE XRM334 (2x230 V AC, 8xFO)< V3.3
SiemensSCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+)< V3.3
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP>= V3.1.0, < V3.1.5
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP>= V3.1.0, < V3.1.5
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP>= V3.1.0, < V3.1.5
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP>= V3.1.0, < V3.1.5
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP>= V3.1.0, < V3.1.5
SiemensRUGGEDCOM RST2428P< V3.2
SiemensSCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family< V3.2
SiemensSCALANCE XCM-/XRM-/XCH-/XRH-300 family< V3.2

References

Timeline

Published
Jul 31, 2024
Last modified
Oct 15, 2026
NVD status
Modified

Related CVEs from 2024

CVE-2024-72658.8Incorrect User Management vulnerability in Naukowa i Akademicka Sieć Komputerowa - Państwowy Instytut Badawczy EZD RP allows logged-in user CVE-2024-72664.3Incorrect User Management vulnerability in Naukowa i Akademicka Sieć Komputerowa - Państwowy Instytut Badawczy EZD RP allows logged-in user CVE-2024-72676.5Exposure of Sensitive Information vulnerability in Naukowa i Akademicka Sieć Komputerowa - Państwowy Instytut Badawczy EZD RP allows logged-CVE-2024-72695.4Improper Neutralization of Input During Web Page Generation vulnerability in "Update of Personal Details" form in ConnX ESP HR Management alCVE-2024-72728.8A vulnerability, which was classified as critical, was found in FFmpeg up to 5.1.5. This affects the function fill_audiodata of the file /liCVE-2024-72739.8A vulnerability classified as critical was found in itsourcecode Alton Management System 1.0. This vulnerability affects unknown code of theCVE-2024-72747.2A vulnerability, which was classified as critical, has been found in itsourcecode Alton Management System 1.0. This issue affects some unknoCVE-2024-72757.2A vulnerability, which was classified as critical, was found in itsourcecode Alton Management System 1.0. Affected is an unknown function ofCVE-2024-72767.2A vulnerability has been found in itsourcecode Alton Management System 1.0 and classified as critical. Affected by this vulnerability is an CVE-2024-72777.2A vulnerability was found in itsourcecode Alton Management System 1.0 and classified as critical. Affected by this issue is some unknown funCVE-2024-72787.2A vulnerability was found in itsourcecode Alton Management System 1.0. It has been classified as critical. This affects an unknown part of tCVE-2024-72799.8A vulnerability was found in SourceCodester Lot Reservation Management System 1.0. It has been declared as critical. This vulnerability affe
CVE-2024-7264: Medium severity, CVSS 6.5 | Vulnix