Every CVE Search/ Get API key

CVE-2023-38325

cryptography mishandles SSH certificates

7.5 HighFix available

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

0.73%Up 0.7 points since Jul 15, 2023
90%50%10%1%

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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
cryptography
PyPI
40.0.0 up to 41.0.2
41.0.2
py3-cryptography
Alpine:v3.18
40.0.0 up to 41.0.2-r0
41.0.2-r0
py3-cryptography
Alpine:v3.19
40.0.0 up to 41.0.2-r0
41.0.2-r0
py3-cryptography
Alpine:v3.20
40.0.0 up to 41.0.2-r0
41.0.2-r0
py3-cryptography
Alpine:v3.21
40.0.0 up to 41.0.2-r0
41.0.2-r0
py3-cryptography
Alpine:v3.22
40.0.0 up to 41.0.2-r0
41.0.2-r0
py3-cryptography
Alpine:v3.23
40.0.0 up to 41.0.2-r0
41.0.2-r0
py3-cryptography
Alpine:v3.24
40.0.0 up to 41.0.2-r0
41.0.2-r0
cryptography
PyPI
40.0.0 up to 41.0.2, plus listed versions
40.0.140.0.241.0.041.0.1
41.0.2
python-cryptography
openSUSE:Tumbleweed
before 41.0.2-2.1
41.0.2-2.1
python-cryptography
openSUSE:Tumbleweed
From an advisory covering 6 CVEs
before 50.0.0-1.1
50.0.0-1.1

History

History
RecordedChangedSources
affected, facts
affectedOSV
aliasesEUVD
first indexedCVE 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

Show 16 moreShow less
MoveEnter Open