ubuntu-cve-2025-13470
Vulnerability from osv_ubuntu
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": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "librnp0",
"binary_version": "0.15.2-6build1"
},
{
"binary_name": "rnp",
"binary_version": "0.15.2-6build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "rnp",
"purl": "pkg:deb/ubuntu/rnp@0.15.2-6build1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.14.0-6",
"0.15.2-6build1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "librnp0",
"binary_version": "0.17.0-3"
},
{
"binary_name": "rnp",
"binary_version": "0.17.0-3"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "rnp",
"purl": "pkg:deb/ubuntu/rnp@0.17.0-3?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.17.0-3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "librnp0",
"binary_version": "0.17.1-1"
},
{
"binary_name": "rnp",
"binary_version": "0.17.1-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "rnp",
"purl": "pkg:deb/ubuntu/rnp@0.17.1-1?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.17.1-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "librnp0",
"binary_version": "0.18.1-1build1"
},
{
"binary_name": "rnp",
"binary_version": "0.18.1-1build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "rnp",
"purl": "pkg:deb/ubuntu/rnp@0.18.1-1build1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.17.1-1",
"0.18.0-4",
"0.18.1-1",
"0.18.1-1build1"
]
}
],
"aliases": [],
"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.",
"id": "UBUNTU-CVE-2025-13470",
"modified": "2026-05-20T15:16:03Z",
"published": "2025-11-21T17:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2025-13470"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2025-13470"
},
{
"type": "REPORT",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2415863"
},
{
"type": "REPORT",
"url": "https://access.redhat.com/security/cve/cve-2025-13402"
},
{
"type": "REPORT",
"url": "https://aur.archlinux.org/packages/rnp"
},
{
"type": "REPORT",
"url": "https://github.com/rnpgp/rnp/commit/7bd9a8dc356aae756b40755be76d36205b6b161a"
},
{
"type": "REPORT",
"url": "https://github.com/rnpgp/rnp/releases/tag/v0.18.1"
},
{
"type": "REPORT",
"url": "https://launchpad.net/ubuntu/+source/rnp"
},
{
"type": "REPORT",
"url": "https://open.ribose.com/advisories/ra-2025-11-20/"
},
{
"type": "REPORT",
"url": "https://packages.gentoo.org/packages/dev-util/librnp"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"type": "CVSS_V3"
},
{
"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/AU:Y/RE:H/U:Red",
"type": "CVSS_V4"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2025-13470"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.