Improper Certificate Validation Affecting python-cryptography package, versions <0:46.0.7-1.hum1


Severity

Recommended
0.0
low
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.15% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-PYTHONCRYPTOGRAPHY-16010670
  • published19 Apr 2026
  • disclosed31 Mar 2026

Introduced: 31 Mar 2026

CVE-2026-34073  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade RHEL:10 python-cryptography to version 0:46.0.7-1.hum1 or higher.
This issue was patched in RHSA-2026:7295.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-cryptography package and not the python-cryptography package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1