Read the docs
TI-2023-19723 Aliases CVE-2023-38325GHSA-cf7p-gm2m-833m

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

Priority HIGH 72CWE-295Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Spoofing
Confidentiality · integrity · availability
None · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-295.

Summary

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

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00726 54th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed cryptography (PyPI): 41.0.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—cryptography (PyPI)40.0.0 to before 41.0.241.0.2Patch availableGHSA-cf7p-gm2m-833m
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • cryptography (PyPI) Vendor— Affected 40.0.0 to before 41.0.2 Fixed in 41.0.2 Patch available GHSA-cf7p-gm2m-833m

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:cryptography.io:cryptography:*:*:*:*:*:python:*:*40.0.0 to before 41.0.2VulnerableCryptography.io
  • cpe:2.3:a:cryptography.io:cryptography:*:*:*:*:*:python:*:* Versions 40.0.0 to before 41.0.2 Vulnerable ·Cryptography.io

Remediation

  • Fix · GHSA-cf7p-gm2m-833m cryptography (PyPI) Fixed in 41.0.2 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

Not affected: 11 products
  • Red Hat Ansible Automation Platform 1.2
  • Red Hat Ansible Automation Platform 2
  • Red Hat Certification for Red Hat Enterprise Linux 6
  • Red Hat Certification for Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat Quay 3
  • Red Hat Satellite 6
  • Red Hat Software Collections
  • Red Hat Update Infrastructure 4 for Cloud Providers

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-38325
  2. 2026-10-03 Alias added: GHSA-cf7p-gm2m-833m

References

  • TI-2023-27712 Python-cryptography: bleichenbacher timing oracle attack against rsa decryption - incomplete fix for cve-2020-25659 CVSS 3.1HIGH 7.5
  • TI-2023-26748 cryptography vulnerable to NULL-dereference when loading PKCS7 certificates CVSS 3.1HIGH 7.5
  • TI-2023-09729 Cipher.update_into can corrupt memory in pyca cryptography CVSS 3.1MEDIUM 6.5
  • TI-2020-18562 In the cryptography package before 3.3.2 for Python, certain sequences of update calls to… CVSS 3.1CRITICAL 9.1
  • TI-2024-17221 NULL pointer dereference in pyca cryptography CVSS 3.1HIGH 7.5
  • TI-2016-07555 HKDF in cryptography before 1.5.2 returns an empty byte-string if used with a length less than algorithm.digest_size. CVSS 3.1HIGH 7.5
See all 10 →

Sources