REDHAT-BUG-2529207: Low severity curl libcurl vulnerability

Published Sep 6, 2026
·
Updated

When libpsl support is enabled, libcurl fails to enforce the Public Suffix List boundary check when processing a Set-Cookie header where the Domain attribute explicitly matches an origin host that is itself a public suffix (e.g., Domain=co.uk set by co.uk).

Instead of coercing it into a strict host-only cookie, libcurl saves the cookie with wildcard domain scope (.co.uk). Consequently, the cookie is inappropriately included in subsequent outbound requests or HTTP redirects to arbitrary sibling subdomains under the same public suffix (e.g., attacker.co.uk).

Affected Software

1 affected component
curl libcurl

Event History

Sep 6, 2026
Data Sourced
via Red Hat·06:01 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which deployments are affected?

Deployments using libcurl with libpsl support enabled are affected when processing a Set-Cookie header from an origin host that is itself a public suffix and whose Domain attribute explicitly matches that host.

2

What conditions are required for the cookie to be sent beyond its origin host?

The affected cookie must be saved with wildcard domain scope, such as .co.uk. It can then be included in later requests or HTTP redirects to sibling subdomains under that public suffix, such as attacker.co.uk.

3

How can I identify whether this behavior occurred?

Inspect libcurl's stored cookies after receiving a Set-Cookie header with a Domain value matching a public-suffix origin. Affected handling saves the cookie with a wildcard domain scope, for example .co.uk, rather than as a strict host-only cookie.

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