CVE-2026-87863
JSON

8.1high

HSTS response erases persisted entries

Severity
8.1high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.83% (higher than 58% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
curl
Also known as
CURL-CVE-2026-87863

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.

Affected

Product or packageVersionsReported by
curl curlfrom 8.22.0 up to 8.22.0, from 8.21.0 up to 8.21.0, from 8.20.0 up to 8.20.0, from 8.19.0 up to 8.19.0, from 8.18.0 up to 8.18.0, from 8.17.0 up to 8.17.0, from 8.16.0 up to 8.16.0, from 8.15.0 up to 8.15.0 and 20 moreCVE List
https://github.com/curl/curl.gitfrom 8.2.0 before 8.14.3, from 8.15.0 before 8.16.2, from 8.17.0 before 8.20.2, from 8.21.0 before 8.23.0, from 0c667188e0c6cda615a036b8a2b4125f2c404dde before 08d50a791b3197a3d0a4fc2f778e243f5501c67ecurl

All scores

CISA-ADP8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
curllow rating

Classification

CWE-201

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-87863 changed 2026-10-30CVE Terms of Use
curlCURL-CVE-2026-87863 changed 2026-10-25MIT
NVDCVE-2026-87863 changed 2026-10-30Public domain