# CVE-2020-25658: Timing attacks in python-rsa

- Severity: High 7.5 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.65%, higher than 77% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-11-12T13:48:31.000Z
- Modified: 2026-06-17T03:07:04.487Z
- Also known as: GHSA-xrx6-fmxq-rjj2, PYSEC-2020-100
- Weaknesses: CWE-327, CWE-385
- Assigned by: redhat

## Description

It was found that python-rsa is vulnerable to Bleichenbacher timing attacks. An attacker can use this flaw via the RSA decryption API to decrypt parts of the cipher text encrypted with RSA.

(As written by CVE List.)

## Affected

- Sybren A. Stüvel python-rsa: after 3.0 (inclusive)
- rsa (PyPI): from 2.1 before 4.7
- python-rsa_project python-rsa: from 2.1 before 4.7
- redhat openstack_platform: 13.0; 16.0
- fedoraproject fedora: 33; 34; 35

## Every score

- redhat: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 5.9 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:P/I:N/A:N`

## References

- <https://github.com/sybrenstuvel/python-rsa/issues/165> (exploit, issue-tracking, report, third-party-advisory, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-25658> (issue-tracking, report, third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2SAF67KDGSOHLVFTRDOHNEAFDRSSYIWA/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QY4PJWTYSOV7ZEYZVMYIF6XRU73CY6O7/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/APF364QJ2IYLPDNVFBOEJ24QP2WLVLJP/> (vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-25658> (advisory)
- <https://github.com/sybrenstuvel/python-rsa/commit/dae8ce0d85478e16f2368b2341632775313d41ed> (web)
- <https://access.redhat.com/security/cve/CVE-2020-25658> (web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=1889972> (web)
- <https://github.com/advisories/GHSA-xrx6-fmxq-rjj2> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/rsa/PYSEC-2020-100.yaml> (web)
- <https://github.com/sybrenstuvel/python-rsa> (package)
- <https://access.redhat.com/errata/RHSA-2022:1716> (web)
- <https://access.redhat.com/errata/RHSA-2021:0637> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2SAF67KDGSOHLVFTRDOHNEAFDRSSYIWA> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/APF364QJ2IYLPDNVFBOEJ24QP2WLVLJP> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QY4PJWTYSOV7ZEYZVMYIF6XRU73CY6O7> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2SAF67KDGSOHLVFTRDOHNEAFDRSSYIWA> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/APF364QJ2IYLPDNVFBOEJ24QP2WLVLJP> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QY4PJWTYSOV7ZEYZVMYIF6XRU73CY6O7> (web)
- <https://access.redhat.com/errata/RHSA-2020:5634> (web)

## Sources

- CVE List: [CVE-2020-25658](https://www.cve.org/CVERecord?id=CVE-2020-25658), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-xrx6-fmxq-rjj2](https://github.com/advisories/GHSA-xrx6-fmxq-rjj2), CC-BY-4.0, modified 2024-10-26
- NVD: [CVE-2020-25658](https://nvd.nist.gov/vuln/detail/CVE-2020-25658), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2020-100](https://osv.dev/vulnerability/PYSEC-2020-100), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2020-25658 · Whole record: https://cve.day/CVE-2020-25658.json · Rebuilt by cve.day 2026-11-25T22:57:55.748Z
