CVE 1.7 LOW

cryptography has incomplete DNS name constraint enforcement on peer names_CVE-2026-34073

1.7 / 10
LOW
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

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.

Basic Information

ID CVE-2026-34073
Source GitHub_M
Published Mar 31, 2026 at 02:04
Modified Mar 31, 2026 at 13:52

Affected Product

Vendor pyca
Product cryptography
Version < 46.0.6
Affected Versions pyca cryptography < 46.0.6

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.