CVE-2026-34073
LOW 1.7CVSS 4.0cryptography has incomplete DNS name constraint enforcement on peer names
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.
- Published
- 31 Mar 2026
- Last modified
- 19 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-295
- Also known as
- GHSA-m959-cc7f-wv43PYSEC-2026-35
- Sources
- NVDJSONOSV GHSA-m959-cc7f-wv43JSONOSV PYSEC-2026-35JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | LOW 1.7 | 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | cryptography.io | cryptographycpe:2.3:a:cryptography.io:cryptography:*:*:*:*:*:python:*:* |
>= 45.0.0, < 46.0.6 | 46.0.6 |
| OSV | PyPI | cryptography | < 46.0.6 | 46.0.6 |
References
- https://github.com/pyca/cryptography/security/advisories/GHSA-m959-cc7f-wv43 · Vendor Advisory, WEB, ADVISORY
- https://www.kb.cert.org/vuls/id/948176 · Third Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-34073 · ADVISORY
- https://github.com/pyca/cryptography · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2026-35.yaml · WEB
History
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 31 Mar 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 27 Mar 2026)
- 25 Nov 2026 20:10 UTC · NVD: first stored (published 31 Mar 2026)