CVE Catalog

CVE-2026-87863

HighCVSS 8.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.27%

19th percentile - higher than 19% of all known CVEs

Summary

An authenticated HTTPS origin can supply an HSTS max-age value that the parser accepts but time serialization later fails to process. On 64-bit systems, extreme max-age values compute an absolute expiry that exceeds calendar time structure bounds. During cache saves, the original HSTS file is truncated before writing a temporary replacement; when serialization fails, the temporary file is deleted, leaving an empty or partial cache, and the save error is silently ignored.

Risk Assessment

Silent loss of stored HSTS policies weakens protection against downgrade attacks and forces re-collection of policies. Administrators may not notice because curl exits successfully despite the data loss.

Recommendation

Update curl/libcurl to a version containing the fix and monitor the integrity of HSTS cache files. Consider limiting the maximum max-age values accepted from servers.

Other vulnerabilities in curl

See all
Original NVD description (English source)

An authenticated HTTPS origin can supply an HSTS `max-age` value that the parser accepts, but time serialization later fails to process. On 64-bit systems, extreme max-age values compute an absolute expiry within standard time integer limits that exceeds calendar time structure bounds. During cache saves, the original HSTS file is truncated before writing a temporary replacement; when serialization fails, the temporary file is deleted, leaving an empty or partial cache. Because the save error is silently ignored during cleanup, curl exits successfully despite the data loss.

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