CVE-2026-26007Cryptography.io Cryptography
High 8.2 No auth needed
Follow: this CVE · Cryptography.io · Cryptography.io Cryptography We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 4.0
- 8.2
- EPSS
- —
- Auth required
- No
- Published
- Feb 10, 2026
- Updated
- Sep 10, 2026
- Category
- Application · Cross-platform
- 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.
What to do
- Apply the vendor's security update for Cryptography.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| cryptography.io | cryptography | < 46.0.5 |
Official advisories
- Red Hat Security Advisory: fence-agents security update · Red Hat · RHSA-2026:22330 · Jun 2, 2026 High
- Red Hat Security Advisory: fence-agents security update · Red Hat · RHSA-2026:21517 · May 28, 2026 High
- Red Hat Security Advisory: fence-agents security update · Red Hat · RHSA-2026:21431 · May 28, 2026 High
- oci-cli-3.76.2-1.1 on GA media · SUSE · openSUSE-SU-2026:10539-1 · Apr 13, 2026 High
- Security update for python-cryptography · SUSE · openSUSE-SU-2026:20506-1 · Apr 10, 2026 High
- Security update for python-cryptography · SUSE · SUSE-SU-2026:21021-1 · Apr 10, 2026 High
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.
- github.com Patch
- github.com Vendor Advisory
- www.openwall.com Mailing List Third Party Advisory
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- bugzilla.redhat.com
- security.access.redhat.com