The verify function in the RSA package for Python (Python-RSA) before 3.3 allows attackers to spoof signatures with a small public exponent via crafted signature padding, aka a BERserk attack.
The verify function in the RSA package for Python (Python-RSA) before 3.3 allows attackers to spoof signatures with a small public exponent via crafted signature padding, aka a BERserk attack.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | rsa | < 3.3 | 3.3 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-1494
- https://github.com/sybrenstuvel/python-rsa/commit/ab5d21c3b554f926d51ff3ad9c794bcf32e95b3c
- https://bitbucket.org/sybren/python-rsa/pull-requests/14/security-fix-bb06-attack-in-verify-by/diff
- https://blog.filippo.io/bleichenbacher-06-signature-forgery-in-python-rsa
- https://github.com/pypa/advisory-database/tree/main/vulns/rsa/PYSEC-2016-10.yaml
- https://github.com/sybrenstuvel/python-rsa
- https://web.archive.org/web/20210123020914/http://www.securityfocus.com/bid/79829
- http://lists.fedoraproject.org/pipermail/package-announce/2016-January/175897.html
- http://lists.fedoraproject.org/pipermail/package-announce/2016-January/175942.html
- http://lists.opensuse.org/opensuse-updates/2016-01/msg00032.html
- http://www.openwall.com/lists/oss-security/2016/01/05/1
- http://www.openwall.com/lists/oss-security/2016/01/05/3
- https://blog.filippo.io/bleichenbacher-06-signature-forgery-in-python-rsa/
- http://www.securityfocus.com/bid/79829
- https://github.com/advisories/GHSA-8rjr-6qq5-pj9p
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N- Weakness (CWE)
CWE-20, CWE-347- Platform
- Python (PyPI)
- Package
rsa- Disclosed
- 13.01.2016
- Updated
- 11.10.2026 12:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-8rjr-6qq5-pj9p - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2016-10 - PyPA Advisory Database; CC BY 4.0
Vulnerability history: rsa
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 3
- First → latest
- 01.2016 11.2020
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 2
- Medium 1
Disclosures per year
- 2017: 0
- 2018: 0
- 2019: 0
- 2020: 2
- 2021: 0
- 2022: 0
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 0
earlier: 1
-
The verify function in the RSA package for Python (Python-RSA) before 3.3 allows attackers to spoof signatures with a small public exponent via crafted signature padding, aka a BERserk attack. this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.