
CVE catalog
CVE-2025-13470
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
- Severity
- High · CVSS 7.7
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 - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.33% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | rnp | sid | 0.18.1-2 | fixed |
| Debian | rnp | forky | 0.18.1-2 | fixed |
| Debian | rnp | trixie | 0.17.1-1 | not affected |
| Debian | rnp | bookworm | 0.16.3-1 | not affected |
| Ubuntu | rnp | 22.04 | 0.14.0-6 | vulnerable |
| Ubuntu | rnp | 22.04 | 0.15.2-6build1 | vulnerable |
| Ubuntu | rnp | 24.04 | 0.17.0-3 | vulnerable |
| Ubuntu | rnp | 25.10 | 0.17.1-1 | vulnerable |
| Ubuntu | rnp | 26.04 | 0.17.1-1 | vulnerable |
| Ubuntu | rnp | 26.04 | 0.18.0-4 | vulnerable |
| Ubuntu | rnp | 26.04 | 0.18.1-1 | vulnerable |
| Ubuntu | rnp | 26.04 | 0.18.1-1build1 | vulnerable |
| Opensuse | rnp | leap 16.0 | 0.18.1-bp160.1.1 | fixed |
| Opensuse | rnp | tumbleweed | 0.18.1-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | rnp | source | sid | 0.18.1-1 | not yet assigned | Not reported | [1121081] |
| Debian | rnp | source | forky | 0.18.1-1 | not yet assigned | Not reported | [1121081] |
| Debian | rnp | source | trixie | Not affected | unimportant | Not reported | [1121081] |
| Debian | rnp | source | bookworm | Not affected | unimportant | Not reported | [1121081] |
| Opensuse | rnp | rpm | leap 16.0 | 0.18.1-bp160.1.1 | Not reported | OPENSUSE-SU-2025:20116-1 | Not reported |
| Opensuse | rnp | rpm | tumbleweed | 0.18.1-1.1 | Not reported | OPENSUSE-SU-2025:15762-1 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [librnp0]Unknown
Source package: [rnp]
Details (1)
0.18.1-4.2· x86_64 · tumbleweedUnknown · Fixed:
0.18.1-1.1Version impact unknown
nvd · rnp · opensuse · tumbleweed
- [rnp-devel]Unknown
Source package: [rnp]
Details (1)
0.18.1-4.2· x86_64 · tumbleweedUnknown · Fixed:
0.18.1-1.1Version impact unknown
nvd · rnp · opensuse · tumbleweed
- [rnp]Fixed
Source package: [rnp]
Details (1)
0.18.1-4.2· x86_64 · tumbleweedFixed · Fixed:
0.18.1-1.1nvd · rnp · opensuse · tumbleweed
[Debian 12 (Bookworm)]
- [librnp0]Not affected
Source package: [rnp]
Details (2)
0.16.3-1· amd64 · bookwormNot affected
nvd · rnp · debian · bookworm
0.16.3-1· arm64 · bookwormNot affected
nvd · rnp · debian · bookworm
- [librnp-dev]Not affected
Source package: [rnp]
Details (2)
0.16.3-1· amd64 · bookwormNot affected
nvd · rnp · debian · bookworm
0.16.3-1· arm64 · bookwormNot affected
nvd · rnp · debian · bookworm
- [rnp]Not affected
Details (2)
0.16.3-1· amd64 · bookwormNot affected
nvd · rnp · debian · bookworm
0.16.3-1· arm64 · bookwormNot affected
nvd · rnp · debian · bookworm
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2025_15762-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2025-13470]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-13470]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2025-13470]
- [https://osv.dev/vulnerability/openSUSE-SU-2025:15762-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2025:20116-1]
- [https://security-tracker.debian.org/tracker/CVE-2025-13470]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-13470.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]