{
  "schema_version": "1.5.0",
  "id": "CURL-CVE-2026-87863",
  "aliases": [
    "CVE-2026-87863"
  ],
  "summary": "HSTS response erases persisted entries",
  "modified": "2026-09-17T12:57:32.00Z",
  "database_specific": {
    "package": "curl",
    "affects": "both",
    "URL": "https://curl.se/docs/CVE-2026-87863.json",
    "www": "https://curl.se/docs/CVE-2026-87863.html",
    "issue": "https://hackerone.com/reports/3972373",
    "CWE": {
      "id": "CWE-201",
      "desc": "Information Exposure Through Sent Data"
    },
    "last_affected": "8.22.0",
    "severity": "Low"
  },
  "published": "2026-10-14T08:00:00.00Z",
  "affected": [
    {
      "ranges": [
        {
           "type": "SEMVER",
           "events": [
             {"introduced": "8.2.0"},
             {"fixed": "8.14.3"},
             {"introduced": "8.15.0"},
             {"fixed": "8.16.2"},
             {"introduced": "8.17.0"},
             {"fixed": "8.20.2"},
             {"introduced": "8.21.0"},
             {"fixed": "8.23.0"}
           ]
        },
        {
           "type": "GIT",
           "repo": "https://github.com/curl/curl.git",
           "events": [
             {"introduced": "0c667188e0c6cda615a036b8a2b4125f2c404dde"},
             {"fixed": "08d50a791b3197a3d0a4fc2f778e243f5501c67e"}
           ]
        }
      ],
      "versions": [
        "8.22.0", "8.21.0", "8.20.0", "8.19.0", "8.18.0", "8.17.0", "8.16.0", 
        "8.15.0", "8.14.1", "8.14.0", "8.13.0", "8.12.1", "8.12.0", "8.11.1", 
        "8.11.0", "8.10.1", "8.10.0", "8.9.1", "8.9.0", "8.8.0", "8.7.1", 
        "8.7.0", "8.6.0", "8.5.0", "8.4.0", "8.3.0", "8.2.1", "8.2.0"
      ]
    }
  ],
  "credits": [
    {
      "name": "Stanislav Fort (Aisle Research)",
      "type": "FINDER"
    },
    {
      "name": "Daniel Stenberg",
      "type": "REMEDIATION_DEVELOPER"
    }
  ],
  "details": "An authenticated HTTPS origin can supply an HSTS `max-age` value that the\nparser accepts, but time serialization later fails to process. On 64-bit\nsystems, extreme max-age values compute an absolute expiry within standard\ntime integer limits that exceeds calendar time structure bounds. During cache\nsaves, the original HSTS file is truncated before writing a temporary\nreplacement; when serialization fails, the temporary file is deleted, leaving\nan empty or partial cache. Because the save error is silently ignored during\ncleanup, curl exits successfully despite the data loss."
}