🛡️ CVE-2025-13470 on Debian — rnp
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.
Distribution advisory
This page covers CVE-2025-13470 as tracked by Debian, for the package rnp. The fix is available in version 0.18.1-1; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity none, availability none.
Weakness class
DEBIAN-CVE-2025-13470 is classified as CWE-330: Use of Insufficiently Random Values. Values that must be unpredictable are generated in a way an attacker can guess or reproduce.
Affected software
DEBIAN-CVE-2025-13470 is recorded against 1 package.
- rnp (fixed in 0.18.1-1)
Timeline and source
Published on 21 November 2025 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2025-13470 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:Y/R:X/V:X/RE:H/U:Red
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| rnp | — | 0.18.1-1 |
References
Similar Threats
- Unknown openSUSE-SU-2025:20116-1
- Unknown openSUSE-SU-2025:15762-1
- Unknown UBUNTU-CVE-2025-13402
- Unknown UBUNTU-CVE-2025-13470
- Medium CVE-2023-29479
Site Security Check
Is rnp part of your stack?
DEBIAN-CVE-2025-13470 is rated CVSS 7.5 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.