{"id":"CVE-2025-13470","published":"2025-11-21T17:05:15Z","modified":"2025-11-21T17:35:33Z","title":"RNP 0.18.0 Vulnerable PKESK session keys","vendor":"Ribose","product":"RNP","tier":"tail","description":{"text":"In RNP version 0.18.0 a refactoring regression causes the symmetric \nsession key used for Public-Key Encrypted Session Key (PKESK) packets to\n be left uninitialized except for zeroing, resulting in it always being \nan all-zero byte array.\n\nAny data encrypted using public-key encryption \nin this release can be decrypted trivially by supplying an all-zero \nsession key, fully compromising confidentiality.\n\nThe vulnerability affects only public key encryption (PKESK packets).  Passphrase-based encryption (SKESK packets) is not affected.\n\nRoot cause: Vulnerable session key buffer used in PKESK packet generation.\n\n\n\nThe defect was introduced in commit `7bd9a8dc356aae756b40755be76d36205b6b161a` where initialization \nlogic inside `encrypted_build_skesk()` only randomized the key for the \nSKESK path and omitted it for the PKESK path.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00325,"percentile":0.26238,"provenance":"source"},"cwes":[{"id":"CWE-330","name":"Use of Insufficiently Random Values"}],"references":[{"url":"https://github.com/rnpgp/rnp/commit/7bd9a8dc356aae756b40755be76d36205b6b161a","tags":["related"]},{"url":"https://launchpad.net/ubuntu/+source/rnp","tags":["x_downstream-package"]},{"url":"https://aur.archlinux.org/packages/rnp","tags":["x_downstream-package"]},{"url":"https://packages.gentoo.org/packages/dev-util/librnp","tags":["x_downstream_package"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2415863","tags":["issue-tracking"]},{"url":"https://access.redhat.com/security/cve/cve-2025-13402","tags":["third-party-advisory"]},{"url":"https://open.ribose.com/advisories/ra-2025-11-20/","tags":["vendor-advisory"]},{"url":"https://github.com/rnpgp/rnp/releases/tag/v0.18.1","tags":["release-notes"]}],"priority":{"score":10.5,"factors":[{"name":"EPSS percentile","points":5.25},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"ribose","affectedVersions":[{"vendor":"Ribose","product":"RNP","versions":["0.18.0"]}],"solutions":{"items":["For standalone RNP users: Upgrade to RNP 0.18.1 when available. For distributions that have packaged 0.18.0: Please update to 0.18.1 when released, or consider providing 0.17.1 as an interim option. For Thunderbird packages using system RNP: If your Thunderbird package is built with system RNP support and RNP 0.18.0 is installed, update RNP to 0.18.1 or 0.17.1. Consider whether Thunderbird should continue using system RNP or switch to bundled RNP. For all other users: Users who encrypted sensitive data using RNP 0.18.0 (standalone or via Thunderbird with system RNP 0.18.0) should re-encrypt that data with RNP 0.18.1 or 0.17.1 based on their security requirements."],"from":"CVE.org CNA","provenance":"source"},"workarounds":{"items":["No workaround.  All PKESK-encrypted ciphertext produced with 0.18.0 is compromised."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-11-21T17:35:25.938705Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-198494","exploited":false,"provenance":"source"}}