CVE-2020-13757
HIGH 7.5CVSS 3.1Python-RSA decryption of ciphertext leads to DoS
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).
- Published
- 1 Jun 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-327
- Also known as
- GHSA-537h-rv9q-vvphPYSEC-2020-99
- Sources
- NVDJSONOSV GHSA-537h-rv9q-vvphJSONOSV PYSEC-2020-99JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | python-rsa_project | python-rsacpe:2.3:a:python-rsa_project:python-rsa:*:*:*:*:*:*:*:* |
< 4.1 | 4.1 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:* |
= 31 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* |
= 32 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* |
= 14.04 | |
| OSV | PyPI | rsa | < 4.1 | 4.1 |
References
- https://github.com/sybrenstuvel/python-rsa/issues/146 · Issue Tracking, Third Party Advisory, WEB, REPORT
- https://github.com/sybrenstuvel/python-rsa/issues/146#issuecomment-641845667 · Exploit, Issue Tracking, Third Party Advisory, WEB, REPORT
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2KILTHBHNSDUCYV22ODLOKTICJJ7JQIQ/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZYB65VNILRBTXL6EITQTH2PZPK7I23MW/
- https://usn.ubuntu.com/4478-1/ · Third Party 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://github.com/advisories/GHSA-537h-rv9q-vvph · ADVISORY
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 1 Jun 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 1 Jun 2020)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 Mar 2021)