Skip to content
OpenAdvisories
High · 7.5 CVE-2025-9086 EUVD-2025-29014GHSA-v676-f8gm-92r9

Out of bounds read for cookie path

Published Sep 12, 2025 · Updated Sep 15, 2026 · Assigned by curl

Description

1. A cookie is set using the `secure` keyword for `https://target`
2. curl is redirected to or otherwise made to speak with `http://target` (same
hostname, but using clear text HTTP) using the same cookie set
3. The same cookie name is set - but with only a slash as path (`path="/"`).
Since this site is not secure, the cookie *should* be ignored.
4. A bug in the path comparison logic makes curl read outside a heap buffer
boundary

The bug either causes a crash or it potentially makes the comparison come to
the wrong conclusion and lets the clear-text site override the contents of the
secure cookie, contrary to expectations and depending on the memory contents
immediately following the single-byte allocation that holds the path.

The presumed and correct behavior would be to plainly ignore the second set of
the cookie since it was already set as secure on a secure host so overriding
it on an insecure host should not be okay.

Affected products

VendorProductAffectedFixed
curl curl 8.13.0 – < 8.14.2, 8.15.0 – < 8.16.0, 8.15.0, 8.14.1, 8.14.0, 8.13.0 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.16.0~rc2-1 —
Debian 13 curl 8.14.1-2+deb13u1 —
Debian 11 curl 7.74.0-1.3+deb11u16 DLA-4432-1
ReleasePackageFixed inAdvisory
Ubuntu 25.10 curl 8.14.1-2ubuntu1.1 USN-8062-1
Ubuntu 24.04 LTS curl 8.5.0-2ubuntu10.7 USN-8062-1
Ubuntu 22.04 LTS curl 7.81.0-1ubuntu1.22 USN-8062-1
ReleasePackageFixed inAdvisory
RHEL 10 curl +3 8.12.1-2.el10_1.2 RHSA-2026:1825
RHEL 9 curl +4 7.76.1-35.el9_7.3 RHSA-2026:1350
RHEL 8 curl +3 7.61.1-34.el8_10.9 RHSA-2025:23383
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 10.0 EUS curl +2 8.12.1-1.el10_0.4 RHSA-2026:1477
RHEL 9.6 EUS curl +4 7.76.1-31.el9_6.2 RHSA-2025:23043
RHEL 9.4 EUS curl +3 7.76.1-29.el9_4.3 RHSA-2025:23125
RHEL 9.2 E4S curl +3 7.76.1-23.el9_2.8 RHSA-2025:23127
RHEL 9.0 E4S curl +3 7.76.1-14.el9_0.12 RHSA-2025:23126
Red Hat Hardened Images 1 curl +3 8.19.0-3.hum1 RHSA-2026:82895, RHSA-2026:77255, RHSA-2026:6893

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 curl +3 8.12.1-2.el10_1.2 ALSA-2026:1825
AlmaLinux 9 curl +4 7.76.1-35.el9_7.3 ALSA-2026:1350
AlmaLinux 8 curl +3 7.61.1-34.el8_10.9 ALSA-2025:23383

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 curl 8.12.1-2.el10_1.2 RLSA-2026:1825
Rocky Linux 9 curl 7.76.1-35.el9_7.3 RLSA-2026:1350
Rocky Linux 8 curl 7.61.1-34.el8_10.9 RLSA-2025:23383
ReleasePackageFixed inAdvisory
SLES 15 SP7 brotli 1.0.7-150200.3.5.1 SUSE-SU-2025:03268-1
SLES 15 SP7 curl 8.14.1-150600.4.28.1 SUSE-SU-2025:03198-1
SLES 15 SP6 brotli 1.0.7-150200.3.5.1 SUSE-SU-2025:03268-1
SLES 15 SP6 curl 8.14.1-150600.4.28.1 SUSE-SU-2025:03198-1
SLES 15 SP5 brotli 1.0.7-150200.3.5.1 SUSE-SU-2025:03268-1
SLES 15 SP5 curl 8.14.1-150400.5.69.1 SUSE-SU-2025:03267-1
SLES 15 SP4 brotli 1.0.7-150200.3.5.1 SUSE-SU-2025:03268-1
SLES 15 SP4 curl 8.14.1-150400.5.69.1 SUSE-SU-2025:03267-1
SLES 15 SP3 brotli 1.0.7-150200.3.5.1 SUSE-SU-2025:03268-1
SLES 15 SP3 curl 8.14.1-150200.4.91.1 SUSE-SU-2025:03268-1
Show 22 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 curl 8.0.1-11.108.1 SUSE-SU-2025:03173-1
SLES for SAP 16.0 curl +1 8.14.1-160000.3.1 SUSE-SU-2025:21145-1
SLES for SAP 15 SP5 brotli 1.0.7-150200.3.5.1 SUSE-SU-2025:03268-1
SLES for SAP 15 SP4 brotli 1.0.7-150200.3.5.1 SUSE-SU-2025:03268-1
SLES for SAP 15 SP4 curl 8.14.1-150400.5.69.1 SUSE-SU-2025:03267-1
SLES for SAP 15 SP3 brotli 1.0.7-150200.3.5.1 SUSE-SU-2025:03268-1
SLES for SAP 15 SP3 curl 8.14.1-150200.4.91.1 SUSE-SU-2025:03268-1
SLES 16.0 curl +1 8.14.1-160000.3.1 SUSE-SU-2025:21145-1
SLE Micro 6.2 curl 8.14.1-160000.3.1 SUSE-SU-2025:21077-1
SLE Micro 6.1 curl 8.14.1-slfo.1.1_2.1 SUSE-SU-2025:20802-1
SLE Micro 6.0 curl 8.14.1-1.1 SUSE-SU-2025:20824-1
SLE Micro 5.5 brotli 1.0.7-150200.3.5.1 SUSE-SU-2025:03268-1
SLE Micro 5.5 curl 8.14.1-150400.5.69.1 SUSE-SU-2025:03267-1
SLE Micro 5.4 brotli 1.0.7-150200.3.5.1 SUSE-SU-2025:03268-1
SLE Micro 5.4 curl 8.14.1-150400.5.69.1 SUSE-SU-2025:03267-1
SLE Micro 5.3 brotli 1.0.7-150200.3.5.1 SUSE-SU-2025:03268-1
SLE Micro 5.3 curl 8.14.1-150400.5.69.1 SUSE-SU-2025:03267-1
SLE Micro 5.2 brotli 1.0.7-150200.3.5.1 SUSE-SU-2025:03268-1
SLE Micro 5.2 curl 8.14.1-150200.4.91.1 SUSE-SU-2025:03268-1
SLE Micro 5.1 brotli 1.0.7-150200.3.5.1 SUSE-SU-2025:03268-1
SLE Micro 5.1 curl 8.14.1-150200.4.91.1 SUSE-SU-2025:03268-1
SLE HPC 15 SP5 brotli 1.0.7-150200.3.5.1 SUSE-SU-2025:03268-1
SLE HPC 15 SP5 curl 8.14.1-150400.5.69.1 SUSE-SU-2025:03267-1
SLE HPC 15 SP4 brotli 1.0.7-150200.3.5.1 SUSE-SU-2025:03268-1
SLE HPC 15 SP4 curl 8.14.1-150400.5.69.1 SUSE-SU-2025:03267-1
SLE HPC 15 SP3 brotli 1.0.7-150200.3.5.1 SUSE-SU-2025:03268-1
SLE HPC 15 SP3 curl 8.14.1-150200.4.91.1 SUSE-SU-2025:03268-1
SUSE Manager Server LTS 4.3 brotli 1.0.7-150200.3.5.1 SUSE-SU-2025:03268-1
SUSE Manager Server LTS 4.3 curl 8.14.1-150400.5.69.1 SUSE-SU-2025:03267-1
SUSE Manager Proxy LTS 4.3 brotli 1.0.7-150200.3.5.1 SUSE-SU-2025:03268-1
SUSE Manager Proxy LTS 4.3 curl 8.14.1-150400.5.69.1 SUSE-SU-2025:03267-1
SUSE Linux Enterprise Installer Updates 15 SP5 curl 8.14.1-150400.5.69.1 SUSE-SU-2025:03267-1
SUSE Linux Enterprise Installer Updates 15 SP4 curl 8.14.1-150400.5.69.1 SUSE-SU-2025:03267-1
SUSE Enterprise Storage 7.1 brotli 1.0.7-150200.3.5.1 SUSE-SU-2025:03268-1
SUSE Enterprise Storage 7.1 curl 8.14.1-150200.4.91.1 SUSE-SU-2025:03268-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed curl 8.16.0-1.1 openSUSE-SU-2025:15590-1
openSUSE Leap 16.0 curl 8.14.1-160000.3.1 openSUSE-SU-2025:20090-1
openSUSE Leap 15.6 brotli 1.0.7-150200.3.5.1 SUSE-SU-2025:03268-1
openSUSE Leap 15.6 curl 8.14.1-150600.4.28.1 SUSE-SU-2025:03198-1
ReleasePackageFixed inAdvisory
Alpine v3.24 curl 8.16.0-r0 —
Alpine v3.23 curl 8.16.0-r0 —
Alpine v3.22 curl 8.14.1-r2 —
Alpine v3.21 curl 8.14.1-r2 —
Alpine v3.20 curl 8.14.1-r2 —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 curl 8.14.1-r2 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 curl +4 8.15.0-4.amzn2023.0.1 ALAS2023-2025-1351
Amazon Linux 2 curl +2 8.3.0-1.amzn2.0.10 ALAS2-2025-3056

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 curl +3 8.12.1-2.el10_1.2 ELSA-2026-1825
Oracle Linux 9 curl +4 7.76.1-35.el9_7.3 ELSA-2026-1350
Oracle Linux 8 curl +3 7.61.1-34.el8_10.9 ELSA-2025-23383

Advisories 50

References