CVE-2025-13470 RNP 0.18.0 Vulnerable PKESK session keys
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
5 packages: 1 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/rnp(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/rnp(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/rnp(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| debian/rnp(Debian 14) | < 0.18.1-1; = 0.17.1-1; = 0.18.0-1; = 0.18.0-2 +2 more | 0.18.1-1 | Fixed |
| Ribose RNP | = 0.18.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/rnp(Debian:14) | < 0.18.1-1 | 0.18.1-1 |
| debian/rnp(Debian:14) | = 0.17.1-1 | No fix listed |
| debian/rnp(Debian:14) | = 0.18.0-1 | No fix listed |
| debian/rnp(Debian:14) | = 0.18.0-2 | No fix listed |
| debian/rnp(Debian:14) | = 0.18.0-3 | No fix listed |
| debian/rnp(Debian:14) | = 0.18.0-4 | No fix listed |
| Ribose RNP | = 0.18.0 | No fix listed |
| ubuntu/rnp(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/rnp(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/rnp(Ubuntu:26.04) | All versions | No fix listed |
References
- Debian Security Tracker CVE-2025-13470 vendor-advisory
- Introducing commit related
- Ubuntu package issue-tracking
- Arch Linux AUR package
- Bugzilla report (may become public)
- bugzilla.redhat.com issue-tracking
- access.redhat.com third-party-advisory
- open.ribose.com vendor-advisory
- github.com release-notes
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2416402 issue-tracking
- nvd.nist.gov
- bugs.debian.org issue-tracking