CVE Catalog

CVE-2024-6197

High
Published: Translated: NVD NIST

Summary

libcurl's ASN1 parser has this utf8asn1str() function used for parsing an ASN.1 UTF-8 string. It can detect an invalid field and return error. Unfortunately, when doing so it also invokes `free()` on a 4 byte local stack buffer. Most modern malloc implementations detect this error and immediately abort.

Risk Assessment

Risk of program crash or potential exploitation for remote code execution.

Recommendation

Update libcurl to a version that includes a fix for this bug.

Other vulnerabilities in libcurl

See all
Original NVD description (English source)

libcurl's ASN1 parser has this utf8asn1str() function used for parsing an ASN.1 UTF-8 string. Itcan detect an invalid field and return error. Unfortunately, when doing so it also invokes `free()` on a 4 byte localstack buffer. Most modern malloc implementations detect this error and immediately abo

Vulnerability data from NVD (NIST) · CISA KEV · EPSS