CVE-2026-34073

cryptography has incomplete DNS name constraint enforcement on peer names

MEDIUM
5.3
CVSS Score
Published: March 31, 2026 at 02:04 AM UTC
Updated: October 14, 2026 at 05:18 PM UTC
2 products affected across 2 vendorsCryptographyCryptography

Using cryptography by pyca?

Get instant alerts when new vulnerabilities affect cryptography - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.3
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

All versionsv < 46.0.6
v < 46.0.6
Affected range stops below 46.0.6, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (2)

x_refsource_CONFIRMVendor Advisory
Source: cverecord
https://github.com/pyca/cryptography/security/advisories/GHSA-m959-cc7f-wv43
Source: af854a3a-2127-422b-91ae-364da2661108
https://www.kb.cert.org/vuls/id/948176

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-295

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card