{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-13470","id":"CVE-2025-13470","title":"RNP 0.18.0 Vulnerable PKESK session keys","description":"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 confidentia","descriptionLong":"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.","published":"2025-11-21T17:05:15.683Z","updated":"2026-10-28T10:42:21.768626934Z","reserved":"2025-11-20T08:36:59.270Z","status":"Deferred","rejected":false,"assigner":"Ribose","metric":{"version":"4.0","score":7.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/AU:Y/RE:H/U:Red","rating":"high","source":"Ribose"},"metrics":[{"version":"4.0","score":7.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/AU:Y/RE:H/U:Red","rating":"high","source":"Ribose"},{"version":"4.0","score":7.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:Y/R:X/V:X/RE:H/U:Red","rating":"high","source":"6504adb2-f5e9-4c9b-9eda-5e19c93bd9b3"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/AU:Y/RE:H/U:Red","rating":"unrated","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"Ribose"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"6504adb2-f5e9-4c9b-9eda-5e19c93bd9b3"}],"rating":"high","products":["Ribose RNP"],"affectedProducts":[{"vendor":"Ribose","product":"RNP","defaultStatus":"unaffected","versions":[{"status":"affected","version":"0.18.0"}],"platforms":[]}],"packages":[],"cwes":["CWE-330"],"aliases":[],"references":[{"url":"https://github.com/rnpgp/rnp/commit/7bd9a8dc356aae756b40755be76d36205b6b161a","tags":["related","fix"]},{"url":"https://launchpad.net/ubuntu/+source/rnp","tags":["x_downstream-package","web"]},{"url":"https://aur.archlinux.org/packages/rnp","tags":["x_downstream-package","web"]},{"url":"https://packages.gentoo.org/packages/dev-util/librnp","tags":["x_downstream_package","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2415863","tags":["issue-tracking","report"]},{"url":"https://access.redhat.com/security/cve/cve-2025-13402","tags":["third-party-advisory","advisory"]},{"url":"https://open.ribose.com/advisories/ra-2025-11-20/","tags":["vendor-advisory","advisory"]},{"url":"https://github.com/rnpgp/rnp/releases/tag/v0.18.1","tags":["release-notes","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/13xxx/CVE-2025-13470.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-13470","tags":["advisory"]},{"url":"https://github.com/rnpgp/rnp","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00325,"epssPercentile":0.26105,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-13470","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-13470","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-13470","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-13470","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}