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.

Project Subscriptions

Vendors Products
Cryptography Subscribe
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-m959-cc7f-wv43 cryptography has incomplete DNS name constraint enforcement on peer names
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 01 Apr 2026 02:15:00 +0000

Type Values Removed Values Added
First Time appeared Pyca
Pyca cryptography
Vendors & Products Pyca
Pyca cryptography
References
Metrics threat_severity

None

cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N'}

threat_severity

Low


Tue, 31 Mar 2026 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 31 Mar 2026 03:00:00 +0000

Type Values Removed Values Added
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.
Title cryptography has incomplete DNS name constraint enforcement on peer names
Weaknesses CWE-295
References
Metrics cvssV4_0

{'score': 1.7, 'vector': '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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-03-31T13:52:00.999Z

Reserved: 2026-03-25T16:21:40.868Z

Link: CVE-2026-34073

cve-icon Vulnrichment

Updated: 2026-03-31T13:51:58.145Z

cve-icon NVD

Status : Undergoing Analysis

Published: 2026-03-31T03:15:59.123

Modified: 2026-04-01T14:24:02.583

Link: CVE-2026-34073

cve-icon Redhat

Severity : Low

Publid Date: 2026-03-31T02:04:36Z

Links: CVE-2026-34073 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-03-31T20:39:33Z

Weaknesses