BREW-CRYPTOGRAPHY-CVE-20… (CVE-2026-26007)

Vulnerability from osv_homebrew – Published: 2026-08-13 16:41 – Updated: 2026-09-09 23:49 – Source website
VLAI
Summary
cryptography Subgroup Attack Due to Missing Subgroup Validation for SECT Curves
Details

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
http://www.openwall.com/lists/oss-security/2026/02/10/4 WEB
https://security.access.redhat.com/data/csaf/v2/v… WEB
https://access.redhat.com/errata/RHSA-2026:10184 ADVISORY
https://access.redhat.com/errata/RHSA-2026:12176 ADVISORY
https://access.redhat.com/errata/RHSA-2026:13512 ADVISORY
https://access.redhat.com/errata/RHSA-2026:13545 ADVISORY
https://access.redhat.com/errata/RHSA-2026:13553 ADVISORY
https://access.redhat.com/errata/RHSA-2026:13672 ADVISORY
https://access.redhat.com/errata/RHSA-2026:19355 ADVISORY
https://access.redhat.com/errata/RHSA-2026:21431 ADVISORY
https://access.redhat.com/errata/RHSA-2026:21517 ADVISORY
https://access.redhat.com/errata/RHSA-2026:22330 ADVISORY
https://access.redhat.com/errata/RHSA-2026:22993 ADVISORY
https://access.redhat.com/errata/RHSA-2026:2694 ADVISORY
https://access.redhat.com/errata/RHSA-2026:5168 ADVISORY
https://access.redhat.com/errata/RHSA-2026:5665 ADVISORY
https://access.redhat.com/errata/RHSA-2026:6308 ADVISORY
https://access.redhat.com/errata/RHSA-2026:6309 ADVISORY
https://access.redhat.com/errata/RHSA-2026:6497 ADVISORY
https://access.redhat.com/errata/RHSA-2026:6567 ADVISORY
https://access.redhat.com/errata/RHSA-2026:6568 ADVISORY
https://access.redhat.com/errata/RHSA-2026:7295 ADVISORY
https://access.redhat.com/security/cve/CVE-2026-26007 ADVISORY
https://github.com/CVEProject/cvelistV5/tree/main… ADVISORY
https://github.com/pyca/cryptography/security/adv… ADVISORY
https://nvd.nist.gov/vuln/detail/CVE-2026-26007 ADVISORY
https://bugzilla.redhat.com/show_bug.cgi?id=2438762 REPORT
https://github.com/pyca/cryptography/commit/0eebb… FIX

{
  "affected": [
    {
      "ecosystem_specific": {
        "fix": "bump",
        "range_state": "fixed",
        "upstream_fixed_in": "46.0.5"
      },
      "package": {
        "ecosystem": "Homebrew",
        "name": "cryptography",
        "purl": "pkg:brew/cryptography"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "50.0.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "confidence": "high",
    "source": "matched",
    "strategy": "git",
    "upstream_evidence": [
      {
        "ecosystem": "GIT",
        "key": "https://github.com/pyca/cryptography",
        "name": "https://github.com/pyca/cryptography",
        "strategy": "git",
        "subject_version": "50.0.1"
      },
      {
        "ecosystem": "PyPI",
        "key": "pkg:pypi/cryptography@50.0.1",
        "name": "cryptography",
        "strategy": "registry",
        "subject_version": "50.0.1"
      }
    ]
  },
  "details": "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 \u003e 1, this reveals the least significant bits of the private key. When these weak public keys are used in ECDSA , it\u0027s easy to forge signatures on the small subgroup. Only SECT curves are impacted by this. This vulnerability is fixed in 46.0.5.",
  "id": "BREW-cryptography-CVE-2026-26007",
  "modified": "2026-09-09T23:49:07Z",
  "published": "2026-08-13T16:41:16Z",
  "references": [
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2026/02/10/4"
    },
    {
      "type": "WEB",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-26007.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:10184"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:12176"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:13512"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:13545"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:13553"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:13672"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:19355"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:21431"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:21517"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:22330"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:22993"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:2694"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:5168"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:5665"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:6308"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:6309"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:6497"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:6567"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:6568"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:7295"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/security/cve/CVE-2026-26007"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/26xxx/CVE-2026-26007.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/pyca/cryptography/security/advisories/GHSA-r6ph-v2qm-q3c2"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-26007"
    },
    {
      "type": "REPORT",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2438762"
    },
    {
      "type": "FIX",
      "url": "https://github.com/pyca/cryptography/commit/0eebb9dbb6343d9bc1d91e5a2482ed4e054a6d8c"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "cryptography Subgroup Attack Due to Missing Subgroup Validation for SECT Curves",
  "upstream": [
    "CVE-2026-26007",
    "GHSA-r6ph-v2qm-q3c2",
    "PYSEC-2026-2141"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…