{"schemaVersion":3,"id":"CVE-2025-13470","aliases":["UBUNTU-CVE-2025-13470","DEBIAN-CVE-2025-13470"],"status":"published","duplicateOf":null,"title":null,"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.00303,"percentile":0.21685,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.0020000000000000052,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00301},"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":0.21685}],"last30":[{"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":0.21685}]},"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}],"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}],"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}],"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}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T05:36:09.685Z","stale":false,"partial":false}}