Skip to content
OpenAdvisories
High · 8.1 CVE-2026-87863 EUVD-2026-105311GHSA-53q4-87wj-266h

HSTS response erases persisted entries

Published Oct 20, 2026 · Updated Oct 30, 2026 · 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.

Affected products

VendorProductAffectedFixed
curl curl 8.22.0 – ≤ 8.22.0, 8.21.0 – ≤ 8.21.0, 8.20.0 – ≤ 8.20.0, 8.19.0 – ≤ 8.19.0, 8.18.0 – ≤ 8.18.0, 8.17.0 – ≤ 8.17.0, 8.16.0 – ≤ 8.16.0, 8.15.0 – ≤ 8.15.0, 8.14.1 – ≤ 8.14.1, 8.14.0 – ≤ 8.14.0, 8.13.0 – ≤ 8.13.0, 8.12.1 – ≤ 8.12.1, 8.12.0 – ≤ 8.12.0, 8.11.1 – ≤ 8.11.1, 8.11.0 – ≤ 8.11.0, 8.10.1 – ≤ 8.1… —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 curl No fix yet —
Debian 13 curl No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 curl 8.20.0-2ubuntu11.1 USN-8927-2
Ubuntu 26.04 LTS curl 8.18.0-1ubuntu2.8 USN-8927-1
Ubuntu 24.04 LTS curl 8.5.0-2ubuntu10.16 USN-8932-1
Ubuntu 22.04 LTS curl 7.81.0-1ubuntu1.30 USN-8932-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS curl 7.68.0-1ubuntu2.25+esm10 USN-8932-1
Ubuntu Pro 18.04 LTS curl 7.58.0-2ubuntu3.24+esm15 USN-8932-1
Ubuntu Pro 16.04 LTS curl 7.47.0-1ubuntu2.19+esm21 USN-8932-1
Ubuntu Pro 14.04 LTS curl 7.35.0-1ubuntu2.20+esm24 USN-8932-1
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 curl +3 8.23.0-0.1.hum1 RHSA-2026:82895
ReleasePackageFixed inAdvisory
SLES 15 SP7 curl 8.22.0-150700.7.33.1 SUSE-SU-2026:5068-1
SLES 15 SP6 curl 8.22.0-150600.4.58.1 SUSE-SU-2026:5069-1
SLES 15 SP5 curl 8.14.1-150400.5.98.1 SUSE-SU-2026:4954-1
SLES 15 SP4 curl 8.14.1-150400.5.98.1 SUSE-SU-2026:4954-1
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP6 curl 8.22.0-150600.4.58.1 SUSE-SU-2026:5069-1
SLE Micro 5.5 curl 8.14.1-150400.5.98.1 SUSE-SU-2026:4954-1
SLE Micro 5.4 curl 8.14.1-150400.5.98.1 SUSE-SU-2026:4954-1
SLE Micro 5.3 curl 8.14.1-150400.5.98.1 SUSE-SU-2026:4954-1
SLE HPC 15 SP5 curl 8.14.1-150400.5.98.1 SUSE-SU-2026:4954-1
SLE HPC 15 SP4 curl 8.14.1-150400.5.98.1 SUSE-SU-2026:4954-1
SUSE Linux Enterprise Installer Updates 15 SP5 curl 8.14.1-150400.5.98.1 SUSE-SU-2026:4954-1
SUSE Linux Enterprise Installer Updates 15 SP4 curl 8.14.1-150400.5.98.1 SUSE-SU-2026:4954-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed curl 8.23.0-1.1 openSUSE-SU-2026:12150-1
ReleasePackageFixed inAdvisory
Alpine v3.24 curl 8.23.0-r0 —
Alpine v3.23 curl 8.23.0-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 curl +4 No fix yet —

Advisories 9

References