# CVE-2025-13470: RNP 0.18.0 Vulnerable PKESK session keys

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.7
- **CVSS:** 7.7 (v4.0, CNA) `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/AU:Y/RE:H/U:Red`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: High; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None; Exploit maturity: Proof of concept; AU: Y; RE: H; U: Red
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.57% (percentile 41, 2026-11-26)
- **CWE:** CWE-330
- **Published:** 2025-11-21T17:05:15.683Z
- **Modified:** 2026-10-08T10:10:00.227Z

## Who should check

- Anyone running Ribose RNP 0.18.0

## 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.

## Affected and fixed versions

- Ribose RNP: 0.18.0 (cvelist)

## Mitigation

- Vendor workaround: No workaround.  All PKESK-encrypted ciphertext produced with 0.18.0 is compromised.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-13470. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-13470.md
Affected: Ribose RNP 0.18.0
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Ribose RNP: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-13470 being exploited?

There is no confirmed exploitation: CVE-2025-13470 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.57% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-13470?

High: CVSS 7.7 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-13470?

Ribose RNP 0.18.0.

### Is there a fix for CVE-2025-13470?

No fixed version is listed in the sources yet. Vendor workaround: No workaround.  All PKESK-encrypted ciphertext produced with 0.18.0 is compromised.

### How do I check if I'm affected by CVE-2025-13470?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://open.ribose.com/advisories/ra-2025-11-20/>
- patch: <https://github.com/rnpgp/rnp/commit/7bd9a8dc356aae756b40755be76d36205b6b161a>
- other: <https://launchpad.net/ubuntu/+source/rnp>
- other: <https://aur.archlinux.org/packages/rnp>
- other: <https://packages.gentoo.org/packages/dev-util/librnp>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2415863>
- other: <https://access.redhat.com/security/cve/cve-2025-13402>
- other: <https://github.com/rnpgp/rnp/releases/tag/v0.18.1>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-13470>

HTML: <https://flawdb.com/CVE-2025-13470> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-13470>
