Skip to content

CVE-2025-13470 RNP 0.18.0 Vulnerable PKESK session keys

HighCVSS 7.7 EPSS 0.33%
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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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