CVE-2023-38325Cryptography.io Cryptography
High 7.5 No auth needed
Follow: this CVE · Cryptography.io · Cryptography.io Cryptography We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 59
- Auth required
- No
- Published
- Jul 14, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-295
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options.
What to do
- Apply the vendor's security update for Cryptography.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | cryptography |
≥ 40.0.0 < 41.0.2 |
41.0.2 |
pip install "cryptography>=41.0.2" |
| PyPI | cryptography |
≥ 40.0.0 < 41.0.2 |
41.0.2 |
pip install "cryptography>=41.0.2" |
Per OSV / GitHub Advisories (GHSA-cf7p-gm2m-833m, PYSEC-2023-112). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| cryptography.io | cryptography | ≥ 40.0.0 < 41.0.2 |
Official advisories
- python313-cryptography-50.0.0-1.1 on GA media · SUSE · openSUSE-SU-2026:11468-1 · Aug 6, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Exploit Issue Tracking Patch
- github.com Patch Vendor Advisory
- lists.fedoraproject.org
- pypi.org Release Notes
- security.netapp.com