Skip to content
OpenAdvisories

Description

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 products

VendorProductAffectedFixed
curl curl 7.46.0 – < 8.14.2, 8.15.0 – < 8.16.1, 8.17.0 – < 8.20.1, 8.21.0 – < 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, 8.1.2, 8.1.1, 8.1.… 8.14.2

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 curl 8.22.0-1 —
Debian 13 curl No fix yet —
Debian 12 curl No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 curl 8.20.0-2ubuntu11 —
Ubuntu 26.04 LTS curl 8.18.0-1ubuntu2.7 USN-8820-1
Ubuntu 24.04 LTS curl 8.5.0-2ubuntu10.15 USN-8820-1
Ubuntu 22.04 LTS curl 7.81.0-1ubuntu1.29 USN-8820-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS curl 7.68.0-1ubuntu2.25+esm9 USN-8820-1
Ubuntu Pro 18.04 LTS curl 7.58.0-2ubuntu3.24+esm14 USN-8820-1
Ubuntu Pro 16.04 LTS curl 7.47.0-1ubuntu2.19+esm20 USN-8820-1
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 curl +3 8.22.0-0.1.hum1 RHSA-2026:63161
ReleasePackageFixed inAdvisory
SLES 15 SP7 curl 8.22.0-150700.7.33.1 SUSE-SU-2026:5068-1
SLES 15 SP6 curl 8.22.0-150600.4.58.1 SUSE-SU-2026:5069-1
SLES 15 SP5 curl 8.14.1-150400.5.98.1 SUSE-SU-2026:4954-1
SLES 15 SP4 curl 8.14.1-150400.5.98.1 SUSE-SU-2026:4954-1
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP6 curl 8.22.0-150600.4.58.1 SUSE-SU-2026:5069-1
SLE Micro 5.5 curl 8.14.1-150400.5.98.1 SUSE-SU-2026:4954-1
SLE Micro 5.4 curl 8.14.1-150400.5.98.1 SUSE-SU-2026:4954-1
SLE Micro 5.3 curl 8.14.1-150400.5.98.1 SUSE-SU-2026:4954-1
SLE HPC 15 SP5 curl 8.14.1-150400.5.98.1 SUSE-SU-2026:4954-1
SLE HPC 15 SP4 curl 8.14.1-150400.5.98.1 SUSE-SU-2026:4954-1
SUSE Linux Enterprise Installer Updates 15 SP5 curl 8.14.1-150400.5.98.1 SUSE-SU-2026:4954-1
SUSE Linux Enterprise Installer Updates 15 SP4 curl 8.14.1-150400.5.98.1 SUSE-SU-2026:4954-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed curl 8.22.0-1.1 openSUSE-SU-2026:11696-1
ReleasePackageFixed inAdvisory
Alpine v3.24 curl 8.22.0-r0 —
Alpine v3.23 curl 8.22.0-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 curl +4 No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling curl +5 8.22.0-r2 —

Advisories 8

References