CVE-2026-87863

HSTS response erases persisted entries

State
Published
Severity
8.1 High
Published
Oct 20, 2026
Updated
Oct 30, 2026
Reserved
Sep 9, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

  • CWE-201 Insertion of Sensitive Information Into Sent Data

Affected Products

ProductVersions
curlcurl
  • 8.22.0 through 8.22.0Affected
  • 8.21.0 through 8.21.0Affected
  • 8.20.0 through 8.20.0Affected
  • 8.19.0 through 8.19.0Affected
  • 8.18.0 through 8.18.0Affected
  • 8.17.0 through 8.17.0Affected
  • 8.16.0 through 8.16.0Affected
  • 8.15.0 through 8.15.0Affected
  • 8.14.1 through 8.14.1Affected
  • 8.14.0 through 8.14.0Affected
  • 8.13.0 through 8.13.0Affected
  • 8.12.1 through 8.12.1Affected
  • 8.12.0 through 8.12.0Affected
  • 8.11.1 through 8.11.1Affected
  • 8.11.0 through 8.11.0Affected
  • 8.10.1 through 8.10.1Affected
  • 8.10.0 through 8.10.0Affected
  • 8.9.1 through 8.9.1Affected
  • 8.9.0 through 8.9.0Affected
  • 8.8.0 through 8.8.0Affected
  • 8.7.1 through 8.7.1Affected
  • 8.7.0 through 8.7.0Affected
  • 8.6.0 through 8.6.0Affected
  • 8.5.0 through 8.5.0Affected
  • 8.4.0 through 8.4.0Affected
  • and 3 more versions

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.