# CVE-2020-13757: Python-RSA decryption of ciphertext leads to DoS

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `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.42%, higher than 73% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-06-01T18:17:07.000Z
- Modified: 2026-06-17T02:53:36.237Z
- Also known as: GHSA-537h-rv9q-vvph, PYSEC-2020-99
- Weaknesses: CWE-327
- Assigned by: mitre

## Description

Python-RSA before 4.1 ignores leading '\0' bytes during decryption of ciphertext. This could conceivably have a security-relevant impact, e.g., by helping an attacker to infer that an application uses Python-RSA, or if the length of accepted ciphertext affects application behavior (such as by causing excessive memory allocation).

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- rsa (PyPI): before 4.1
- python-rsa_project python-rsa: before 4.1
- fedoraproject fedora: 31; 32
- canonical ubuntu_linux: 14.04

## Every score

- GitHub: 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`
- NVD: 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`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://github.com/sybrenstuvel/python-rsa/issues/146#issuecomment-641845667> (exploit, issue-tracking, report, third-party-advisory, web)
- <https://github.com/sybrenstuvel/python-rsa/issues/146> (issue-tracking, report, third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2KILTHBHNSDUCYV22ODLOKTICJJ7JQIQ/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZYB65VNILRBTXL6EITQTH2PZPK7I23MW/> (vendor-advisory)
- <https://usn.ubuntu.com/4478-1/> (third-party-advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-13757> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/rsa/PYSEC-2020-99.yaml> (web)
- <https://github.com/sybrenstuvel/python-rsa> (package)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2KILTHBHNSDUCYV22ODLOKTICJJ7JQIQ> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZYB65VNILRBTXL6EITQTH2PZPK7I23MW> (web)
- <https://usn.ubuntu.com/4478-1> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2KILTHBHNSDUCYV22ODLOKTICJJ7JQIQ/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZYB65VNILRBTXL6EITQTH2PZPK7I23MW/> (web)
- <https://github.com/advisories/GHSA-537h-rv9q-vvph> (advisory)

## Sources

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

---

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