{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2025-13470 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2025-13470 is a high-severity vulnerability in Ribose RNP, published on 21 Nov 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-13470 and fix it if it is affected.\n\nWhat it is: CVE-2025-13470 is a high-severity vulnerability in Ribose RNP, published on 21 Nov 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-13470 in the wild and no public exploit code.\n\nAffected product: Ribose RNP. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-13470/ (Markdown: https://insights.sbomify.com/CVE-2025-13470/index.md)","id":"CVE-2025-13470","markdown":"https://insights.sbomify.com/CVE-2025-13470/index.md","name":"CVE-2025-13470","record":{"aliases":["DEBIAN-CVE-2025-13470","GHSA-r3r8-w3g2-hq7h","UBUNTU-CVE-2025-13470"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenPGP library","requires_auth":"none","summary":"Attackers can trivially decrypt public-key encrypted data due to uninitialized session keys, compromising confidentiality for users of the RNP library.","user_interaction":"not_required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Ribose","cpe":[],"cvss":{"score":7.7,"severity":"high","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-330","name":"Use of Insufficiently Random Values"}],"description":"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\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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"RNP 0.18.0 Vulnerable PKESK session keys","id":"CVE-2025-13470","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"weak_cryptography","year":"2025"},"n_packages":0,"n_references":8,"next":{"headline":"User Activity Log \u003c= 2.2 - Unauthenticated Limited Arbitrary Option Update","id":"CVE-2025-13471"},"packages":[],"prev":{"headline":"Public Knowledge Project omp/ojs Payment Instructions Setting paymentForm.tpl cross site scripting","id":"CVE-2025-13469"},"products":["RNP"],"published":"2025-11-21","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-21","vendors":["Ribose"]},"summary":"Attackers can trivially decrypt public-key encrypted data due to uninitialized session keys, compromising confidentiality for users of the RNP library.","url":"https://insights.sbomify.com/CVE-2025-13470/"}