CVE-2026-87863
Awaiting Analysis Awaiting Analysis - Queue

HSTS max-age Overflow Leading to Cache Corruption in curl

Vulnerability report for CVE-2026-87863, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-10-20

Last updated on: 2026-10-30

Assigner: curl

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-10-20
Last Modified
2026-10-30
Generated
2026-11-10
AI Q&A
2026-10-21
EPSS Evaluated
2026-11-08
NVD

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-201 The code transmits data to another actor, but a portion of the data includes sensitive information that should not be accessible to that actor.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability involves an authenticated HTTPS origin supplying an HSTS max-age value that the parser accepts but later fails to process during time serialization. On 64-bit systems, extreme max-age values cause the absolute expiry to exceed calendar time structure bounds. During cache saves, the original HSTS file is truncated before writing a temporary replacement. If serialization fails, the temporary file is deleted, leaving an empty or partial cache. The save error is silently ignored, so curl exits successfully despite data loss.

Detection Guidance

This vulnerability involves HSTS max-age values causing time serialization failures in curl on 64-bit systems. Detection requires checking curl versions and examining HSTS cache handling. Monitor for empty or truncated HSTS cache files after HTTPS requests with extreme max-age values.

Impact Analysis

This vulnerability can lead to data loss in the HSTS cache due to failed serialization of extreme max-age values. It may cause curl to exit successfully even when critical cache operations fail, potentially leaving the system without proper HSTS enforcement. Users relying on HSTS for security may experience reduced protection against man-in-the-middle attacks.

Compliance Impact

This vulnerability could lead to data loss of HSTS cache entries due to improper handling of extreme max-age values, potentially causing unintended exposure of sensitive data or failure to enforce secure connections. This may violate compliance requirements for secure data transmission in standards like GDPR and HIPAA.

Mitigation Strategies

Update curl to the latest patched version to address the HSTS max-age parsing and serialization issue. Monitor curl logs for cache save errors or data loss events.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-87863. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...