REDHAT-BUG-2550638: Low severity curl curl vulnerability

Published Oct 13, 2026
·
Updated

HSTS cache import drops longer-lived child ==========================================

Project curl Security Advisory, October 14 2026 Permalink

VULNERABILITY -------------

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.

INFO ----

The Common Vulnerabilities and Exposures (CVE) project has assigned the name CVE-2026-87862 to this issue.

CWE-201: Information Exposure Through Sent Data

Severity: Low

AFFECTED VERSIONS -----------------

- Affected versions: curl 8.11.0 to and including 8.22.0 - Not affected versions: curl < 8.11.0 and >= 8.23.0 - Introduced-in: https://github.com/curl/curl/commit/a94973805df96269bf3f3bf0a2

libcurl is used by many applications, but not always advertised as such!

This flaw also affects the curl command line tool.

SOLUTION ------------

- Fixed-in: https://github.com/curl/curl/commit/a1614c3bcf1593eb524b37792124357

RECOMMENDATIONS --------------

A - Upgrade curl to version 8.23.0

B - Apply the patch to your local version

C - Do not rely on HSTS

TIMELINE --------

This issue was reported to the curl project on August 26, 2026.

curl 8.23.0 was released on October 14, 2026, coordinated with the publication of this advisory.

CREDITS -------

- Reported-by: Stanislav Fort (Aisle Research) - Patched-by: Daniel Stenberg

Thanks a lot!

Affected Software

2 affected components
curl curl>=8.11.0<=8.22.0
curl libcurl>=8.11.0<=8.22.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 8.23.0
  2. Compensating control

    Do not rely on HSTS.

Event History

Oct 13, 2026
Data Sourced
via Red Hat·03:44 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Deployments using curl or libcurl versions 8.11.0 through 8.22.0 are affected. This includes the curl command-line tool and applications that use libcurl, including applications where libcurl use is not readily visible.

2

What conditions are needed for the HTTPS downgrade behavior to occur?

The HSTS cache must import an includeSubDomains parent entry before a child entry that has a longer lifetime. When the parent entry later expires, the valid child policy is lost and curl can make HTTP requests instead of upgrading them to HTTPS.

3

How can I determine whether a system is affected?

Check the version of curl or libcurl in use: versions 8.11.0 through 8.22.0 are affected, while versions earlier than 8.11.0 and version 8.23.0 or later are not. Also identify applications that bundle or depend on libcurl rather than relying only on the command-line curl version.

4

What should be done if the affected version is installed?

Upgrade curl to version 8.23.0. The advisory also identifies a fix commit that can be applied when upgrading is not immediately possible.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203