Vulnerability · Published Nov 21, 2025 · Assigned by Ribose
CVE-2025-13470RNP 0.18.0 Vulnerable PKESK session keys
High 7.5
In plain English
A high-severity weak randomness in RNP from Ribose. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 26% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:14 | rnp | 0.18.1-1 | DEBIAN-CVE-2025-13470 |
| Ubuntu:22.04:LTS | rnp | no fix listed | UBUNTU-CVE-2025-13470 |
| Ubuntu:24.04:LTS | rnp | no fix listed | UBUNTU-CVE-2025-13470 |
| Ubuntu:25.10 | rnp | no fix listed | UBUNTU-CVE-2025-13470 |
| Ubuntu:26.04:LTS | rnp | no fix listed | UBUNTU-CVE-2025-13470 |
Affected products (as reported)
Weakness: CWE-330 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- Introducing commit related
- Ubuntu package x_downstream-package
- Arch Linux AUR package x_downstream-package
- Bugzilla report (may become public) x_downstream_package
- https://bugzilla.redhat.com/show_bug.cgi?id=2415863 issue-tracking
- https://access.redhat.com/security/cve/cve-2025-13402 third-party-advisory
- https://open.ribose.com/advisories/ra-2025-11-20/ vendor-advisory
- https://github.com/rnpgp/rnp/releases/tag/v0.18.1 release-notes