{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7bd9a8dc356aae756b40755be76d36205b6b161a"
            }
          ],
          "repo": "https://github.com/rnpgp/rnp",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "aad1892e4d8423398a0b973bd0a7e4544c359afc"
            }
          ],
          "repo": "https://github.com/rnpgp/rnp",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "In RNP version 0.18.0 a refactoring regression causes the symmetric \nsession key used for Public-Key Encrypted Session Key (PKESK) packets to\n be left uninitialized except for zeroing, resulting in it always being \nan all-zero byte array.\n\nAny data encrypted using public-key encryption \nin this release can be decrypted trivially by supplying an all-zero \nsession key, fully compromising confidentiality.\n\nThe vulnerability affects only public key encryption (PKESK packets).  Passphrase-based encryption (SKESK packets) is not affected.\n\nRoot cause: Vulnerable session key buffer used in PKESK packet generation.\n\n\n\nThe defect was introduced in commit `7bd9a8dc356aae756b40755be76d36205b6b161a` where initialization \nlogic inside `encrypted_build_skesk()` only randomized the key for the \nSKESK path and omitted it for the PKESK path.",
  "id": "CVE-2025-13470",
  "modified": "2026-04-01T23:09:53.095314134Z",
  "published": "2025-11-21T17:15:50.473Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://launchpad.net/ubuntu/+source/rnp"
    },
    {
      "type": "WEB",
      "url": "https://packages.gentoo.org/packages/dev-util/librnp"
    },
    {
      "type": "WEB",
      "url": "https://access.redhat.com/security/cve/cve-2025-13402"
    },
    {
      "type": "WEB",
      "url": "https://aur.archlinux.org/packages/rnp"
    },
    {
      "type": "WEB",
      "url": "https://github.com/rnpgp/rnp/releases/tag/v0.18.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://open.ribose.com/advisories/ra-2025-11-20/"
    },
    {
      "type": "REPORT",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2415863"
    },
    {
      "type": "FIX",
      "url": "https://github.com/rnpgp/rnp/commit/7bd9a8dc356aae756b40755be76d36205b6b161a"
    }
  ],
  "severity": [
    {
      "score": "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/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",
      "type": "CVSS_V4"
    }
  ]
}