7.7high
RNP 0.18.0 Vulnerable PKESK session keys
- Severity
- 7.7high CVSS:4.0 by Ribose
- Exploit likelihood
- 0.33% (higher than 27% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Ribose
Description
In RNP version 0.18.0 a refactoring regression causes the symmetric session key used for Public-Key Encrypted Session Key (PKESK) packets to be left uninitialized except for zeroing, resulting in it always being an all-zero byte array. Any data encrypted using public-key encryption in this release can be decrypted trivially by supplying an all-zero session key, fully compromising confidentiality. The vulnerability affects only public key encryption (PKESK packets). Passphrase-based encryption (SKESK packets) is not affected. Root cause: Vulnerable session key buffer used in PKESK packet generation. The defect was introduced in commit `7bd9a8dc356aae756b40755be76d36205b6b161a` where initialization logic inside `encrypted_build_skesk()` only randomized the key for the SKESK path and omitted it for the PKESK path.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Ribose RNP | 0.18.0 | CVE List |
All scores
| Ribose | 7.7high CVSS:4.0 | 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 |
| Ribose | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
In RNP version 0.18.0 a refactoring regression causes the symmetric session key used for Public-Key Encrypted Session Key (PKESK) packets to be left uninitialized except for zeroing, resulting in it always being an all-zero byte array. Any data encrypted using public-key encryption in this release can be decrypted trivially by supplying an all-zero session key, fully compromising confidentiality. The vulnerability affects only public key encryption (PKESK packets). Passphrase-based encryption (SKESK packets) is not affected. Root cause: Vulnerable session key buffer used in PKESK packet generation. The defect was introduced in commit `7bd9a8dc356aae756b40755be76d36205b6b161a` where initialization logic inside `encrypted_build_skesk()` only randomized the key for the SKESK path and omitted it for the PKESK path.
NVD (es)
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. Cualquier 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. La 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. Causa raíz: Búfer de clave de sesión vulnerable utilizado en la generación de paquetes PKESK. El 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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-13470 changed 2025-11-21 | CVE Terms of Use |
| NVD | CVE-2025-13470 changed 2026-10-08 | Public domain |