CVE-2026-34073

MEDIUM

cryptography has incomplete DNS name constraint enforcement on peer names

Title source: cna
STIX 2.1

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.

References (1)

Core 1
Core References

Scores

CVSS v3 5.3
EPSS 0.0001
EPSS Percentile 1.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-295
Status published
Products (3)
cryptography.io/cryptography < 46.0.6
pyca/cryptography < 46.0.6
pypi/cryptography 0 - 46.0.6PyPI
Published Mar 31, 2026
Tracked Since Mar 31, 2026