# CVE-2025-13470: rnp: In RNP version 0.18.0 a refactoring regression causes the symmetric  session key used for Public-Key Encrypted Sessio...

CVE-2025-13470 is fixed in 6 products on 1 platform, first by FEDORA-2025-A96CCC98CA, released November 21, 2025. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2025-13470
- Priority: High
- CVSS: n/a (important)
- EPSS: 0.0033
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Nov 21, 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | librnp Fedora 43 | 0.18.1-1.fc43 | [FEDORA-2025-A96CCC98CA](https://patchblox.com/security/data/fix/linux/fedora-2025-a96ccc98ca.md) | Nov 21, 2025 |
| Linux | librnp-debuginfo Fedora 43 | 0.18.1-1.fc43 | [FEDORA-2025-A96CCC98CA](https://patchblox.com/security/data/fix/linux/fedora-2025-a96ccc98ca.md) | Nov 21, 2025 |
| Linux | librnp-devel Fedora 43 | 0.18.1-1.fc43 | [FEDORA-2025-A96CCC98CA](https://patchblox.com/security/data/fix/linux/fedora-2025-a96ccc98ca.md) | Nov 21, 2025 |
| Linux | rnp Debian 14 | 0.18.1-1 | [DEBIAN-CVE-2025-13470](https://patchblox.com/security/data/fix/linux/debian-cve-2025-13470.md) | Nov 21, 2025 |
| Linux | rnp Fedora 43 | 0.18.1-1.fc43 | [FEDORA-2025-A96CCC98CA](https://patchblox.com/security/data/fix/linux/fedora-2025-a96ccc98ca.md) | Nov 21, 2025 |
| Linux | rnp opensuse-leap 16.0 | 0.18.1-bp160.1.1 | [OPENSUSE-SU-2025:20116-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2025-20116-1.md) | Nov 27, 2025 |
| Linux | rnp-debuginfo Fedora 43 | 0.18.1-1.fc43 | [FEDORA-2025-A96CCC98CA](https://patchblox.com/security/data/fix/linux/fedora-2025-a96ccc98ca.md) | Nov 21, 2025 |
| Linux | rnp-debugsource Fedora 43 | 0.18.1-1.fc43 | [FEDORA-2025-A96CCC98CA](https://patchblox.com/security/data/fix/linux/fedora-2025-a96ccc98ca.md) | Nov 21, 2025 |

---

Data as of 2026-11-08T19:12:23Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
