Live threats

All CVEs / Cryptography.io

CVE-2026-26007Cryptography.io Cryptography

High 8.2 No auth needed

Priority
64
CVSS 4.0
8.2
EPSS
—
Auth required
No
Published
Feb 10, 2026
Updated
Sep 10, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-345, CWE-354
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/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

What happens

cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. Prior to 46.0.5, the public_key_from_numbers (or EllipticCurvePublicNumbers.public_key()), EllipticCurvePublicNumbers.public_key(), load_der_public_key() and load_pem_public_key() functions do not verify that the point belongs to the expected prime-order subgroup of the curve. This missing validation allows an attacker to provide a public key point P from a small-order subgroup. This can lead to security issues in various situations, such as the most commonly used signature verification (ECDSA) and shared key negotiation (ECDH). When the victim computes the shared secret as S = [victim_private_key]P via ECDH, this leaks information about victim_private_key mod (small_subgroup_order). For curves with cofactor > 1, this reveals the least significant bits of the private key. When these weak public keys are used in ECDSA , it's easy to forge signatures on the small subgroup. Only SECT curves are impacted by this. This vulnerability is fixed in 46.0.5.

Original NVD text.

What to do

  1. Apply the vendor's security update for Cryptography.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI cryptography < 46.0.5 46.0.5 pip install "cryptography>=46.0.5"
PyPI cryptography < 46.0.5 46.0.5 pip install "cryptography>=46.0.5"

Per OSV / GitHub Advisories (GHSA-r6ph-v2qm-q3c2, PYSEC-2026-2141). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
cryptography.iocryptography< 46.0.5

Official advisories

Also: Red Hat (+5), SUSE (+4)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.