# CVE-2025-13470: RNP 0.18.0 Vulnerable PKESK session keys

- Severity: High 7.7 (CVSS:4.0, scored by Ribose) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 27% of CVEs (2026-12-01)
- Published: 2025-11-21T17:05:15.683Z
- Modified: 2026-10-08T10:10:00.227Z
- Weaknesses: CWE-330
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Ribose RNP: 0.18.0

## Every score

- Ribose: CVSS: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: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/rnpgp/rnp/commit/7bd9a8dc356aae756b40755be76d36205b6b161a> (related)
- <https://launchpad.net/ubuntu/+source/rnp>
- <https://aur.archlinux.org/packages/rnp>
- <https://packages.gentoo.org/packages/dev-util/librnp>
- <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)

## Sources

- CVE List: [CVE-2025-13470](https://www.cve.org/CVERecord?id=CVE-2025-13470), CVE Terms of Use, modified 2025-11-21
- NVD: [CVE-2025-13470](https://nvd.nist.gov/vuln/detail/CVE-2025-13470), Public domain, modified 2026-10-08

---

Page: https://cve.day/CVE-2025-13470 · Whole record: https://cve.day/CVE-2025-13470.json · Rebuilt by cve.day 2026-11-25T22:59:07.922Z
