VDB

ALPINE-CVE-2025-9086

ALPINE-CVE-2025-9086 PUBLISHED CVSS 7.5 HIGH

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.

PackageEcosystemFixed in
curlAlpine:v3.238.16.0-r0
curlAlpine:v3.228.14.1-r2
curlAlpine:v3.248.16.0-r0
curlAlpine:v3.198.14.1-r2
curlAlpine:v3.208.14.1-r2
curlAlpine:v3.218.14.1-r2

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
Alpine:v3.23curl7.42.1-r1, 7.45.0-r0, 7.45.0-r1
Alpine:v3.22curl7.33.0-r1, 7.19.2-r1, 8.13.0
Alpine:v3.24curl8.13.0
Alpine:v3.19curl0, 7.19.2-r1, 7.19.5-r0
Alpine:v3.20curl7.19.2-r0, 7.19.4-r0, 7.19.5-r0
Alpine:v3.21curl8.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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›