# CVE-2026-34073: cryptography has incomplete DNS name constraint enforcement on peer names

- Severity: Low 1.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-03-27T19:56:21.000Z
- Modified: 2026-11-19T19:45:00.913Z
- Also known as: GHSA-m959-cc7f-wv43, PYSEC-2026-35
- Weaknesses: CWE-295
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- pyca cryptography: < 46.0.6
- cryptography (PyPI): before 46.0.6
- cryptography.io cryptography: from 45.0.0 before 46.0.6

## Every score

- GitHub_M: CVSS:4.0 1.7 Low `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`
- GitHub: CVSS:3.1 5.3 Low `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:4.0 Low `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: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/pyca/cryptography/security/advisories/GHSA-m959-cc7f-wv43> (advisory, vendor-advisory, web)
- <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)

## Sources

- CVE List: [CVE-2026-34073](https://www.cve.org/CVERecord?id=CVE-2026-34073), CVE Terms of Use, modified 2026-10-14
- GitHub Advisory Database: [GHSA-m959-cc7f-wv43](https://github.com/advisories/GHSA-m959-cc7f-wv43), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-34073](https://nvd.nist.gov/vuln/detail/CVE-2026-34073), Public domain, modified 2026-11-19
- PyPA Advisory Database: [PYSEC-2026-35](https://osv.dev/vulnerability/PYSEC-2026-35), CC-BY-4.0, modified 2026-05-20

---

Page: https://cve.day/CVE-2026-34073 · Whole record: https://cve.day/CVE-2026-34073.json · Rebuilt by cve.day 2026-11-25T22:59:17.557Z
