Improper Certificate Validation in python-cryptography - #VU140697

 

Improper Certificate Validation in python-cryptography - #VU140697

Published: August 1, 2026


Vulnerability identifier: #VU140697
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: N/A
CWE-ID: CWE-295
Exploitation vector: Remote access
Exploit availability: No public exploit available
Affected software:
python-cryptography

Detailed vulnerability description

The vulnerability allows a remote attacker to spoof certificate identity validation.

The vulnerability exists due to improper certificate validation in the certificate verifier when processing certificate chains with wildcard DNS subject alternative names under permitted subtrees constraints. A remote attacker can present a specially crafted certificate chain to spoof certificate identity validation.

The issue occurs when an intermediate constrained CA permits a specific DNS name such as foo.example.com, but a leaf certificate uses a broader wildcard DNS SAN such as *.example.com.


Remediation

Install security update from vendor's website.

Sources