Public-Key Encryption Vulnerability in RNP Version by Ribose
CVE-2025-13470

7.7HIGH

Key Information:

Vendor

Ribose

Status
Vendor
CVE Published:
21 November 2025

Badges

👾 Exploit Exists

What is CVE-2025-13470?

In RNP version 0.18.0, a flaw in the handling of the symmetric session key for Public-Key Encrypted Session Key (PKESK) packets has been identified. The session key is left uninitialized except for being zeroed out, leading to an all-zero byte array. As a result, any data encrypted with public-key encryption can be easily decrypted using this all-zero key, significantly compromising the confidentiality of sensitive information. This issue specifically affects PKESK packets, while passphrase-based encryption, handled through SKESK packets, remains unaffected. The root cause of this vulnerability lies in a regression introduced during a recent code refactoring, which neglected to properly initialize the session key for the PKESK encryption path.

Affected Version(s)

RNP 0.18.0

References

CVSS V4

Score:
7.7
Severity:
HIGH
Confidentiality:
High
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • 👾

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

Johannes Roth (MTG AG)
.
CVE-2025-13470 : Public-Key Encryption Vulnerability in RNP Version by Ribose