StraitOfVuln
Latest / CVE-2026-140014

CVE-2026-140014

MediumCVSS 6.5 (v3.1)Awaiting Analysis
CVE.org ↗NVD ↗

Description

cookie is an HTTP cookie parsing and cookie jar management library for Rust. From 0.11.3 until 0.12.0 and from 0.14.0 until 0.18.3, PrivateJar generates AES-256-GCM nonces with rand::thread_rng(), whose buffered state can be duplicated when a Unix-like process calls fork() without exec(). The forking thread must have used the thread-local generator before the fork, and two resulting processes must add private cookies on that same thread with a shared Key; applications that do not fork, create cookies only on post-fork threads, use SignedJar, or run on Windows are not affected. At most the first 21 private cookies added on that thread in each resulting process can reuse nonces before the generator reseeds and the processes diverge. An attacker must obtain two cookies from different resulting processes that share a nonce to recover plaintext relationships and forge private cookies accepted by the application. This issue is fixed in version 0.18.3.

Details

CVE ID
CVE-2026-140014
Published / updated
30 Nov 2026, 22:17 UTC · last modified 04 Dec 2026, 15:47 UTC
Severity
MEDIUM
CVSS score
6.5 · v3.1 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N · Attack vector: Network
Affected vendor
rwf2
Affected products
cookie-rs
Affected versions
cookie-rs: >= 0.14.0, < 0.18.3, >= 0.11.3, < 0.12.0
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
Not stated in the data. Check the vendor advisory.
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.43% probability of exploitation in the next 30 days · 40% percentile (03 Dec 2026)
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
security-advisories@github.com