CVE-2026-34073

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:cryptography.io:cryptography:*:*:*:*:*:python:*:*

History

06 Apr 2026, 15:30

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.3
References () https://github.com/pyca/cryptography/security/advisories/GHSA-m959-cc7f-wv43 - () https://github.com/pyca/cryptography/security/advisories/GHSA-m959-cc7f-wv43 - Vendor Advisory
First Time Cryptography.io cryptography
Cryptography.io
CPE cpe:2.3:a:cryptography.io:cryptography:*:*:*:*:*:python:*:*

01 Apr 2026, 14:24

Type Values Removed Values Added
Summary
  • (es) cryptography es un paquete diseñado para exponer primitivas criptográficas y recetas a los desarrolladores de Python. Antes de la versión 46.0.6, las restricciones de nombre DNS solo se validaban contra los SANs dentro de los certificados secundarios, y no contra el 'nombre del par' presentado durante cada validación. En consecuencia, cryptography permitiría que un par llamado bar.example.com se validara contra un certificado hoja comodín para *.example.com, incluso si el certificado padre de la hoja (o superior) contenía una restricción de subárbol excluido para bar.example.com. Este problema ha sido parcheado en la versión 46.0.6.

31 Mar 2026, 03:15

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-31 03:15

Updated : 2026-04-06 15:30


NVD link : CVE-2026-34073

Mitre link : CVE-2026-34073

CVE.ORG link : CVE-2026-34073


JSON object : View

Products Affected

cryptography.io

  • cryptography
CWE
CWE-295

Improper Certificate Validation