Advisory

DEBIAN-CVE-2025-9086

Also known as: CVE-2025-9086

Summary

The record has no summary.

Details

  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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2025-09-12 06:15 UTC
Modified
2026-10-23 17:47 UTC

Affected packages and fixes

curl

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 8.14.1-2+deb13u1 (ecosystem)

Fixed versions

8.14.1-2+deb13u1

Fix

  • Fixed version 8.14.1-2+deb13u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

curl

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 8.16.0~rc2-1 (ecosystem)

Fixed versions

8.16.0~rc2-1

Fix

  • Fixed version 8.16.0~rc2-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences