# CVE-2023-48051: upydev has weak encryption padding

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-11-20T00:00:00.000Z
- Modified: 2026-06-17T06:33:34.430Z
- Also known as: GHSA-qc4j-hrj6-cppf, PYSEC-2023-302
- Weaknesses: CWE-326
- Assigned by: mitre

## Description

An issue in /upydev/keygen.py in upydev v0.4.3 allows attackers to decrypt sensitive information via weak encryption padding.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- upydev (PyPI): up to 0.4.3
- carglglz upydev: 0.4.3

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/Carglglz/upydev/issues/38> (exploit, issue-tracking, mitigation, report, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-48051> (advisory)
- <https://github.com/Carglglz/upydev> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/upydev/PYSEC-2023-302.yaml> (web)

## Sources

- CVE List: [CVE-2023-48051](https://www.cve.org/CVERecord?id=CVE-2023-48051), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-qc4j-hrj6-cppf](https://github.com/advisories/GHSA-qc4j-hrj6-cppf), CC-BY-4.0, modified 2024-11-25
- NVD: [CVE-2023-48051](https://nvd.nist.gov/vuln/detail/CVE-2023-48051), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2023-302](https://osv.dev/vulnerability/PYSEC-2023-302), CC-BY-4.0, modified 2024-11-25

---

Page: https://cve.day/CVE-2023-48051 · Whole record: https://cve.day/CVE-2023-48051.json · Rebuilt by cve.day 2026-11-25T22:58:30.619Z
