CVE-2025-13470RNP 0.18.0 Vulnerable PKESK session keys
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | rnp | Under investigation | UBUNTU-CVE-2025-13470 | |
| Ubuntu 25.10 | rnp | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-13470 | |
| Ubuntu 24.04 | rnp | Under investigation | UBUNTU-CVE-2025-13470 | |
| Ubuntu 22.04 | rnp | Under investigation | UBUNTU-CVE-2025-13470 | |
| Debian 14 | rnp | Fixed | 0.18.1-1 | DEBIAN-CVE-2025-13470 |
| Red Hat Enterprise Linux 10 | thunderbird | Not affected | ||
| Red Hat Enterprise Linux 9 | thunderbird | Not affected | ||
| Red Hat Enterprise Linux 8 | thunderbird | Not affected |
What the vendor says
As published in the CVE record by Ribose, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Ribose RNP: affected: 0.18.0
Solution: For standalone RNP users: Upgrade to RNP 0.18.1 when available. For distributions that have packaged 0.18.0: Please update to 0.18.1 when released, or consider providing 0.17.1 as an interim option. For Thunderbird packages using system RNP: If your Thunderbird package is built with system RNP support and RNP 0.18.0 is installed, update RNP to 0.18.1 or 0.17.1. Consider whether Thunderbird should continue using system RNP or switch to bundled RNP. For all other users: Users who encrypted sensitive data using RNP 0.18.0 (standalone or via Thunderbird with system RNP 0.18.0) should re-encrypt that data with RNP 0.18.1 or 0.17.1 based on their security requirements.
Workaround: No workaround. All PKESK-encrypted ciphertext produced with 0.18.0 is compromised.
Vendor advisories:
- https://open.ribose.com/advisories/ra-2025-11-20/ (vendor-advisory)
- https://github.com/rnpgp/rnp/releases/tag/v0.18.1 (release-notes)
References
- https://github.com/rnpgp/rnp/commit/7bd9a8dc356aae756b40755be76d36205b6b161a
- 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
- https://access.redhat.com/security/cve/cve-2025-13402
- https://open.ribose.com/advisories/ra-2025-11-20/
- https://github.com/rnpgp/rnp/releases/tag/v0.18.1
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.