Skip to content
Heist/ feed
UnratedFix available

ALPINE-CVE-2026-26007

Type: advisorySource: OSV1 source record

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.

Announced Source revision 1
Original source ↗

ALPINE-CVE-2026-26007

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:ALPINE-CVE-2026-26007

py3-cryptography

Source reference: /affected/0/package/name

Affected versions
Not stated in this record
Fixed versions
46.0.5-r0

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

py3-cryptography

Source reference: /affected/1/package/name

Affected versions
Not stated in this record
Fixed versions
46.0.5-r0

Source reference: /affected/1/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "46.0.5-r0"
          }
        ]
      }
    ],
    "package": {
      "name": "py3-cryptography",
      "purl": "pkg:apk/alpine/py3-cryptography?arch=source",
      "ecosystem": "Alpine:v3.23"
    },
    "database_specific": {
      "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-26007.json"
    },
    "ecosystem_specific": {}
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "46.0.5-r0"
          }
        ]
      }
    ],
    "package": {
      "name": "py3-cryptography",
      "purl": "pkg:apk/alpine/py3-cryptography?arch=source",
      "ecosystem": "Alpine:v3.24"
    },
    "database_specific": {
      "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-26007.json"
    },
    "ecosystem_specific": {}
  }
]

Publisher severity

No explicit severity was provided.

Event
#54199 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement