CVE-2026-34073

published 31 Mar 2026 · updated 19 Nov 2026

cryptography has incomplete DNS name constraint enforcement on peer names

1.7LowCVSS 1.7EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 46.0.6.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
cryptography.iocryptography>=45.0.0 <46.0.646.0.6
pyca<46.0.6

Coverage

News and research mentioning this CVE

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-34073 severity on Zeptric[![CVE-2026-34073](https://zeptric.io/badge/cve/CVE-2026-34073.svg)](https://zeptric.io/cve/CVE-2026-34073)