ADVISORIES

Vulnerability

CVE-2026-21895

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.

30 advisories report this vulnerability, across 8 ecosystems.

Advisories

  • CGA-3wwp-73f3-65cp
    CVE-2026-21895 ChainguardWolfi Updated 5 November 2026
  • CGA-4c6x-6969-rgxw
    CVE-2026-21895 ChainguardWolfi Updated 5 November 2026
  • CGA-53px-7j9v-x865
    CVE-2026-21895 ChainguardWolfi Updated 5 November 2026
  • CGA-64q6-jqv4-gwp2
    CVE-2026-21895 ChainguardWolfi Updated 5 November 2026
  • CGA-675x-wqgm-987v
    CVE-2026-21895 ChainguardWolfi Updated 5 November 2026
  • CGA-68fp-pjh3-gmpc
    CVE-2026-21895 ChainguardWolfi Updated 5 November 2026
  • CGA-68mf-hcc7-pvgc
    CVE-2026-21895 ChainguardWolfi Updated 5 November 2026
  • CGA-6mvq-g2w2-h22w
    CVE-2026-21895 ChainguardWolfi Updated 5 November 2026
  • CGA-6p5r-5h5g-gv94
    CVE-2026-21895 ChainguardWolfi Updated 5 November 2026
  • CGA-83g3-r5f4-rq5g
    CVE-2026-21895 ChainguardWolfi Updated 5 November 2026
  • CGA-9c6f-gv8x-29rh
    CVE-2026-21895 ChainguardWolfi Updated 5 November 2026
  • CGA-9mfh-4frp-j924
    CVE-2026-21895 ChainguardWolfi Updated 5 November 2026
  • CGA-c8r8-q5pp-pxcf
    CVE-2026-21895 ChainguardWolfi Updated 5 November 2026
  • CGA-hqcm-7fvv-phvr
    CVE-2026-21895 ChainguardWolfi Updated 5 November 2026
  • CGA-hv3q-j74h-9m29
    CVE-2026-21895 ChainguardWolfi Updated 5 November 2026
  • CGA-mm9f-5jp2-hf7v
    CVE-2026-21895 ChainguardWolfi Updated 5 November 2026
  • CGA-pqv2-3qqv-r2qf
    CVE-2026-21895 ChainguardWolfi Updated 5 November 2026
  • CGA-q29c-9x7h-qp6m
    CVE-2026-21895 ChainguardWolfi Updated 5 November 2026
  • CGA-qh8q-hpp5-v7f3
    CVE-2026-21895 ChainguardWolfi Updated 5 November 2026
  • CGA-rx72-wfwm-8qwm
    CVE-2026-21895 ChainguardWolfi Updated 5 November 2026
  • CGA-v262-8xx8-jcc2
    CVE-2026-21895 ChainguardWolfi Updated 5 November 2026
  • CGA-v6m6-2vf3-55fv
    CVE-2026-21895 ChainguardWolfi Updated 5 November 2026
  • CGA-w7r2-5f5m-r48j
    CVE-2026-21895 ChainguardWolfi Updated 5 November 2026
  • CGA-xh52-86vv-vfjh
    CVE-2026-21895 ChainguardWolfi Updated 5 November 2026
  • DEBIAN-CVE-2026-21895

    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…

    CVE-2026-21895 Debian Updated 1 October 2026
  • GHSA-9c48-w39g-hm26

    rsa crate has potential panic on a prime being equal to 1

    Low CVE-2026-21895 crates.io Updated 10 September 2026
  • RHVEX-CVE-2026-21895

    RSA: RSA crate: Denial of Service due to malformed prime in private key generation

    Low CVE-2026-21895 Red Hat Updated 7 November 2026
  • SUSEVEX-CVE-2026-21895

    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…

    Moderate CVE-2026-21895 SUSEopenSUSE Updated 7 August 2026
  • UBUNTU-CVE-2026-21895

    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…

    CVE-2026-21895 Ubuntu Updated 17 March 2026
  • openSUSE-SU-2026:10105-1

    teleport-17.7.14-1.1 on GA media

    CVE-2026-21895 openSUSE Updated 23 March 2026

References