DNS Name Constraints Issue in Cryptography Package by PyCA
CVE-2026-34073
1.7LOW
What is CVE-2026-34073?
The cryptography package, used for exposing cryptographic primitives and recipes to Python developers, contained a flaw prior to version 46.0.6 in how DNS name constraints were validated. The validation only checked SANs within child certificates, not the peer name during each validation process. As a result, a malicious peer name like bar.example.com could be incorrectly validated against a wildcard certificate for *.example.com, which could lead to potential security risks. This issue has been resolved in version 46.0.6.
Affected Version(s)
cryptography < 46.0.6
