Security mailing lists by PureSourceCode

CVE-2026-34073

LOW 1.7CVSS 4.0

cryptography 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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD cryptography.io cryptography
cpe: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

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.