CVE-2023-38325
cryptography mishandles SSH certificates
The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
7.5
The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options.
- Record
CVE-2023-38325- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-295
- Updated
- 2026-11-02
CVE List No score
The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options.
- Record
CVE-2023-38325- Updated
- 2026-11-02
EUVDEUVD-2023-0059 No score
The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options.
- Record
EUVD-2023-0059- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-cf7p-gm2m-833m
8.7
cryptography mishandles SSH certificates
The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options.
- Record
GHSA-cf7p-gm2m-833m- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N - CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-295
- Updated
- 2026-11-02
OSVALPINE-CVE-2023-38325
7.5
The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options.
- Record
ALPINE-CVE-2023-38325- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-03
OSVBELL-CVE-2023-38325
7.5
CVE-2023-38325 does not affect BellSoft software
- Record
BELL-CVE-2023-38325- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
Show 5 moreShow less
OSVGHSA-cf7p-gm2m-833m
8.7
cryptography mishandles SSH certificates
The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options.
- Record
GHSA-cf7p-gm2m-833m- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N - CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-295
- Updated
- 2026-11-02
OSV No score
The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options.
- Record
CVE-2023-38325- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:13078-1 No score
python310-cryptography-41.0.2-2.1 on GA media
These are all security issues fixed in the python310-cryptography-41.0.2-2.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:13078-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:11468-1 No score
python313-cryptography-50.0.0-1.1 on GA media
These are all security issues fixed in the python313-cryptography-50.0.0-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2026:11468-1- Updated
- 2026-11-02
OSVPYSEC-2023-112 No score
The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options.
- Record
PYSEC-2023-112- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
cryptographyPyPI |
40.0.0 up to 41.0.2 | 41.0.2 |
py3-cryptographyAlpine:v3.18 |
40.0.0 up to 41.0.2-r0 | 41.0.2-r0 |
py3-cryptographyAlpine:v3.19 |
40.0.0 up to 41.0.2-r0 | 41.0.2-r0 |
py3-cryptographyAlpine:v3.20 |
40.0.0 up to 41.0.2-r0 | 41.0.2-r0 |
py3-cryptographyAlpine:v3.21 |
40.0.0 up to 41.0.2-r0 | 41.0.2-r0 |
py3-cryptographyAlpine:v3.22 |
40.0.0 up to 41.0.2-r0 | 41.0.2-r0 |
py3-cryptographyAlpine:v3.23 |
40.0.0 up to 41.0.2-r0 | 41.0.2-r0 |
py3-cryptographyAlpine:v3.24 |
40.0.0 up to 41.0.2-r0 | 41.0.2-r0 |
cryptographyPyPI |
40.0.0 up to 41.0.2, plus listed versions 40.0.140.0.241.0.041.0.1 |
41.0.2 |
python-cryptographyopenSUSE:Tumbleweed |
before 41.0.2-2.1 | 41.0.2-2.1 |
python-cryptographyopenSUSE:Tumbleweed From an advisory covering 6 CVEs |
before 50.0.0-1.1 | 50.0.0-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-38325 is a high vulnerability (CVSS 7.5) in Cryptography.io Cryptography, published July 14, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.73%, the 54th percentile. Fixed in cryptography 41.0.2.
References
github.com/pyca/cryptography/issues/9207
github.com/pyca/cryptography/pull/9208
pypi.org/project/cryptography
github.com/pyca/cryptography/compare/41.0.1...41.0.2
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NMCCTYY3CSNQBFFYYC5DAV6KATHWCUZK
security.netapp.com/advisory/ntap-20230824-0010
Show 16 moreShow less
nvd.nist.gov/vuln/detail/CVE-2023-38325
github.com/pyca/cryptography/commit/1ca7adc97b76a9dfbd3d850628b613eb93b78fc3
github.com/pyca/cryptography/pull/7960
github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2023-112.yaml
lists.fedoraproject.org/archives/list/[email protected]/message/NMCCTYY3CSNQBFFYYC5DAV6KATHWCUZK
github.com/advisories/GHSA-cf7p-gm2m-833m
security.alpinelinux.org/vuln/CVE-2023-38325
docs.bell-sw.com/security/cves/CVE-2023-38325
github.com/CVEProject/cvelistV5/tree/main/cves/2023/38xxx/CVE-2023-38325.json
github.com/pyca/cryptography
suse.com/security/cve/CVE-2023-38325
suse.com/security/cve/CVE-2020-25659
suse.com/security/cve/CVE-2020-36242
suse.com/security/cve/CVE-2023-49083
suse.com/security/cve/CVE-2024-26130
suse.com/security/cve/CVE-2026-69247