Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. rsa
  4. ›
  5. CVE-2016-1494

CVE-2016-1494: Python RSA allows attackers to spoof signatures

May 14, 2022 (updated October 21, 2024)

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.

References

  • bitbucket.org/sybren/python-rsa/pull-requests/14/security-fix-bb06-attack-in-verify-by/diff
  • blog.filippo.io/bleichenbacher-06-signature-forgery-in-python-rsa
  • github.com/advisories/GHSA-8rjr-6qq5-pj9p
  • github.com/pypa/advisory-database/tree/main/vulns/rsa/PYSEC-2016-10.yaml
  • github.com/sybrenstuvel/python-rsa
  • github.com/sybrenstuvel/python-rsa/commit/ab5d21c3b554f926d51ff3ad9c794bcf32e95b3c
  • nvd.nist.gov/vuln/detail/CVE-2016-1494
  • web.archive.org/web/20210123020914/http://www.securityfocus.com/bid/79829

Code Behaviors & Features

Detect and mitigate CVE-2016-1494 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.3

Fixed versions

  • 3.3

Solution

Upgrade to version 3.3 or above.

Impact 5.3 MEDIUM

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation
  • CWE-347: Improper Verification of Cryptographic Signature

Source file

pypi/rsa/CVE-2016-1494.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:55 +0000.