Medium severity · published Mar 31, 2026
CVE-2026-34073
cryptography has incomplete DNS name constraint enforcement on peer names
5.3
CVSS
0.2%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 13% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CR
cryptography · pyca
< 46.0.6 · source: vendor, NVD
Affected product
CR
cryptography
pyca
More from cryptography
9.8
CVE-2026-39892
cryptography has a buffer overflow if non-contiguous buffers were passed to APIs
8.7
CVE-2026-69249
python-cryptography: Duplicate self-signed intermediates can cause exponential path-building
8.2
CVE-2026-69247
cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle through distinguishable errors and timing
6.9
CVE-2026-69248
python-cryptography verifier accepts wildcard DNS names allowing escape from permittedSubtrees