JLSEC-2026-1657: An authenticated HTTPS origin can supply an HSTS `max-age` value that the parser accepts, but...
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/LibCURL_jllto a version that resolves this vulnerability.Fixed in 8.23.0+0
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
What does an attacker need to control to trigger this issue?
The attacker needs to operate or control an authenticated HTTPS origin that can send an HSTS header with an extreme max-age value.
Which systems are affected by the described time-handling condition?
The described condition applies on 64-bit systems, where extreme max-age values can produce an expiry that is within standard time integer limits but beyond calendar time structure bounds.
What is the practical effect if exploitation succeeds?
A cache save can truncate the existing HSTS file and then fail to replace it, leaving an empty or partial cache. curl can still exit successfully because the save error is silently ignored during cleanup.