CVE-2026-140014
cookie: Private cookie nonces can repeat in processes that fork
No exploitation reported by the sources we read.
- Published2026-11-30
- Fixed in0.18.3 · 0.12.0
- WeaknessCWE-323
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2026-11-3022:00CVE publishedCNA
Versions per branch
OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 0.x | ≥ 0.14.0, < 0.18.3 | 0.18.3 | OSV |
| 0.x | ≥ 0.11.3, < 0.12.0 | 0.12.0 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- rwf2 cookie-rsAffected
- = >= 0.14.0, < 0.18.3no fix stated
- = >= 0.11.3, < 0.12.0no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-11-30
Fix
- Update cookie to 0.18.3 · 0.12.0
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Metasploit modules
- none listed Metasploit Framework
Sources
- CNACVSS 3.16.52026-11-30
- CNAweakness (CWE)CWE-3232026-11-30
- NVDweakness (CWE)CWE-323read 2026-12-01
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- EUVD-2026-139740same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-8wcq-xq25-7fhmsame flawGitHub Advisory Database · CC-BY-4.0
- RUSTSEC-2026-0594same flawRustSec · CC0-1.0
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N
- Published
- 2026-11-30
- Last modified
- 2026-11-30
- NVD status
- Received
- GitHub advisory
- GHSA-8wcq-xq25-7fhm
Frequently asked questions
What is CVE-2026-140014?
Is CVE-2026-140014 actively exploited?
What is the CVSS score for CVE-2026-140014?
Running cookie? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-8wcq-xq25-7fhm
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served