UBUNTU-CVE-2025-13470

Source
https://ubuntu.com/security/CVE-2025-13470
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-13470.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2025-13470
Upstream
Published
2025-11-21T17:15:00Z
Modified
2026-01-20T18:53:44.355666Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
  • 7.7 (High) CVSS_V4 - 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 Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:22.04:LTS / rnp

Package

Name
rnp
Purl
pkg:deb/ubuntu/rnp@0.15.2-6build1?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.14.0-6
0.15.2-6build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.15.2-6build1",
            "binary_name": "librnp-dev"
        },
        {
            "binary_version": "0.15.2-6build1",
            "binary_name": "librnp0"
        },
        {
            "binary_version": "0.15.2-6build1",
            "binary_name": "rnp"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-13470.json"

Ubuntu:24.04:LTS / rnp

Package

Name
rnp
Purl
pkg:deb/ubuntu/rnp@0.17.0-3?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.17.0-3

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.17.0-3",
            "binary_name": "librnp-dev"
        },
        {
            "binary_version": "0.17.0-3",
            "binary_name": "librnp0"
        },
        {
            "binary_version": "0.17.0-3",
            "binary_name": "rnp"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-13470.json"

Ubuntu:25.10 / rnp

Package

Name
rnp
Purl
pkg:deb/ubuntu/rnp@0.17.1-1?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.17.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.17.1-1",
            "binary_name": "librnp-dev"
        },
        {
            "binary_version": "0.17.1-1",
            "binary_name": "librnp0"
        },
        {
            "binary_version": "0.17.1-1",
            "binary_name": "rnp"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-13470.json"