CVE Catalog

CVE-2026-34073

MediumCVSS 5.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.17%

6th percentile - higher than 6% of all known CVEs

Summary

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.

Risk Assessment

A certificate that should be rejected due to DNS name constraints may be accepted, potentially leading to server identity spoofing and man-in-the-middle attacks. This may compromise the confidentiality and integrity of communications.

Recommendation

Update the cryptography library to version 46.0.6 or later. Ensure all applications using this library are updated.

Other vulnerabilities in cryptography

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS