Python cryptography: Prior to 46.0.5, the public_key_from_numbers (or EllipticCurvePublicNumbers.public_key())
Affects python-cryptographySource GCVE Database
Not known to be exploited · CVSS 8.2 High · fixed in 1.2.3-1ubuntu0.3+esm3 : patch python-cryptography soon.
Data as of 27 Oct 2026, 06:42 UTC
- Patch
- Available – fixed in 1.2.3-1ubuntu0.3+esm3, 2.1.4-1ubuntu1.4+esm3, 2.8-3ubuntu0.3+esm2 +3
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 10 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 25.10python-cryptographypkg:deb/ubuntu/python-cryptography?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSpython-cryptographypkg:deb/ubuntu/python-cryptography?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSpython-cryptographypkg:deb/ubuntu/python-cryptography?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSpython-cryptographypkg:deb/ubuntu/python-cryptography?arch=source&distro=esm-infra/focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 18.04 LTSpython-cryptographypkg:deb/ubuntu/python-cryptography?arch=source&distro=esm-infra/bionicOther threats | Affected
| Fixed in
|
Ubuntu Pro 16.04 LTSpython-cryptographypkg:deb/ubuntu/python-cryptography?arch=source&distro=esm-infra/xenialOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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.
References
- ubuntu.com/security/CVE-2026-26007 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-26007 (opens in a new tab)
- github.com/pyca/cryptography/security/advisories/GHSA-r6ph-v2qm-q3c2 (opens in a new tab)
- openwall.com/lists/oss-security/2026/02/10/4 (opens in a new tab)
- ubuntu.com/security/notices/USN-8087-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8087-3 (opens in a new tab)