Is rsa 3.1 vulnerable?

PyPI · 5 releases from 3.1.0 to 3.1.4 · latest rsa is 4.9.1 · checked 18 Nov 2026

Yes: 3 known advisories

Yes. rsa 3.1.4, the last 3.1 release, is affected by 3 known security advisories (2 high, 1 medium), including CVE-2020-25658, CVE-2020-13757, CVE-2016-1494. Upgrade to 4.7 or later to fix all of them.

Upgrade with:pip install 'rsa>=4.7'

Is your project on an affected rsa?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting rsa 3.1.4

  • MediumCVE-2016-1494GHSA-8rjr-6qq5-pj9p14 May 2022

    Python RSA allows attackers to spoof signatures

    Affected
    <3.3
    Fixed in
    3.3
  • HighCVE-2020-25658GHSA-xrx6-fmxq-rjj230 Apr 2021

    Timing attacks in python-rsa

    Affected
    >=2.1 <4.7
    Fixed in
    4.7
  • HighCVE-2020-13757GHSA-537h-rv9q-vvph24 Mar 2021

    Python-RSA decryption of ciphertext leads to DoS

    Affected
    <4.1
    Fixed in
    4.1

Every rsa 3.1.x release

Affected: 3.1.0 to 3.1.4. Latest rsa: 4.9.1.

VersionKnown advisories
rsa 3.1.4CVE-2016-1494, CVE-2020-25658, CVE-2020-13757
rsa 3.1.3CVE-2016-1494, CVE-2020-25658, CVE-2020-13757
rsa 3.1.2CVE-2016-1494, CVE-2020-25658, CVE-2020-13757
rsa 3.1.1CVE-2016-1494, CVE-2020-25658, CVE-2020-13757
rsa 3.1.0CVE-2016-1494, CVE-2020-25658, CVE-2020-13757

Which of your client projects are still on rsa 3.1?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact rsa version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other rsa versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the PyPI registry. Refreshed daily.