python-rsa — security advisory
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).
- Products
- python-rsa
- Affected versions
- Not specified
- Fixed versions
- 4.7.2-1
- CVEs
- CVE-2020-13757
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 12:34 UTC · Revision 1
Source evidence
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).
osv:DEBIAN-CVE-2020-13757
python-rsa
Fixed versions: 4.7.2-1
python-rsa
Fixed versions: 4.7.2-1
python-rsa
Fixed versions: 4.7.2-1
Complete source record
{
"id": "d45e4f3ca52fdc01244991257de39c4fe15ffee05b6cd663f172cbea6f6c3cab",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2020-13757",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2020-13757",
"summary": "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).",
"evidence": "osv:DEBIAN-CVE-2020-13757",
"products": [
{
"name": {
"value": "python-rsa",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "4.7.2-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "python-rsa",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "4.7.2-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "python-rsa",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "4.7.2-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2020-13757",
"aliases": [
"DEBIAN-CVE-2020-13757"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.7.2-1"
}
]
}
],
"package": {
"name": "python-rsa",
"purl": "pkg:deb/debian/python-rsa?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-13757.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.7.2-1"
}
]
}
],
"package": {
"name": "python-rsa",
"purl": "pkg:deb/debian/python-rsa?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-13757.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.7.2-1"
}
]
}
],
"package": {
"name": "python-rsa",
"purl": "pkg:deb/debian/python-rsa?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-13757.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-26T12:00:33.919293448Z",
"provider": "osv",
"upstream": [
"CVE-2020-13757"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2020-13757"
]
},
"related_cves": [
{
"value": "CVE-2020-13757",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 451213,
"published_at": "2020-06-01T19:15:10.067+00:00"
}