# CVE-2023-38325: cryptography mishandles SSH certificates

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/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.73%, higher than 55% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-07-14T00:00:00.000Z
- Modified: 2026-09-10T03:49:57.356Z
- Also known as: GHSA-cf7p-gm2m-833m, PYSEC-2023-112
- Weaknesses: CWE-295
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: mitre

## Description

The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- cryptography (PyPI): from 40.0.0 before 41.0.2
- cryptography.io cryptography: from 40.0.0 before 41.0.2

## Every score

- GitHub: 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`
- GitHub: CVSS:4.0 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`
- NVD: 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`

## References

- <https://github.com/pyca/cryptography/issues/9207> (exploit, issue-tracking, patch, report, vendor-advisory, web)
- <https://github.com/pyca/cryptography/pull/9208> (patch, vendor-advisory, web)
- <https://pypi.org/project/cryptography/#history> (package, release-notes, web)
- <https://github.com/pyca/cryptography/compare/41.0.1...41.0.2> (patch, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NMCCTYY3CSNQBFFYYC5DAV6KATHWCUZK/> (vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20230824-0010/>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-38325> (advisory)
- <https://github.com/pyca/cryptography/pull/7960> (web)
- <https://github.com/pyca/cryptography/commit/1ca7adc97b76a9dfbd3d850628b613eb93b78fc3> (web)
- <https://github.com/pyca/cryptography> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2023-112.yaml> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NMCCTYY3CSNQBFFYYC5DAV6KATHWCUZK> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NMCCTYY3CSNQBFFYYC5DAV6KATHWCUZK> (web)
- <https://security.netapp.com/advisory/ntap-20230824-0010> (web)
- <https://github.com/advisories/GHSA-cf7p-gm2m-833m> (advisory)

## Sources

- CVE List: [CVE-2023-38325](https://www.cve.org/CVERecord?id=CVE-2023-38325), CVE Terms of Use, modified 2024-10-30
- GitHub Advisory Database: [GHSA-cf7p-gm2m-833m](https://github.com/advisories/GHSA-cf7p-gm2m-833m), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-38325](https://nvd.nist.gov/vuln/detail/CVE-2023-38325), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2023-112](https://osv.dev/vulnerability/PYSEC-2023-112), CC-BY-4.0, modified 2026-06-10

---

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