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.
Published: 2026-10-20
Score: 3.7 Low
EPSS: < 1% Very Low
KEV: No
Impact: Loss of HSTS security policies
Action: Patch Curl
AI Analysis

Impact

Based on the updated description, curl’s HSTS caching logic mishandles an out‑of‑range expiration value sent by a remote HTTPS server. When the cache serialization fails, curl truncates the persistence file and deletes all stored HSTS entries. This removes the safety net that forces secure HTTPS connections for known hosts, potentially allowing future communications to fall back to insecure HTTP.

Affected Systems

The vulnerability affects the curl client library and binary whenever persistent HSTS caching is enabled. No specific version ranges are given in the CVE data, so any installation of curl that supports HSTS persistence is at risk.

Risk and Exploitability

With a CVSS score of 3.7 the problem is considered low to moderate severity, and the EPSS score is not available. The flaw is only exploitable from the network side: an attacker who can influence the HTTPS response to a curl client can deliberately trigger the serialization failure. The resulting loss of HSTS entries is a security erosion that may enable downgrade and man‑in‑the‑middle attacks, but it does not provide direct code execution or denial of service.

Generated by OpenCVE AI on October 20, 2026 at 22:16 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade curl to the latest version that contains the HSTS cache serialization fix.
  • If an update is not immediately available, configure curl to disable persistent HSTS caching until the patch is applied.
  • Monitor curl releases and security advisories for updates to keep systems protected.

Generated by OpenCVE AI on October 20, 2026 at 22:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8927-1 curl vulnerabilities
Ubuntu USN Ubuntu USN USN-8932-1 curl vulnerabilities
Ubuntu USN Ubuntu USN USN-8927-2 curl vulnerabilities
History

Tue, 20 Oct 2026 20:30:00 +0000

Type Values Removed Values Added
Description A flaw was found in curl. When persistent HTTP Strict Transport Security (HSTS) caching is enabled, a remote HTTPS server can return an out-of-range expiration value that fails time serialization during cache saving. Because curl truncates the cache file prior to writing the update, this serialization failure causes the persistent HSTS cache to be deleted or emptied. As a result, stored security policies for known hosts are lost, potentially allowing future connections to fall back to insecure communication. 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.
Title curl: curl: Hsts Response Erases Persisted Entries HSTS response erases persisted entries
References

Sun, 18 Oct 2026 15:00:00 +0000

Type Values Removed Values Added
First Time appeared Curl
Curl curl
Vendors & Products Curl
Curl curl

Sat, 17 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Description A flaw was found in curl. When persistent HTTP Strict Transport Security (HSTS) caching is enabled, a remote HTTPS server can return an out-of-range expiration value that fails time serialization during cache saving. Because curl truncates the cache file prior to writing the update, this serialization failure causes the persistent HSTS cache to be deleted or emptied. As a result, stored security policies for known hosts are lost, potentially allowing future connections to fall back to insecure communication.
Title curl: curl: Hsts Response Erases Persisted Entries
Weaknesses CWE-201
References
Metrics threat_severity

None

cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N'}

threat_severity

Low


cve-icon MITRE

Status: PUBLISHED

Assigner: curl

Published:

Updated: 2026-10-20T20:13:22.379Z

Reserved: 2026-09-09T13:17:38.076Z

Link: CVE-2026-87863

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-20T21:17:20.380

Modified: 2026-10-20T21:17:20.380

Link: CVE-2026-87863

cve-icon Redhat

Severity : Low

Publid Date: 2026-10-14T12:00:00Z

Links: CVE-2026-87863 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-20T22:30:18Z

Weaknesses
  • CWE-201

    Insertion of Sensitive Information Into Sent Data