Live threats

All CVEs / Cryptography.io

CVE-2026-34073Cryptography.io Cryptography

Low 1.7 No auth needed

Priority
25
CVSS 4.0
1.7
EPSS
—
Auth required
No
Published
Mar 31, 2026
Updated
Nov 19, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-295
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. Prior to version 46.0.6, DNS name constraints were only validated against SANs within child certificates, and not the "peer name" presented during each validation. Consequently, cryptography would allow a peer named bar.example.com to validate against a wildcard leaf certificate for *.example.com, even if the leaf's parent certificate (or upwards) contained an excluded subtree constraint for bar.example.com. This issue has been patched in version 46.0.6.

Original NVD text.

What to do

  1. Apply the vendor's security update for Cryptography.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI cryptography < 46.0.6 46.0.6 pip install "cryptography>=46.0.6"
PyPI cryptography < 46.0.6 46.0.6 pip install "cryptography>=46.0.6"

Per OSV / GitHub Advisories (GHSA-m959-cc7f-wv43, PYSEC-2026-35). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
cryptography.iocryptography≥ 45.0.0 < 46.0.6

Official advisories

Also: SUSE (+3)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.