CVE-2026-26007: cryptography Subgroup Attack Due to Missing Subgroup Validation for SECT Curves

Published Feb 10, 2026
·
Updated

Vulnerability Summary

The publickeyfromnumbers (or EllipticCurvePublicNumbers.publickey()), EllipticCurvePublicNumbers.publickey(), loadderpublickey() and loadpempublickey() 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 = [victimprivatekey]P via ECDH, this leaks information about victimprivatekey mod (smallsubgrouporder). 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.

Credit

This vulnerability was discovered by: - XlabAI Team of Tencent Xuanwu Lab - Atuin Automated Vulnerability Discovery Engine

Other sources

cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. Prior to 46.0.5, the publickeyfromnumbers (or EllipticCurvePublicNumbers.publickey()), EllipticCurvePublicNumbers.publickey(), loadderpublickey() and loadpempublickey() 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 = [victimprivatekey]P via ECDH, this leaks information about victimprivatekey mod (smallsubgrouporder). 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.

— IBM

cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. Prior to 46.0.5, the publickeyfromnumbers (or EllipticCurvePublicNumbers.publickey()), EllipticCurvePublicNumbers.publickey(), loadderpublickey() and loadpempublickey() 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 = [victimprivatekey]P via ECDH, this leaks information about victimprivatekey mod (smallsubgrouporder). 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.

— MITRE

cryptography Subgroup Attack Due to Missing Subgroup Validation for SECT Curves

— Microsoft

Affected Software

12 affected componentsFixes available
pip/cryptography<=46.0.4
46.0.5
Cryptography.io Cryptography Python<46.0.5
All of the following
azurelinux/python-cryptography<0:46.0.7-2.azl4
0:46.0.7-2.azl4
Microsoft Azure Linux=4.0
IBM API Connect<=V10.0.8.0 - V10.0.8.13
debian/python-cryptography<=38.0.4-3+deb12u1, <=38.0.4-3~deb12u1
43.0.0-3+deb13u146.0.5-1
ubuntu/python-cryptography<1.2.3-1ubuntu0.3+esm3
1.2.3-1ubuntu0.3+esm3
ubuntu/python-cryptography<2.1.4-1ubuntu1.4+esm3
2.1.4-1ubuntu1.4+esm3
ubuntu/python-cryptography<2.8-3ubuntu0.3+esm2
2.8-3ubuntu0.3+esm2
ubuntu/python-cryptography<3.4.8-1ubuntu2.3
3.4.8-1ubuntu2.3
ubuntu/python-cryptography<41.0.7-4ubuntu0.3
41.0.7-4ubuntu0.3
ubuntu/python-cryptography<43.0.0-1ubuntu1.1
43.0.0-1ubuntu1.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/cryptography to a version that resolves this vulnerability.

    Fixed in 46.0.5
  2. Upgrade

    Upgrade azurelinux/python-cryptography to a version that resolves this vulnerability.

    Fixed in 0:46.0.7-2.azl4
  3. Upgrade

    Upgrade debian/python-cryptography to a version that resolves this vulnerability.

    Fixed in 43.0.0-3+deb13u1Fixed in 46.0.5-1
  4. Upgrade

    Upgrade ubuntu/python-cryptography to a version that resolves this vulnerability.

    Fixed in 1.2.3-1ubuntu0.3+esm3
  5. Upgrade

    Upgrade ubuntu/python-cryptography to a version that resolves this vulnerability.

    Fixed in 2.1.4-1ubuntu1.4+esm3
  6. Upgrade

    Upgrade ubuntu/python-cryptography to a version that resolves this vulnerability.

    Fixed in 2.8-3ubuntu0.3+esm2
  7. Upgrade

    Upgrade ubuntu/python-cryptography to a version that resolves this vulnerability.

    Fixed in 3.4.8-1ubuntu2.3
  8. Upgrade

    Upgrade ubuntu/python-cryptography to a version that resolves this vulnerability.

    Fixed in 41.0.7-4ubuntu0.3
  9. Upgrade

    Upgrade ubuntu/python-cryptography to a version that resolves this vulnerability.

    Fixed in 43.0.0-1ubuntu1.1
  10. Upgrade

    Upgrade PyCA cryptography to a version that resolves this vulnerability.

    Fixed in 46.0.5Patch CVE-2026-26007

Event History

Feb 10, 2026
Advisory Published
via GitHub·09:27 PM
Data Sourced
via GitHub·09:27 PM
DescriptionWeaknessAffected Software
CVE Published
via MITRE·09:42 PM
Data Sourced
via MITRE·09:42 PM
DescriptionWeakness
Data Sourced
via Red Hat·10:01 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·10:17 PM
DescriptionSeverityWeakness
Data Sourced
via OSV·10:17 PM
DescriptionSeverityAffected Software
Feb 16, 2026
Event
via FIRST·12:00 AM
Feb 23, 2026
Data Sourced
via NVD·03:40 PM
RemedyAffected Software
Updated
via NVD·03:40 PM
Severity
Apr 27, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Jun 19, 2026
Updated
via IBM·12:00 AM
Affected Software
Jun 30, 2026
Updated
via NVD·03:17 AM
SeverityWeakness
Aug 20, 2026
Updated
via IBM·12:00 AM
Affected Software
Aug 27, 2026
Updated
via IBM·12:00 AM
Affected Software
Sep 10, 2026
Updated
via NVD·01:17 PM
SeverityWeakness
Sep 11, 2026
Updated
via IBM·12:00 AM
Affected Software
Oct 14, 2026
Updated
via IBM·12:00 AM
Affected Software
Nov 9, 2026
Updated
via IBM·12:00 AM
Affected Software
Nov 17, 2026
Data Sourced
via Microsoft·06:54 AM
DescriptionSeverityWeaknessAffected Software
Nov 18, 2026
Updated
via IBM·12:00 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2026-26007?

CVE-2026-26007 has a high severity due to its potential to compromise elliptic curve cryptographic operations.

2

How do I fix CVE-2026-26007?

To fix CVE-2026-26007, upgrade the 'cryptography' package to version 46.0.5 or later.

3

What functions are affected by CVE-2026-26007?

CVE-2026-26007 affects the 'public_key_from_numbers', 'EllipticCurvePublicNumbers.public_key()', 'load_der_public_key()', and 'load_pem_public_key()' functions.

4

What is the potential impact of CVE-2026-26007?

The potential impact of CVE-2026-26007 includes allowing an attacker to perform subgroup attacks and compromise the security of the public key.

5

What versions of the cryptography package are vulnerable to CVE-2026-26007?

Versions of the 'cryptography' package up to and including 46.0.4 are vulnerable to CVE-2026-26007.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203