CVE-2025-13470 Details
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.
A vulnerability in RNP version 0.18.0 allows for the decryption of data encrypted with public-key encryption. This issue arises because the session keys used for Public-Key Encrypted Session Key (PKESK) packets are not properly initialized, leaving them as all-zero byte arrays. As a result, any data encrypted with public-key encryption in this release can be trivially decrypted by using an all-zero session key, compromising confidentiality. This vulnerability does not affect passphrase-based encryption (SKESK packets).
Upgrade to RNP version 0.18.1, which fixes the vulnerability by properly initializing the session keys for PKESK packets.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 21, 2025CISA-ADP
Assessed Nov 21, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://access.redhat.com/security/cve/cve-2025-13402 | Ribose Limited | AdvisoryNot Applicable |
| https://aur.archlinux.org/packages/rnp | Ribose Limited | Product |
| https://bugzilla.redhat.com/show_bug.cgi?id=2415863 | Ribose Limited | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/rnpgp/rnp/commit/7bd9a8dc356aae756b40755be76d36205b6b161a | Ribose Limited | Source CodeVendor |
| https://github.com/rnpgp/rnp/releases/tag/v0.18.1 | Ribose Limited | Release NotesVendor |
| https://launchpad.net/ubuntu/+source/rnp | Ribose Limited | Product |
| https://open.ribose.com/advisories/ra-2025-11-20/ | Ribose Limited | AdvisoryRemedyVendor |
| https://packages.gentoo.org/packages/dev-util/librnp | Ribose Limited | Product |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-330 | Use of Insufficiently Random Values | Ribose Limited |
Affected Products
| Product | Versions |
|---|---|
| RNP | 0.18.0 (semver) |
CPE
Remediation
| |
| Ubuntu | All versions |
CPE
Remediation
| |
| Arch Linux | All versions |
CPE
Remediation
| |
| Gentoo | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 8, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | Ribose Limited |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 21, 2025 | CVE Modified | Ribose Limited |
| Nov 21, 2025 | New CVE Received | Ribose Limited |
Volerion