CVE-2026-34073

NameCVE-2026-34073
Descriptioncryptography 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python-cryptography (PTS)bullseye3.3.2-1vulnerable
bullseye (security)3.3.2-1+deb11u1vulnerable
bookworm38.0.4-3+deb12u1vulnerable
bookworm (security)38.0.4-3~deb12u1vulnerable
trixie43.0.0-3+deb13u1vulnerable
forky46.0.5-2vulnerable
sid46.0.6-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python-cryptographysource(unstable)46.0.6-1

Notes

https://github.com/pyca/cryptography/security/advisories/GHSA-m959-cc7f-wv43

Search for package or bug name: Reporting problems