p PatchFirst

CVE-2025-13470

CVE-2025-13470 · RNP 0.18.0 Vulnerable PKESK session keys

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 7.7 · High · EPSS 0.3% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • rnp

    Versions
    • 0.18.0: Affected

    No fix published

  • rnp Debian:14

    Versions
    • 0.17.1-1
    • 0.18.0-1
    • 0.18.0-2
    • 0.18.0-3
    • 0.18.0-4
    Affected ranges
    • ECOSYSTEM: < 0.18.1-1

    Update to 0.18.1-1

  • rnp Ubuntu:22.04:LTS

    Versions
    • 0.14.0-6
    • 0.15.2-6build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • rnp Ubuntu:24.04:LTS

    Versions
    • 0.17.0-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • rnp Ubuntu:25.10

    Versions
    • 0.17.1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • rnp Ubuntu:26.04:LTS

    Versions
    • 0.17.1-1
    • 0.18.0-4
    • 0.18.1-1
    • 0.18.1-1build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →