CVE-2026-21895 rsa crate has potential panic on a prime being equal to 1
LowCVSS 2.7
EPSS 0.44%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
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.
Upgrade path
30 packages: 3 fixed, 27 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux kata-containers-cc(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| debian/rust-rsa(Debian 13) | = 0.9.7-1; = 0.9.9-1; = 0.9.10-1; All versions | No fix listed | No fix yet |
| redhat/build-of-trustee/trustee-rhel9(Red Hat confidential_compute_attestation 1) | All versions | No fix listed | No fix yet |
| redhat/confidential-compute-attestation-tech-preview/trustee-rhel9(Red Hat confidential_compute_attestation 1) | All versions | No fix listed | No fix yet |
| redhat/kata-containers(Red Hat openshift 4) | All versions | No fix listed | No fix yet |
| redhat/openshift-logging/cluster-logging-operator-bundle(Red Hat logging 5) | All versions | No fix listed | No fix yet |
| redhat/openshift-logging/cluster-logging-rhel9-operator(Red Hat logging 5) | All versions | No fix listed | No fix yet |
| redhat/openshift-logging/eventrouter-rhel9(Red Hat logging 5) | All versions | No fix listed | No fix yet |
| redhat/openshift-logging/fluentd-rhel9(Red Hat logging 5) | All versions | No fix listed | No fix yet |
| redhat/openshift-logging/log-file-metric-exporter-rhel9(Red Hat logging 5) | All versions | No fix listed | No fix yet |
| redhat/openshift-logging/logging-view-plugin-rhel9(Red Hat logging 5) | All versions | No fix listed | No fix yet |
| redhat/openshift-logging/vector-rhel9(Red Hat logging 5) | All versions | No fix listed | No fix yet |
| redhat/openshift-logging/vector-rhel9(Red Hat logging 6) | All versions | No fix listed | No fix yet |
| redhat/openshift-sandboxed-containers/osc-monitor-rhel9(Red Hat confidential_compute_attestation 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-sandboxed-containers/osc-operator-bundle(Red Hat confidential_compute_attestation 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-sandboxed-containers/osc-podvm-builder-rhel9(Red Hat confidential_compute_attestation 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-sandboxed-containers/osc-podvm-payload-rhel9(Red Hat confidential_compute_attestation 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-sandboxed-containers/osc-rhel9-operator(Red Hat confidential_compute_attestation 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-update-service/openshift-update-service-rhel8(Red Hat openshift_update_service 5) | All versions | No fix listed | No fix yet |
| redhat/openshift4/recert-rhel9(Red Hat openshift 4) | All versions | No fix listed | No fix yet |
| redhat/rhtpa/rhtpa-trustification-service-rhel9(Red Hat trusted_profile_analyzer 2) | All versions | No fix listed | No fix yet |
| redhat/rust-sequoia-sq(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/rust-sequoia-sqv(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/trustee-guest-components(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/trustee-guest-components(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/virt-firmware-rs(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| ubuntu/rust-rsa(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| crates.io rsa(crates.io) | < 0.9.10; <= 0.9.9 | 0.9.10 | Fixed |
| debian/rust-rsa(Debian 14) | < 0.9.10-1; = 0.9.7-1; = 0.9.9-1 | 0.9.10-1 | Fixed |
| RustCrypto RSA | < 0.9.10; = < 0.9.10 | 0.9.10 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| azure linux kata-containers-cc(Azure Linux:3.0) | All versions | No fix listed |
| crates.io rsa(crates.io) | < 0.9.10 | 0.9.10 |
| RustCrypto RSA | = < 0.9.10 | No fix listed |
| crates.io rsa(crates.io) | <= 0.9.9 | No fix listed |
| debian/rust-rsa(Debian:13) | All versions | No fix listed |
| debian/rust-rsa(Debian:13) | = 0.9.10-1 | No fix listed |
| debian/rust-rsa(Debian:13) | = 0.9.7-1 | No fix listed |
| debian/rust-rsa(Debian:13) | = 0.9.9-1 | No fix listed |
| debian/rust-rsa(Debian:14) | < 0.9.10-1 | 0.9.10-1 |
| debian/rust-rsa(Debian:14) | = 0.9.7-1 | No fix listed |
| debian/rust-rsa(Debian:14) | = 0.9.9-1 | No fix listed |
| redhat/build-of-trustee/trustee-rhel9(Red Hat:confidential_compute_attestation:1) | All versions | No fix listed |
| redhat/confidential-compute-attestation-tech-preview/trustee-rhel9(Red Hat:confidential_compute_attestation:1) | All versions | No fix listed |
| redhat/openshift-sandboxed-containers/osc-monitor-rhel9(Red Hat:confidential_compute_attestation:1) | All versions | No fix listed |
| redhat/openshift-sandboxed-containers/osc-operator-bundle(Red Hat:confidential_compute_attestation:1) | All versions | No fix listed |
| redhat/openshift-sandboxed-containers/osc-podvm-builder-rhel9(Red Hat:confidential_compute_attestation:1) | All versions | No fix listed |
| redhat/openshift-sandboxed-containers/osc-podvm-payload-rhel9(Red Hat:confidential_compute_attestation:1) | All versions | No fix listed |
| redhat/openshift-sandboxed-containers/osc-rhel9-operator(Red Hat:confidential_compute_attestation:1) | All versions | No fix listed |
| redhat/openshift-logging/cluster-logging-operator-bundle(Red Hat:logging:5) | All versions | No fix listed |
| redhat/openshift-logging/cluster-logging-rhel9-operator(Red Hat:logging:5) | All versions | No fix listed |
| redhat/openshift-logging/eventrouter-rhel9(Red Hat:logging:5) | All versions | No fix listed |
| redhat/openshift-logging/fluentd-rhel9(Red Hat:logging:5) | All versions | No fix listed |
| redhat/openshift-logging/log-file-metric-exporter-rhel9(Red Hat:logging:5) | All versions | No fix listed |
| redhat/openshift-logging/logging-view-plugin-rhel9(Red Hat:logging:5) | All versions | No fix listed |
| redhat/openshift-logging/vector-rhel9(Red Hat:logging:5) | All versions | No fix listed |
Show 12 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/openshift-logging/vector-rhel9(Red Hat:logging:6) | All versions | No fix listed |
| redhat/rust-sequoia-sq(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/rust-sequoia-sqv(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/trustee-guest-components(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/virt-firmware-rs(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/trustee-guest-components(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/kata-containers(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift4/recert-rhel9(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift-update-service/openshift-update-service-rhel8(Red Hat:openshift_update_service:5) | All versions | No fix listed |
| redhat/rhtpa/rhtpa-trustification-service-rhel9(Red Hat:trusted_profile_analyzer:2) | All versions | No fix listed |
| ubuntu/rust-rsa(Ubuntu:24.04) | All versions | No fix listed |
| RustCrypto RSA | < 0.9.10 | 0.9.10 |
References
- MSRC Security Update Guide vendor-advisory
- https://github.com/RustCrypto/RSA/security/advisories/GHSA-9c48-w39g-hm26 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/RustCrypto/RSA/commit/2926c91bef7cb14a7ccd42220a698cf4b1b692f7 patch
- github.com product
- github.com
- Debian Security Tracker CVE-2026-21895 vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2427935 issue-tracking
- www.cve.org
- Ubuntu CVE tracker vendor-advisory