CVE-2026-140014: cookie: Private cookie nonces can repeat in processes that fork
Vulnerability summary
CVE-2026-140014 is a medium (CVSS 6.5) Reusing a Nonce, Key Pair in Encryption vulnerability in rwf2 cookie-rs. EPSS estimates a 0.43% chance of exploitation in the next 30 days, higher than 39.5% of scored vulnerabilities.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 30-11-2026PublishedVulnerability first disclosed.
- 01-12-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 1 version- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N
- OSV · Crates.ioEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N
- OSV · WolfiEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N
- OSV · ChainguardEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N
- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N
EPSS trend
Probability
0.43%
Chance of exploitation in the next 30 days
Percentile
40%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard20 products
- apollo-router-2All versions (No fix recorded) | < 2.19.1-r1
- apollo-router-2.10All versions (No fix recorded)
- biomeAll versions (No fix recorded) | < 2.6.9-r1
- codexAll versions (No fix recorded) | < 0.173.0-r1
- datadog-lambda-extensionAll versions (No fix recorded) | < 105-r1
Wolfi9 products
- biomeAll versions (No fix recorded) | < 2.6.9-r1
- codexAll versions (No fix recorded) | < 0.173.0-r1
- geckodriverAll versions (No fix recorded)
- lycheeAll versions (No fix recorded) | < 0.24.2-r12
- nushellAll versions (No fix recorded) | < 0.117.0-r2
Crates.Io1 product
- cookie≥ 0.11.3, < 0.18.3 | ≥ 0.14.0, < 0.18.3
Debian1 product
- rust-cookieAll versions (No fix recorded) | < 0.18.3-1
Rwf21 product
- cookie-rs≥ 0.14.0, < 0.18.3 | ≥ 0.11.3, < 0.12.0
5 vendors · 32 products
References
10 links- crates.io/crates/cookiePACKAGE
- github.com/rwf2/cookie-rsPACKAGE