Vulnerability · Published May 8, 2025 · Assigned by GitHub_M
CVE-2025-46833Programs/P73_SimplePythonEncryption.py has weak cryptographic key
Medium 4.6
In plain English
A medium-severity security flaw in python-progrrames from ShashikantSingh09. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 19% of all known vulnerabilities).
Official description
Programs/P73_SimplePythonEncryption.py illustrates a simple Python encryption example using the RSA Algorithm. In versions prior to commit 6ce60b1, an attacker may be able to decrypt the data using brute force attacks and because of this the whole application can be impacted. This issue has been patched in commit 6ce60b1. A workaround involves increasing the key size, for RSA or DSA this is at least 2048 bits, for ECC this is at least 256 bits.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| ShashikantSingh09 | python-progrrames | < 6ce60b1 |
Weakness: CWE-326 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U