CVE-2026-140014
Published:November 30, 2026
Updated:December 01, 2026
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.
Affected Packages
https://github.com/rwf2/cookie-rs.git (GITHUB):
Affected version(s) >=0.11.3 <0.18.3 || >=0.14.0 <0.18.3 || >=0.15.0 <0.18.3 || >=0.16.0-rc.1 <0.18.3 || =0.17.0 <0.18.3 || >=0.18.0 <0.18.3Fix Suggestion:
Update to version 0.18.3cookie (RUST):
Affected version(s) >=0.14.0 <0.18.3 || >=0.11.3 <0.18.3Fix Suggestion:
Update to version 0.18.3cookie (RUST):
Affected version(s) >=0.11.3 <0.18.3 || >=0.15.0 <0.18.3 || =0.17.0 <0.18.3 || >=0.14.0 <0.18.3 || >=0.16.0-rc.1 <0.18.3 || >=0.18.0-rc.0 <0.18.3Fix Suggestion:
Update to version 0.18.3Related ResourcesĀ (9)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.3
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Reusing a Nonce, Key Pair in Encryption
EPSS
Base Score:
0.43