{"schemaVersion":4,"id":"CVE-2025-13470","aliases":["UBUNTU-CVE-2025-13470","DEBIAN-CVE-2025-13470"],"status":"published","duplicateOf":null,"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 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.","dates":{"published":"2025-11-21T17:05:15.683Z","modified":"2025-11-21T17:35:33.645Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.7,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":7.7,"severity":"high","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":8.7,"severity":"high","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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Debian","score":8.7,"severity":"high","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":7.7,"severity":"high","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00325,"percentile":0.27561,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00325},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00569,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00569,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00569,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00569,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00569,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00569,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00325,"percentile":0.27561}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00569,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00569,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00569,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00569,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00569,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00569,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00325,"percentile":0.27561}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-330","name":"Use of Insufficiently Random Values","description":"The product uses insufficiently random numbers or values in a security context that depends on unpredictable numbers.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/330.html"}],"affected":[{"vendor":"debian","product":"rnp","name":"rnp","label":"rnp","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/rnp","purlType":"deb","versions":[{"text":"< 0.18.1-1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.18.1-1","endInclusive":false}}],"versionsText":"< 0.18.1-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"rnp","name":"rnp","label":"rnp","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/rnp","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ribose","product":"rnp","name":"rnp","label":"rnp","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"0.18.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"0.18.0","startInclusive":true,"end":"0.18.0","endInclusive":true}}],"versionsText":"0.18.0","eol":null,"hubHref":"/vendor/ribose/rnp"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/rnpgp/rnp/commit/7bd9a8dc356aae756b40755be76d36205b6b161a","label":"github.com/rnpgp/rnp/commit/7bd9a8dc356aae756b40755be76d36205b6b161a","hostname":"github.com","tags":["Related","REPORT"]},{"url":"https://launchpad.net/ubuntu/+source/rnp","label":"launchpad.net/ubuntu/+source/rnp","hostname":"launchpad.net","tags":["X Downstream Package","REPORT"]},{"url":"https://aur.archlinux.org/packages/rnp","label":"aur.archlinux.org/packages/rnp","hostname":"aur.archlinux.org","tags":["X Downstream Package","REPORT"]},{"url":"https://packages.gentoo.org/packages/dev-util/librnp","label":"packages.gentoo.org/packages/dev-util/librnp","hostname":"packages.gentoo.org","tags":["X Downstream Package","REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2415863","label":"bugzilla.redhat.com/show_bug.cgi?id=2415863","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","REPORT"]},{"url":"https://access.redhat.com/security/cve/cve-2025-13402","label":"access.redhat.com/security/cve/cve-2025-13402","hostname":"access.redhat.com","tags":["Third Party Advisory","REPORT"]},{"url":"https://open.ribose.com/advisories/ra-2025-11-20/","label":"open.ribose.com/advisories/ra-2025-11-20/","hostname":"open.ribose.com","tags":["Vendor Advisory","REPORT"]},{"url":"https://github.com/rnpgp/rnp/releases/tag/v0.18.1","label":"github.com/rnpgp/rnp/releases/tag/v0.18.1","hostname":"github.com","tags":["Release Notes","REPORT"]},{"url":"https://ubuntu.com/security/CVE-2025-13470","label":"ubuntu.com/security/CVE-2025-13470","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-13470","label":"www.cve.org/CVERecord?id=CVE-2025-13470","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-13470","label":"security-tracker.debian.org/tracker/CVE-2025-13470","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2025:15762-1","OPENSUSE-SU-2025:20116-1"],"duplicates":[],"related":["OPENSUSE-SU-2025:15762-1","OPENSUSE-SU-2025:20116-1"]},"timeline":[{"kind":"published","date":"2025-11-21T17:05:15.683Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-11-21T17:35:33.645Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"severe","reason":"Severe, CVSS 7.7 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)","nextStep":"Check applicability and the vendor advisory: no fix release is recorded here","rank":[0,0,0,0,0,77],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00325,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2025-11-21T17:35:33.645Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"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","version":"4.0","headline":true},{"type":"cvss","source":"cve.org","date":"2025-11-21T17:35:33.645Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},{"type":"cvss","source":"osv_ubuntu","date":"2025-11-21T17:35:33.645Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.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","version":"4.0"},{"type":"cvss","source":"osv_ubuntu","date":"2025-11-21T17:35:33.645Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2025-11-21T17:35:33.645Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.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","version":"4.0"},{"type":"cvss","source":"nvd","date":"2025-11-21T17:35:33.645Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"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","version":"4.0"},{"type":"cvss","source":"nvd","date":"2025-11-21T17:35:33.645Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2025-11-21T17:35:25.938Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00325,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T06:02:28.822Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T06:02:29.295Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T06:02:29.506Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T06:00:56.363Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T06:02:27.202Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T06:02:26.240Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T06:25:11.375Z","stale":false,"partial":false}}