CVE-2026-87862

NameCVE-2026-87862
DescriptionImporting 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
curl (PTS)bookworm7.88.1-10+deb12u15fixed
bookworm (security)7.88.1-10+deb12u5fixed
trixie8.14.1-2+deb13u5vulnerable
trixie (security)8.14.1-2+deb13u7vulnerable
forky8.22.0-1vulnerable
sid8.23.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
curlsourcebookworm(not affected)
curlsource(unstable)8.23.0~rc1-1

Notes

[trixie] - curl <no-dsa> (Minor issue)
[bookworm] - curl <not-affected> (Vulnerable code not present)
https://curl.se/docs/CVE-2026-87862.html
Introduced with: https://github.com/curl/curl/commit/a94973805df96269bf3f3bf0a20ccb9887313316 (curl-8_11_0)
Fixed by: https://github.com/curl/curl/commit/a1614c3bcf1593eb524b37792124357d97a5429c (rc-8_23_0-1)

Search for package or bug name: Reporting problems