8.2high
cryptography Subgroup Attack Due to Missing Subgroup Validation for SECT Curves
- Severity
- 8.2high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.37% (higher than 32% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-r6ph-v2qm-q3c2PYSEC-2026-2141
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| pyca cryptography | < 46.0.5 | CVE List |
| automation-controller | Not specified Not affected: from 0:4.6.28-3.el8ap before *, from 0:4.6.28-3.el9ap before * | CVE List |
| fence-agents | Not specified Not affected: from 0:4.2.1-129.el8_10.25 before *, from 0:4.10.0-110.el9_8.2 before *, from 0:4.10.0-98.el9_7.12 before *, from 0:4.10.0-43.el9_2.21 before *, from 0:4.10.0-62.el9_4.24 before *, from 0:4.10.0-86.el9_6.16 before * | CVE List |
| ansible-automation-platform-25/lightspeed-rhel8 | Not specified Not affected: from 1774446874 before *, from 1777403872 before * | CVE List |
| ansible-automation-platform-25/lightspeed-chatbot-rhel8 | Not specified Not affected: from 1774414699 before * | CVE List |
| ansible-automation-platform-26/eda-controller-rhel9 | Not specified Not affected: from 1777296732 before * | CVE List |
| ansible-automation-platform-26/lightspeed-chatbot-rhel9 | Not specified Not affected: from 1774417022 before *, from 1777398576 before * | CVE List |
| ansible-automation-platform-26/lightspeed-rhel9 | Not specified Not affected: from 1774363040 before *, from 1777387242 before * | CVE List |
| ansible-automation-platform-26/mcp-tools-rhel9 | Not specified Not affected: from 1777311601 before * | CVE List |
| ansible-automation-platform-26/hub-rhel9 | Not specified Not affected: from 1774644659 before * | CVE List |
| discovery/discovery-server-rhel9 | Not specified Not affected: from 1770913597 before * | CVE List |
| python-cryptography-main | Not specified Not affected: from 46.0.7-1.hum1 before * | CVE List |
| rhoai/odh-feature-server-rhel9 | Not specified Not affected: from 1776338381 before * | CVE List |
| rhoai/odh-kserve-storage-initializer-rhel9 | Not specified Not affected: from 1776343111 before * | CVE List |
| rhoai/odh-pipeline-runtime-datascience-cpu-py312-rhel9 | Not specified Not affected: from 1776257621 before * | CVE List |
| rhoai/odh-pipeline-runtime-minimal-cpu-py312-rhel9 | Not specified Not affected: from 1776413275 before * | CVE List |
| rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9 | Not specified Not affected: from 1776243239 before * | CVE List |
| rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9 | Not specified Not affected: from 1776243238 before * | CVE List |
| rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9 | Not specified Not affected: from 1776243299 before * | CVE List |
| rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9 | Not specified Not affected: from 1776243249 before * | CVE List |
| rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9 | Not specified Not affected: from 1776243309 before * | CVE List |
| rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9 | Not specified Not affected: from 1776336652 before * | CVE List |
| rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9 | Not specified Not affected: from 1776319193 before * | CVE List |
| rhoai/odh-workbench-jupyter-minimal-cpu-py312-rhel9 | Not specified Not affected: from 1776319213 before * | CVE List |
| rhoai/odh-workbench-jupyter-minimal-cuda-py312-rhel9 | Not specified Not affected: from 1776319200 before * | CVE List |
| rhoai/odh-workbench-jupyter-minimal-rocm-py312-rhel9 | Not specified Not affected: from 1776319190 before * | CVE List |
| rhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9 | Not specified Not affected: from 1776319179 before * | CVE List |
| rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9 | Not specified Not affected: from 1776319185 before * | CVE List |
| rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9 | Not specified Not affected: from 1776318795 before * | CVE List |
| rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9 | Not specified Not affected: from 1776319453 before * | CVE List |
| rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9 | Not specified Not affected: from 1776336534 before * | CVE List |
| rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9 | Not specified Not affected: from 1776319275 before * | CVE List |
| quay/quay-rhel8 | Not specified Not affected: from 1773971077 before *, from 1775169219 before *, from 1773936323 before * | CVE List |
| quay/quay-rhel9 | Not specified Not affected: from 1775069491 before *, from 1775169226 before * | CVE List |
| satellite/foreman-mcp-server-rhel9 | Not specified Not affected: from 1780492008 before * | CVE List |
| openshift-lightspeed/lightspeed-ocp-rag-rhel9 | Not specified | CVE List |
| openshift-lightspeed/lightspeed-service-api-rhel9 | Not specified | CVE List |
| rhacm2/volsync-operator-bundle | Not specified | CVE List |
| rhacm2/volsync-rhel9 | Not specified | CVE List |
| ansible-automation-platform-25/ee-supported-rhel8 | Not specified | CVE List |
| ansible-automation-platform-26/controller-rhel9 | Not specified | CVE List |
| ansible-automation-platform-26/ee-supported-rhel9 | Not specified | CVE List |
| ansible-automation-platform-26/gateway-rhel9 | Not specified | CVE List |
| ansible-automation-platform/automation-dashboard-rhel9 | Not specified | CVE List |
| ansible-automation-platform-tech-preview/automation-dashboard-rhel9 | Not specified | CVE List |
| python3.11-cryptography | Not specified | CVE List |
| python3.12-cryptography | Not specified | CVE List |
| ansible-automation-platform/ee-minimal-rhel8 | Not specified | CVE List |
| ansible-automation-platform-tech-preview/ee-minimal-rhel8 | Not specified | CVE List |
| ansible-automation-platform-tech-preview/ee-minimal-rhel9 | Not specified | CVE List |
| python3.14-cryptography | Not specified | CVE List |
| rhoai/odh-kserve-agent-rhel9 | Not specified | CVE List |
| rhoai/odh-kserve-controller-rhel9 | Not specified | CVE List |
| rhoai/odh-kserve-router-rhel9 | Not specified | CVE List |
| rhoai/odh-llama-stack-core-rhel9 | Not specified | CVE List |
| rhoai/odh-trustyai-ragas-lls-provider-dsp-rhel9 | Not specified | CVE List |
| satellite/iop-advisor-engine-rhel9 | Not specified | CVE List |
| satellite/iop-host-inventory-rhel9 | Not specified | CVE List |
| satellite/iop-insights-engine-rhel9 | Not specified | CVE List |
| satellite/iop-vmaas-rhel9 | Not specified | CVE List |
| rhtas/model-transparency-rhel9 | Not specified | CVE List |
| cryptography (PyPI) | before 46.0.5 | GitHub Advisory Database, PyPA Advisory Database |
| cryptography.io cryptography | before 46.0.5 | NVD |
All scores
| GitHub_M | 8.2high CVSS:4.0 | 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 |
| redhat-SADP | 7.4high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| GitHub | high CVSS:4.0 | 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 |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| PyPA Advisory Database | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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
NVD (es)
Criptografía es un paquete diseñado para exponer primitivas criptográficas y recetas a los desarrolladores de Python. Antes de la versión 46.0.5, las funciones public_key_from_numbers (o EllipticCurvePublicNumbers.public_key()), EllipticCurvePublicNumbers.public_key(), load_der_public_key() y load_pem_public_key() no verifican que el punto pertenezca al subgrupo de orden primo esperado de la curva. Esta validación faltante permite a un atacante proporcionar un punto P de clave pública de un subgrupo de orden pequeño. Esto puede llevar a problemas de seguridad en varias situaciones, como la verificación de firma (ECDSA) y la negociación de clave compartida (ECDH) más comúnmente utilizadas. Cuando la víctima calcula el secreto compartido como S = [victim_private_key]P a través de ECDH, esto filtra información sobre victim_private_key mod (orden_subgrupo_pequeño). Para curvas con cofactor > 1, esto revela los bits menos significativos de la clave privada. Cuando estas claves públicas débiles se utilizan en ECDSA, es fácil falsificar firmas en el subgrupo pequeño. Solo las curvas SECT se ven afectadas por esto. Esta vulnerabilidad está corregida en la versión 46.0.5.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-26007 changed 2026-09-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-r6ph-v2qm-q3c2 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-26007 changed 2026-09-10 | Public domain |
| PyPA Advisory Database | PYSEC-2026-2141 changed 2026-07-13 | CC-BY-4.0 |