An authenticated HTTPS origin can supply an HSTS max-age value that the parser accepts, but time serialization later fails to process. (CVE-2026-87863)
Description
CVE-2026-87863 is a vulnerability where an authenticated HTTPS origin can supply an HSTS max-age value that the parser accepts, but later fails during time serialization. On 64-bit systems, extremely large max-age values cause expiry times that exceed calendar time structure limits. This leads to cache save operations truncating the original HSTS file and deleting the temporary replacement file, resulting in an empty or partial HSTS cache. The error is silently ignored, causing curl to exit successfully despite data loss.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves the handling of HSTS max-age values by curl on 64-bit systems. While the parser accepts very large max-age values, the subsequent time serialization fails because the computed absolute expiry time exceeds the bounds of the calendar time structure. During cache save operations, curl truncates the original HSTS file before writing a temporary replacement. If serialization fails, the temporary file is deleted, leaving the HSTS cache empty or partially written. The failure is silently ignored, so curl exits without error even though the HSTS cache data is lost.
Potential Impact
The impact is loss of HSTS cache data due to failure in saving the cache when processing extreme max-age values. This could lead to the loss of HSTS policy persistence, potentially weakening HTTPS security enforcement for affected origins until the cache is rebuilt. There is no indication of remote code execution or direct compromise. The error is silent, which may cause unnoticed degradation of security posture.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should be aware of the risk of HSTS cache loss when interacting with origins supplying extreme max-age values. Monitoring for updates from the vendor is recommended.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-53q4-87wj-266h
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-87863"]
Threat ID: 6ad7ec132cdf04f6566aefb7
Added to database: 10/20/2026, 22:32:51 UTC
Last enriched: 10/20/2026, 22:35:49 UTC
Last updated: 10/21/2026, 00:08:15 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.