PT-2025-46009 · Julia · Curl Jll+1

Published

2025-10-10

·

Updated

2025-10-10

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
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.

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Related Identifiers

JLSEC-2025-38

Affected Products

Curl Jll
Libcurl Jll