cryptography Vulnerable to a Subgroup Attack Due to Missing Subgroup Validation for SECT Curves
Vulnerability Summary
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.
Credit
This vulnerability was discovered by:
- XlabAI Team of Tencent Xuanwu Lab
- Atuin Automated Vulnerability Discovery Engine
Affected Packages
| Ecosystem | Package | Vulnerable Versions | Patched Version |
|---|---|---|---|
| pypi |
cryptography
|
<= 46.0.4 |
46.0.5
|
Bump the uv group across 1 directory with 8 updates
Open 4 days agobuild(deps): bump the uv group across 1 directory with 6 updates
Open 4 days agoBump the uv group across 1 directory with 7 updates
Open 5 days agobuild(deps): bump the uv group across 1 directory with 10 updates
Open 5 days agoBump the pip group across 1 directory with 6 updates
Open 5 days agochore(deps): bump the pip group across 2 directories with 7 updates
Closed 7 days agoBump the pip group across 4 directories with 7 updates
Closed 10 days agochore(deps): bump the uv group across 3 directories with 8 updates
Closed 11 days agoBump the pip group across 3 directories with 9 updates
Closed 12 days agoBump cryptography from 45.0.4 to 46.0.7
Closed 14 days agoBump the uv group across 1 directory with 5 updates
Open 16 days agoBump cryptography from 44.0.2 to 46.0.7
Closed 17 days agochore(deps): bump the uv group across 4 directories with 10 updates
Open 17 days agochore(deps): bump the uv group across 4 directories with 12 updates
Closed 17 days agochore(deps): bump the uv group across 3 directories with 6 updates
Open 17 days agochore(deps): bump the uv group across 4 directories with 13 updates
Open 17 days agobuild(deps): bump cryptography from 45.0.4 to 46.0.7
Closed 17 days agochore(deps): bump the uv group across 1 directory with 3 updates
Closed 18 days agobuild(deps): bump cryptography from 46.0.4 to 46.0.7 in /backend
Closed 19 days agochore(deps): bump cryptography from 45.0.4 to 46.0.7 in /rs/rosetta-api/examples/icrc1/python
Open 20 days agoBump cryptography from 1.7.2 to 46.0.7
Open 22 days agochore(deps): bump cryptography from 45.0.4 to 46.0.7
Open 22 days agoBump the pip group across 1 directory with 5 updates
Open 23 days agoBump the pip group across 2 directories with 3 updates
Open 24 days agochore(deps): bump the uv group across 2 directories with 5 updates
Closed 24 days agochore(deps): Bump cryptography from 43.0.3 to 46.0.7 in /apps/myrestaurantreviews/backend
Open 25 days agochore: bump the python-minor-patch group across 2 directories with 20 updates
Open 25 days agochore(deps): update cryptography requirement from <47.0.0,>=44.0.3 to >=46.0.7,<47.0.0
Closed 25 days agodeps(deps): update cryptography requirement from >=41.0 to >=46.0.7
Open 26 days agochore(deps): bump the uv group across 3 directories with 8 updates
Open 26 days agochore(deps): update cryptography requirement from >=42.0.0 to >=46.0.7
Open 27 days agobuild(deps): bump the pip group across 12 directories with 7 updates
Open 27 days agoBump the uv group across 10 directories with 7 updates
Open 27 days agochore(deps): bump the pip group across 14 directories with 10 updates
Closed 27 days agochore(deps): bump cryptography from 41.0.7 to 46.0.7
Closed 27 days agobuild(deps): bump the uv group across 3 directories with 9 updates
Closed 28 days agodeps: Update cryptography requirement from <43.0,>=41.0 to >=41.0,<47.0
Open 28 days agochore(deps): Update cryptography requirement from >=44.0.0 to >=46.0.7 in /backend/pipelines/svineflytning_pipeline
Open 28 days agobuild(deps): Update cryptography requirement from <44.0,>=42.0 to >=42.0,<47.0 in /components/update-agent
Closed 28 days agochore(deps): bump cryptography from 46.0.3 to 46.0.7 in /backend
Closed 28 days agobuild(deps): bump the python-minor-patch group across 1 directory with 43 updates
Closed 30 days agobuild(deps): bump the pip group across 1 directory with 5 updates
Open about 1 month agobuild(deps): bump the pip group across 1 directory with 4 updates
Closed about 1 month agoBump the uv group across 8 directories with 9 updates
Open about 1 month agochore(deps): bump the pip group across 1 directory with 14 updates
Closed about 1 month agochore(deps): bump the uv group across 15 directories with 9 updates
Open about 1 month agochore(deps): bump the uv group across 2 directories with 10 updates
Closed about 1 month agochore: bump the python-minor-patch group across 2 directories with 19 updates
Open about 1 month agoBump the uv group across 7 directories with 9 updates
Open about 1 month agoBump the uv group across 11 directories with 10 updates
Open about 1 month agoActions
Advisory Details
| Published: | February 10, 2026 3 months ago |
| Updated: | May 06, 2026 13 days ago |
| CVSS Score: | 8.2 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 |
| EPSS: | 0.01% 1th percentile |
| Source: | Github |
| Classification: | GENERAL |
| UUID: | GSA_kwCzR0hTQS1yNnBoLXYycW0tcTNjMs4ABSLs |
PR Statistics
References
- https://github.com/pyca/cryptography/security/advisories/GHSA-r6ph-v2qm-q3c2
- https://github.com/pyca/cryptography/commit/0eebb9dbb6343d9bc1d91e5a2482ed4e054a6d8c
- https://github.com/pyca/cryptography/releases/tag/46.0.5
- https://nvd.nist.gov/vuln/detail/CVE-2026-26007
- http://www.openwall.com/lists/oss-security/2026/02/10/4
- https://github.com/advisories/GHSA-r6ph-v2qm-q3c2