CVE-2016-1494

MEDIUM LAB

Python-RSA < 3.3 - Signature Spoofing via BERserk Padding Attack

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2016-1494. PoCs published by matthiasbe.

AI-analyzed exploit summary This repository contains a functional exploit for CVE-2016-1494, which targets a vulnerability in the RSA PKCS#1 v1.5 signature verification in the Python RSA library. The exploit demonstrates a signature forgery attack by manipulating the cube root of a crafted message to bypass signature validation.

Description

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.

Exploits (1)

nomisec WORKING POC 1 stars
by matthiasbe · poc
https://github.com/matthiasbe/secuimag3a

This repository contains a functional exploit for CVE-2016-1494, which targets a vulnerability in the RSA PKCS#1 v1.5 signature verification in the Python RSA library. The exploit demonstrates a signature forgery attack by manipulating the cube root of a crafted message to bypass signature validation.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: Python RSA library (rsa-3.2.3)
No auth needed
Prerequisites: Python environment with gmpy2 and RSA library installed
devstral-2 · analyzed Feb 18, 2026 Full analysis →

References (8)

Core 8
Core References
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2016/01/05/3
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/79829
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2016/01/05/1
Third Party Advisory vendor-advisory x_refsource_fedora
http://lists.fedoraproject.org/pipermail/package-announce/2016-January/175897.html
Mailing List, Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-updates/2016-01/msg00032.html
Third Party Advisory vendor-advisory x_refsource_fedora
http://lists.fedoraproject.org/pipermail/package-announce/2016-January/175942.html

Scores

CVSS v3 5.3
EPSS 0.0313
EPSS Percentile 87.2%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Lab Environment

COMMUNITY
Community Lab
docker pull linode/lamp

Details

CWE
CWE-20
Status published
Products (7)
fedoraproject/fedora 22
fedoraproject/fedora 23
opensuse/leap 42.1
opensuse/opensuse 13.1
opensuse/opensuse 13.2
pypi/rsa 0 - 3.3PyPI
python/rsa < 3.3
Published Jan 13, 2016
Tracked Since Feb 18, 2026