ALPINE-CVE-2025-9086
Record from OSV · Published September 12, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| curl | Alpine:v3.23 | 8.16.0-r0 |
| curl | Alpine:v3.22 | 8.14.1-r2 |
| curl | Alpine:v3.24 | 8.16.0-r0 |
| curl | Alpine:v3.19 | 8.14.1-r2 |
| curl | Alpine:v3.20 | 8.14.1-r2 |
| curl | Alpine:v3.21 | 8.14.1-r2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Alpine:v3.23 | curl | 7.42.1-r1, 7.45.0-r0, 7.45.0-r1 |
| Alpine:v3.22 | curl | 7.33.0-r1, 7.19.2-r1, 8.13.0 |
| Alpine:v3.24 | curl | 8.13.0 |
| Alpine:v3.19 | curl | 0, 7.19.2-r1, 7.19.5-r0 |
| Alpine:v3.20 | curl | 7.19.2-r0, 7.19.4-r0, 7.19.5-r0 |
| Alpine:v3.21 | curl | 8.13.0, 7.63.0-r0, 7.21.7-r1 |
Timeline
- Sep 12, 2025 CVE Published
- Jul 8, 2026 CVE Updated
- Aug 8, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln ALPINE-CVE-2025-9086
vulnetix vdb fixes ALPINE-CVE-2025-9086
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/ALPINE-CVE-2025-9086/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart