UBUNTU-CVE-2025-9086

Source
https://ubuntu.com/security/CVE-2025-9086
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-9086.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-9086
Upstream
Downstream
Related
Published
2025-09-10T07:00:00Z
Modified
2026-02-28T06:16:58.395956Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • Ubuntu - low
Summary
[none]
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 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.
References

Affected packages

Ubuntu:25.10 / curl

Package

Name
curl
Purl
pkg:deb/ubuntu/curl@8.14.1-2ubuntu1.1?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.14.1-2ubuntu1.1

Affected versions

8.*
8.12.1-3ubuntu1
8.13.0-5ubuntu1
8.14.1-1ubuntu2
8.14.1-1ubuntu3
8.14.1-2ubuntu1

Ecosystem specific

{
    "priority_reason": "Curl developers have rated this as being low severity",
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "8.14.1-2ubuntu1.1",
            "binary_name": "curl"
        },
        {
            "binary_version": "8.14.1-2ubuntu1.1",
            "binary_name": "libcurl3t64-gnutls"
        },
        {
            "binary_version": "8.14.1-2ubuntu1.1",
            "binary_name": "libcurl4-gnutls-dev"
        },
        {
            "binary_version": "8.14.1-2ubuntu1.1",
            "binary_name": "libcurl4-openssl-dev"
        },
        {
            "binary_version": "8.14.1-2ubuntu1.1",
            "binary_name": "libcurl4t64"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-9086.json"