# CVE-2026-87863: HSTS response erases persisted entries

- Severity: High 8.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.83%, higher than 58% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-14T08:00:00.000Z
- Modified: 2026-10-30T12:16:45.957Z
- Also known as: CURL-CVE-2026-87863
- Weaknesses: CWE-201
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- curl curl: from 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; from 8.14.1 up to 8.14.1; from 8.14.0 up to 8.14.0; from 8.13.0 up to 8.13.0; from 8.12.1 up to 8.12.1; and 16 more
- https://github.com/curl/curl.git: from 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 08d50a791b3197a3d0a4fc2f778e243f5501c67e

## Every score

- CISA-ADP: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- curl: rating Low

## References

- <https://hackerone.com/reports/3972373> (exploit)
- <https://curl.se/docs/CVE-2026-87863.json>
- <https://curl.se/docs/CVE-2026-87863.html>

## Sources

- CVE List: [CVE-2026-87863](https://www.cve.org/CVERecord?id=CVE-2026-87863), CVE Terms of Use, modified 2026-10-30
- curl: [CURL-CVE-2026-87863](https://osv.dev/vulnerability/CURL-CVE-2026-87863), MIT, modified 2026-10-25
- NVD: [CVE-2026-87863](https://nvd.nist.gov/vuln/detail/CVE-2026-87863), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-87863 · Whole record: https://cve.day/CVE-2026-87863.json · Rebuilt by cve.day 2026-11-25T22:59:46.126Z
