CVE catalog

CVE-2025-13470

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

[CVE catalog]

Severity
High · CVSS 7.7CVSS: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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:Y/R:X/V:X/RE:H/U:Red
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.33% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianrnpsid0.18.1-2fixed
Debianrnpforky0.18.1-2fixed
Debianrnptrixie0.17.1-1not affected
Debianrnpbookworm0.16.3-1not affected
Ubunturnp22.040.14.0-6vulnerable
Ubunturnp22.040.15.2-6build1vulnerable
Ubunturnp24.040.17.0-3vulnerable
Ubunturnp25.100.17.1-1vulnerable
Ubunturnp26.040.17.1-1vulnerable
Ubunturnp26.040.18.0-4vulnerable
Ubunturnp26.040.18.1-1vulnerable
Ubunturnp26.040.18.1-1build1vulnerable
Opensusernpleap 16.00.18.1-bp160.1.1fixed
Opensusernptumbleweed0.18.1-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianrnpsourcesid0.18.1-1not yet assignedNot reported[1121081]
Debianrnpsourceforky0.18.1-1not yet assignedNot reported[1121081]
DebianrnpsourcetrixieNot affectedunimportantNot reported[1121081]
DebianrnpsourcebookwormNot affectedunimportantNot reported[1121081]
Opensusernprpmleap 16.00.18.1-bp160.1.1Not reportedOPENSUSE-SU-2025:20116-1Not reported
Opensusernprpmtumbleweed0.18.1-1.1Not reportedOPENSUSE-SU-2025:15762-1Not reported

[Debian bug #1121081]

OpenFactory catalog packages

[openSUSE Tumbleweed]

  • [librnp0]Unknown

    Source package: [rnp]

    Details (1)
    • 0.18.1-4.2 · x86_64 · tumbleweed

      Unknown · Fixed: 0.18.1-1.1

      Version impact unknown

      nvd · rnp · opensuse · tumbleweed

  • [rnp-devel]Unknown

    Source package: [rnp]

    Details (1)
    • 0.18.1-4.2 · x86_64 · tumbleweed

      Unknown · Fixed: 0.18.1-1.1

      Version impact unknown

      nvd · rnp · opensuse · tumbleweed

  • [rnp]Fixed

    Source package: [rnp]

    Details (1)
    • 0.18.1-4.2 · x86_64 · tumbleweed

      Fixed · Fixed: 0.18.1-1.1

      nvd · rnp · opensuse · tumbleweed

[Debian 12 (Bookworm)]

  • [librnp0]Not affected

    Source package: [rnp]

    Details (2)
    • 0.16.3-1 · amd64 · bookworm

      Not affected

      nvd · rnp · debian · bookworm

    • 0.16.3-1 · arm64 · bookworm

      Not affected

      nvd · rnp · debian · bookworm

  • [librnp-dev]Not affected

    Source package: [rnp]

    Details (2)
    • 0.16.3-1 · amd64 · bookworm

      Not affected

      nvd · rnp · debian · bookworm

    • 0.16.3-1 · arm64 · bookworm

      Not affected

      nvd · rnp · debian · bookworm

  • [rnp]Not affected
    Details (2)
    • 0.16.3-1 · amd64 · bookworm

      Not affected

      nvd · rnp · debian · bookworm

    • 0.16.3-1 · arm64 · bookworm

      Not affected

      nvd · rnp · debian · bookworm

Observed:

References