UBUNTU-CVE-2026-21895

Source
https://ubuntu.com/security/CVE-2026-21895
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-21895.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-21895
Upstream
Published
2026-01-08T14:15:00Z
Modified
2026-01-14T21:53:47.479164Z
Severity
  • 2.7 (Low) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

The rsa crate is an RSA implementation written in rust. Prior to version 0.9.10, when creating a RSA private key from its components, the construction panics instead of returning an error when one of the primes is 1. Version 0.9.10 fixes the issue.

References

Affected packages

Ubuntu:24.04:LTS / rust-rsa

Package

Name
rust-rsa
Purl
pkg:deb/ubuntu/rust-rsa@0.9.2-2?arch=source&distro=noble

Affected ranges

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

Affected versions

0.*

0.9.2-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "librust-rsa-dev",
            "binary_version": "0.9.2-2"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-21895.json"

Ubuntu:25.10 / rust-rsa

Package

Name
rust-rsa
Purl
pkg:deb/ubuntu/rust-rsa@0.9.7-1?arch=source&distro=questing

Affected ranges

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

Affected versions

0.*

0.9.7-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "librust-rsa-dev",
            "binary_version": "0.9.7-1"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-21895.json"

Ubuntu:25.04 / rust-rsa

Package

Name
rust-rsa
Purl
pkg:deb/ubuntu/rust-rsa@0.9.7-1?arch=source&distro=plucky

Affected ranges

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

Affected versions

0.*

0.9.2-2
0.9.6-1
0.9.7-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "librust-rsa-dev",
            "binary_version": "0.9.7-1"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-21895.json"