Low
HSTS cache import drops longer-lived child
Type: advisorySources: OSV
Importing a `includeSubDomains` parent HSTS entry before a longer-lived child entry, silently drops the child. Consequently, when the parent expires, the child's valid HSTS policy is lost, causing curl to issue unencrypted HTTP requests rather than upgrading to HTTPS.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-87862
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 09:38 UTC · Revision 1
Source evidence
HSTS cache import drops longer-lived child
core-osv · Original sourcePublished 14 Oct 2026, 08:00 UTC
Importing a `includeSubDomains` parent HSTS entry before a longer-lived child entry, silently drops the child. Consequently, when the parent expires, the child's valid HSTS policy is lost, causing curl to issue unencrypted HTTP requests rather than upgrading to HTTPS.
osv:CURL-CVE-2026-87862
Complete source record
{
"id": "5dbd7d030a69b875ce1bfae9996f99d34f811472cb08b11bc86d34463695051c",
"url": "https://osv.dev/vulnerability/CURL-CVE-2026-87862",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "HSTS cache import drops longer-lived child",
"summary": "Importing a `includeSubDomains` parent HSTS entry before a longer-lived child entry, silently drops the child. Consequently, when the parent expires, the child's valid HSTS policy is lost, causing curl to issue unencrypted HTTP requests rather than upgrading to HTTPS.",
"evidence": "osv:CURL-CVE-2026-87862",
"products": [],
"severity": "low",
"structured": {
"id": "CURL-CVE-2026-87862",
"aliases": [
"CURL-CVE-2026-87862",
"CVE-2026-87862"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "8.11.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"
}
]
},
{
"repo": "https://github.com/curl/curl.git",
"type": "GIT",
"events": [
{
"introduced": "a94973805df96269bf3f3bf0a20ccb9887313316"
},
{
"fixed": "a1614c3bcf1593eb524b37792124357d97a5429c"
}
]
}
],
"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",
"curl-8_22_0",
"rc-8_22_0-3",
"rc-8_22_0-2",
"rc-8_22_0-1",
"curl-8_21_0",
"rc-8_21_0-3",
"rc-8_21_0-2",
"rc-8_21_0-1",
"curl-8_20_0",
"rc-8_20_0-3",
"rc-8_20_0-2",
"rc-8_20_0-1",
"curl-8_19_0",
"rc-8_19_0-3",
"rc-8_19_0-2",
"rc-8_19_0-1",
"curl-8_18_0",
"rc-8_18_0-3",
"rc-8_18_0-2",
"rc-8_18_0-1",
"curl-8_17_0",
"curl-8_16_0",
"curl-8_15_0",
"curl-8_14_1",
"curl-8_14_0",
"curl-8_13_0",
"curl-8_12_1",
"curl-8_12_0",
"curl-8_11_1",
"curl-8_11_0"
],
"database_specific": {
"source": "https://curl.se/docs/CURL-CVE-2026-87862.json",
"vanir_signatures": [
{
"id": "CURL-CVE-2026-87862-9ffd2bf3",
"digest": {
"threshold": 0.9,
"line_hashes": [
"224427400684326249590822012963350597075",
"2737065825097435213544451821822622621",
"214650631889071362966467564430717118548",
"116082283867178258548291069737951800414"
]
},
"source": "https://github.com/curl/curl.git/commit/a1614c3bcf1593eb524b37792124357d97a5429c",
"target": {
"file": "lib/hsts.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CURL-CVE-2026-87862-c6e9f2fa",
"digest": {
"length": 966,
"function_hash": "256221136634413402692360369980878541334"
},
"source": "https://github.com/curl/curl.git/commit/a1614c3bcf1593eb524b37792124357d97a5429c",
"target": {
"file": "lib/hsts.c",
"function": "hsts_add_host_expire"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-25T01:05:08Z"
}
}
],
"modified": "2026-10-25T01:05:08.625456143Z",
"provider": "osv",
"references": [],
"provider_metadata": {
"CWE": {
"id": "CWE-201",
"desc": "Information Exposure Through Sent Data"
},
"URL": "https://curl.se/docs/CVE-2026-87862.json",
"www": "https://curl.se/docs/CVE-2026-87862.html",
"issue": "https://hackerone.com/reports/3972357",
"affects": "both",
"package": "curl",
"severity": "Low",
"last_affected": "8.22.0"
}
},
"related_cves": [
{
"value": "CVE-2026-87862",
"evidence": "/aliases"
}
],
"security_relevant": true,
"severity_evidence": "/database_specific/severity"
},
"source_id": "core-osv",
"document_id": 444337,
"published_at": "2026-10-14T08:00:00+00:00"
}