CVE-2025-9086

EUVD-2025-29014
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 just a slash as path (`path=\"/\",`).
   Since this site is not secure, the cookie *should* just 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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
curlCNA
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 14%
Affected Products (NVD)
VendorProductVersion
haxxcurl
8.13.0 ≤
𝑥
< 8.16.0
debiandebian_linux
11.0
𝑥
= Vulnerable software versions
Early Detection
Affected products identified ahead of NVD analysis through intelligence sources.
VendorProductVersionSource
curlcurl
𝑥
≤ 8.15.0
CNA
curlcurl
𝑥
≤ 8.14.1
CNA
curlcurl
𝑥
≤ 8.14.0
CNA
curlcurl
𝑥
≤ 8.13.0
CNA
Debian logo
Debian Releases
Debian Product
Codename
curl
bookworm
7.88.1-10+deb12u14
fixed
bookworm (security)
7.88.1-10+deb12u5
fixed
bullseye
7.74.0-1.3+deb11u13
fixed
bullseye (security)
7.74.0-1.3+deb11u16
fixed
forky
8.20.0-1
fixed
sid
8.20.0-2
fixed
trixie
8.14.1-2+deb13u3
fixed
openSUSE logo
openSUSE / SLES Releases
openSUSE Product
Release
curl
suse enterprise desktop 15 SP6
8.14.1-150600.4.28.1
fixed
suse enterprise desktop 15 SP7
8.14.1-150600.4.28.1
fixed
suse enterprise sap 15 SP4
8.14.1-150400.5.69.1
fixed
suse enterprise sap 15 SP5
8.14.1-150400.5.69.1
fixed
suse enterprise sap 15 SP6
8.14.1-150600.4.28.1
fixed
suse enterprise sap 15 SP7
8.14.1-150600.4.28.1
fixed
suse enterprise server 12 SP5
8.0.1-11.108.1
fixed
suse enterprise server 15 SP2
8.14.1-150200.4.91.1
fixed
suse enterprise server 15 SP3
8.14.1-150200.4.91.1
fixed
suse enterprise server 15 SP4
8.14.1-150400.5.69.1
fixed
suse enterprise server 15 SP5
8.14.1-150400.5.69.1
fixed
suse enterprise server 15 SP6
8.14.1-150600.4.28.1
fixed
suse enterprise server 15 SP7
8.14.1-150600.4.28.1
fixed
libcurl-devel
suse enterprise desktop 15 SP6
8.14.1-150600.4.28.1
fixed
suse enterprise desktop 15 SP7
8.14.1-150600.4.28.1
fixed
suse enterprise sap 15 SP4
8.14.1-150400.5.69.1
fixed
suse enterprise sap 15 SP5
8.14.1-150400.5.69.1
fixed
suse enterprise sap 15 SP6
8.14.1-150600.4.28.1
fixed
suse enterprise sap 15 SP7
8.14.1-150600.4.28.1
fixed
suse enterprise server 12 SP5
8.0.1-11.108.1
fixed
suse enterprise server 15 SP2
8.14.1-150200.4.91.1
fixed
suse enterprise server 15 SP3
8.14.1-150200.4.91.1
fixed
suse enterprise server 15 SP4
8.14.1-150400.5.69.1
fixed
suse enterprise server 15 SP5
8.14.1-150400.5.69.1
fixed
suse enterprise server 15 SP6
8.14.1-150600.4.28.1
fixed
suse enterprise server 15 SP7
8.14.1-150600.4.28.1
fixed
libcurl4
suse enterprise desktop 15 SP6
8.14.1-150600.4.28.1
fixed
suse enterprise desktop 15 SP7
8.14.1-150600.4.28.1
fixed
suse enterprise sap 15 SP4
8.14.1-150400.5.69.1
fixed
suse enterprise sap 15 SP5
8.14.1-150400.5.69.1
fixed
suse enterprise sap 15 SP6
8.14.1-150600.4.28.1
fixed
suse enterprise sap 15 SP7
8.14.1-150600.4.28.1
fixed
suse enterprise server 12 SP5
8.0.1-11.108.1
fixed
suse enterprise server 15 SP2
8.14.1-150200.4.91.1
fixed
suse enterprise server 15 SP3
8.14.1-150200.4.91.1
fixed
suse enterprise server 15 SP4
8.14.1-150400.5.69.1
fixed
suse enterprise server 15 SP5
8.14.1-150400.5.69.1
fixed
suse enterprise server 15 SP6
8.14.1-150600.4.28.1
fixed
suse enterprise server 15 SP7
8.14.1-150600.4.28.1
fixed
libcurl4-32bit
suse enterprise desktop 15 SP6
8.14.1-150600.4.28.1
fixed
suse enterprise desktop 15 SP7
8.14.1-150600.4.28.1
fixed
suse enterprise sap 15 SP4
8.14.1-150400.5.69.1
fixed
suse enterprise sap 15 SP5
8.14.1-150400.5.69.1
fixed
suse enterprise sap 15 SP6
8.14.1-150600.4.28.1
fixed
suse enterprise sap 15 SP7
8.14.1-150600.4.28.1
fixed
suse enterprise server 12 SP5
8.0.1-11.108.1
fixed
suse enterprise server 15 SP2
8.14.1-150200.4.91.1
fixed
suse enterprise server 15 SP3
8.14.1-150200.4.91.1
fixed
suse enterprise server 15 SP4
8.14.1-150400.5.69.1
fixed
suse enterprise server 15 SP5
8.14.1-150400.5.69.1
fixed
suse enterprise server 15 SP6
8.14.1-150600.4.28.1
fixed
suse enterprise server 15 SP7
8.14.1-150600.4.28.1
fixed
Red Hat logo
Red Hat Enterprise Linux Releases
Red Hat Product
Release
curl
RHEL 8
0:7.61.1-34.el8_10.9
fixed
RHEL 9
0:7.76.1-35.el9_7.3
fixed
curl-minimal
RHEL 9
0:7.76.1-35.el9_7.3
fixed
libcurl
RHEL 8
0:7.61.1-34.el8_10.9
fixed
RHEL 9
0:7.76.1-35.el9_7.3
fixed
libcurl-devel
RHEL 8
0:7.61.1-34.el8_10.9
fixed
RHEL 9
0:7.76.1-35.el9_7.3
fixed
libcurl-minimal
RHEL 8
0:7.61.1-34.el8_10.9
fixed
RHEL 9
0:7.76.1-35.el9_7.3
fixed