CVE-2025-13470
RNP 0.18.0 Vulnerable PKESK session keys
- State
- Published
- Severity
- 7.7 High
- Published
- Nov 21, 2025
- Updated
- Nov 21, 2025
- Reserved
- Nov 20, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 7.7 High | 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 |
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | Ribose |
Weaknesses
- CWE-330 Use of Insufficiently Random Values
Affected Products
| Product | Versions |
|---|---|
RNPRibose |
|
References
- Introducing commitrelated
- Ubuntu package
- Arch Linux AUR package
- Bugzilla report (may become public)
- https://bugzilla.redhat.com/show_bug.cgi?id=2415863issue-tracking
- https://access.redhat.com/security/cve/cve-2025-13402third-party-advisory
- https://open.ribose.com/advisories/ra-2025-11-20/vendor-advisory
- https://github.com/rnpgp/rnp/releases/tag/v0.18.1release-notes
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.