DescriptionPython-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).
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub advisories/code/issues, web search, more)
Debian Bugs962142

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python-rsa (PTS)buster4.0-2vulnerable
bookworm, sid4.8-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs


[bullseye] - python-rsa <no-dsa> (Minor issue)
[buster] - python-rsa <no-dsa> (Minor issue)
[stretch] - python-rsa <no-dsa> (Minor issue)
[jessie] - python-rsa <no-dsa> (Minor issue) (version-4.1)

Search for package or bug name: Reporting problems