CVEfocus › CVE database › CVE-2026-87863

CVE-2026-87863HSTS response erases persisted entries

CVSS 8.1 HighEPSS 0.8% (higher than 51% of CVEs)Published 2026-10-20Updated 2026-10-30Assigner: curl

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.

CWE-201

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Debian, Red Hat have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

6Fixed
7Fix pending
67Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10curlFixed8.20.0-2ubuntu11.1UBUNTU-CVE-2026-87863
Ubuntu 26.04curlFixed8.18.0-1ubuntu2.8UBUNTU-CVE-2026-87863
Ubuntu 24.04curlFixed8.5.0-2ubuntu10.16UBUNTU-CVE-2026-87863
Ubuntu 22.04curlNot affected
vulnerable_code_not_present
Debian 14curlFixed8.23.0~rc1-1DEBIAN-CVE-2026-87863
Debian 13curlFix pendingDEBIAN-CVE-2026-87863
Red Hat Enterprise Linux 10cargoNot affected
Red Hat Enterprise Linux 10clippyNot affected
Red Hat Enterprise Linux 10curlFix pending
Affected
Red Hat Enterprise Linux 10igvm-develNot affected
Red Hat Enterprise Linux 10igvm-libsNot affected
Red Hat Enterprise Linux 10libcurlFix pending
Affected
Red Hat Enterprise Linux 10libcurl-develFix pending
Affected
Red Hat Enterprise Linux 10libcurl-minimalFix pending
Affected
Red Hat Enterprise Linux 10rustNot affected
Red Hat Enterprise Linux 10rust-analyzerNot affected
Red Hat Enterprise Linux 10rust-debugger-commonNot affected
Red Hat Enterprise Linux 10rust-docNot affected
Red Hat Enterprise Linux 10rust-gdbNot affected
Red Hat Enterprise Linux 10rust-lldbNot affected
Red Hat Enterprise Linux 10rust-srcNot affected
Red Hat Enterprise Linux 10rust-std-staticNot affected
Red Hat Enterprise Linux 10rust-std-static-aarch64-unknown-none-softfloatNot affected
Red Hat Enterprise Linux 10rust-std-static-wasm32-unknown-unknownNot affected
Red Hat Enterprise Linux 10rust-std-static-wasm32-wasip1Not affected
Red Hat Enterprise Linux 10rust-std-static-x86_64-unknown-noneNot affected
Red Hat Enterprise Linux 10rust-toolsetNot affected
Red Hat Enterprise Linux 10rust-toolset-srpm-macrosNot affected
Red Hat Enterprise Linux 10rustfmtNot affected
Red Hat Enterprise Linux 10s390utilsNot affected
Red Hat Enterprise Linux 10s390utils-baseNot affected
Red Hat Enterprise Linux 10s390utils-chreipl-fcp-mpathNot affected
Red Hat Enterprise Linux 10s390utils-cmsfs-fuseNot affected
Red Hat Enterprise Linux 10s390utils-coreNot affected
Red Hat Enterprise Linux 10s390utils-cpacfstatsdNot affected
Red Hat Enterprise Linux 10s390utils-cpuplugdNot affected
Red Hat Enterprise Linux 10s390utils-develNot affected
Red Hat Enterprise Linux 10s390utils-hmcdrvfsNot affected
Red Hat Enterprise Linux 10s390utils-iucvtermNot affected
Red Hat Enterprise Linux 10s390utils-mon_statdNot affected
Red Hat Enterprise Linux 10s390utils-osasnmpdNot affected
Red Hat Enterprise Linux 10s390utils-se-dataNot affected
Red Hat Enterprise Linux 10s390utils-zdsfsNot affected
Red Hat Enterprise Linux 10s390utils-ziomonNot affected
Red Hat Enterprise Linux 10snphostFix pending
Fix deferred
Red Hat Enterprise Linux 10trustee-kbsNot affected
Red Hat Enterprise Linux 9cargoNot affected
Red Hat Enterprise Linux 9clippyNot affected
Red Hat Enterprise Linux 9curlNot affected
Red Hat Enterprise Linux 9curl-minimalNot affected
Red Hat Enterprise Linux 9libcurlNot affected
Red Hat Enterprise Linux 9libcurl-develNot affected
Red Hat Enterprise Linux 9libcurl-minimalNot affected
Red Hat Enterprise Linux 9rustNot affected
Red Hat Enterprise Linux 9rust-analysisNot affected
Red Hat Enterprise Linux 9rust-analyzerNot affected
Red Hat Enterprise Linux 9rust-debugger-commonNot affected
Red Hat Enterprise Linux 9rust-docNot affected
Red Hat Enterprise Linux 9rust-gdbNot affected
Red Hat Enterprise Linux 9rust-lldbNot affected
Red Hat Enterprise Linux 9rust-srcNot affected
Red Hat Enterprise Linux 9rust-std-staticNot affected
Red Hat Enterprise Linux 9rust-std-static-wasm32-unknown-unknownNot affected
Red Hat Enterprise Linux 9rust-std-static-wasm32-wasiNot affected
Red Hat Enterprise Linux 9rust-std-static-wasm32-wasip1Not affected
Red Hat Enterprise Linux 9rust-toolsetNot affected
Red Hat Enterprise Linux 9rustfmtNot affected
Red Hat Enterprise Linux 9snphostFix pending
Fix deferred
Red Hat Enterprise Linux 8curlNot affected
Red Hat Enterprise Linux 8libcurlNot affected
Red Hat Enterprise Linux 8libcurl-develNot affected
Red Hat Enterprise Linux 8libcurl-minimalNot affected
Red Hat Enterprise Linux 7curlNot affected
Red Hat Enterprise Linux 7libcurlNot affected
Red Hat Enterprise Linux 7libcurl-develNot affected
Red Hat Enterprise Linux 6curlNot affected
Red Hat Enterprise Linux 6libcurlNot affected
Red Hat Enterprise Linux 6libcurl-develNot affected
Alpine Linux 3.24curlFixed8.23.0-r0ALPINE-CVE-2026-87863
Alpine Linux 3.23curlFixed8.23.0-r0ALPINE-CVE-2026-87863

What the vendor says

As published in the CVE record by curl, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.