{"id":"CVE-2025-13470","aliases":["CVE-2025-13470"],"related":[],"kind":"vulnerability","state":"published","title":"RNP 0.18.0 Vulnerable PKESK session keys","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En la versión 0.18.0 de RNP, una regresión de refactorización causa que la clave de sesión simétrica utilizada para los paquetes de Clave de Sesión Cifrada con Clave Pública (PKESK) se deje sin inicializar, excepto por el borrado a cero, lo que resulta en que siempre sea un array de bytes todo a cero.\n\nCualquier dato cifrado utilizando cifrado de clave pública en esta versión puede ser descifrado trivialmente al proporcionar una clave de sesión todo a cero, comprometiendo completamente la confidencialidad.\n\nLa vulnerabilidad afecta solo al cifrado de clave pública (paquetes PKESK). El cifrado basado en frase de contraseña (paquetes SKESK) no se ve afectado.\n\nCausa raíz: Búfer de clave de sesión vulnerable utilizado en la generación de paquetes PKESK.\n\nEl defecto fue introducido en el commit '7bd9a8dc356aae756b40755be76d36205b6b161a' donde la lógica de inicialización dentro de 'encrypted_build_skesk()' solo aleatorizó la clave para la ruta SKESK y la omitió para la ruta PKESK.","source":"nvd"}],"published":"2025-11-21T17:05:15.683Z","modified":"2026-10-08T10:10:00.227Z","severity":{"scorer":"Ribose","scheme":"CVSS:4.0","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","score":7.7,"rating":"HIGH"},"severities":[{"scorer":"Ribose","scheme":"CVSS:4.0","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","score":7.7,"rating":"HIGH"},{"scorer":"Ribose","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-330"],"affected":[{"ranges":[{"version":"0.18.0","status":"affected"}],"vendor":"Ribose","product":"RNP","repo":"https://github.com/rnpgp/rnp","source":"cvelist"}],"references":[{"url":"https://github.com/rnpgp/rnp/commit/7bd9a8dc356aae756b40755be76d36205b6b161a","tags":["related"],"sources":["cvelist","nvd"]},{"url":"https://launchpad.net/ubuntu/+source/rnp","tags":["x-downstream-package"],"sources":["cvelist","nvd"]},{"url":"https://aur.archlinux.org/packages/rnp","tags":["x-downstream-package"],"sources":["cvelist","nvd"]},{"url":"https://packages.gentoo.org/packages/dev-util/librnp","tags":["x-downstream-package"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2415863","tags":["issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/security/cve/cve-2025-13402","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://open.ribose.com/advisories/ra-2025-11-20/","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/rnpgp/rnp/releases/tag/v0.18.1","tags":["release-notes"],"sources":["cvelist","nvd"]}],"credits":["Johannes Roth (MTG AG)"],"assigner":"Ribose","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-11-21T17:35:25.938Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-13470","url":"https://www.cve.org/CVERecord?id=CVE-2025-13470","licence":"CVE Terms of Use","modified":"2025-11-21T17:35:33.645Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-13470","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-13470","licence":"Public domain","modified":"2026-10-08T10:10:00.227Z"}],"updatedAt":"2026-11-25T22:59:07.922Z","epss":{"score":0.00325,"percentile":0.27593,"date":"2026-12-01T12:00:22.000Z"}}