All vulnerabilities

Servers and applications

CVE-2024-6197

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 abort. Some however accept the input pointer and add that memory to its list of available chunks. This…

Severity
High 7.5
Published
24 Jul 2024
Last changed
17 Jun 2026
Added to UpHeron
21 Oct 2026
Fixed in
8.9.0
Sources
NVD

Affected software

SoftwareAffected versions
curlServers and applications · cpe:a:haxx:libcurl
  • From 8.6.0 before 8.9.0

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2024-6197
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2024-6197