Skip to content
Heist/ feed
UnratedFix available

DEBIAN-CVE-2026-21895

Type: advisorySource: OSV1 source record

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.

Announced Group revision 1
Original source ↗

DEBIAN-CVE-2026-21895

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:DEBIAN-CVE-2026-21895

rust-rsa

Source reference: /affected/0/package/name

Affected versions
0.9.10-1

Source reference: /affected/0/versions

0.9.7-1

Source reference: /affected/0/versions

0.9.9-1

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

rust-rsa

Source reference: /affected/1/package/name

Affected versions
0.9.7-1

Source reference: /affected/1/versions

0.9.9-1

Source reference: /affected/1/versions

Fixed versions
0.9.10-1

Source reference: /affected/1/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "rust-rsa",
      "purl": "pkg:deb/debian/rust-rsa?arch=source&distro=trixie",
      "ecosystem": "Debian:13"
    },
    "versions": [
      "0.9.10-1",
      "0.9.7-1",
      "0.9.9-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-21895.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "0.9.10-1"
          }
        ]
      }
    ],
    "package": {
      "name": "rust-rsa",
      "purl": "pkg:deb/debian/rust-rsa?arch=source&distro=forky",
      "ecosystem": "Debian:14"
    },
    "versions": [
      "0.9.7-1",
      "0.9.9-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-21895.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#56632 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement