Skip to content
Heist/ feed
Back to feed
UnratedFix available

python-cryptography vulnerability

Type: advisorySources: OSV

USN-8087-1 fixed a vulnerability in python-cryptography. This update provides the corresponding update to Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu 20.04 LTS. Original advisory details: It was discovered that python-cryptography incorrectly handled subgroup validation for SECT curves. A remote attacker could use this issue to perform a subgroup attack and possibly recover the least significant bits of private keys.

Products
python-cryptography
Affected versions
1.0.1-1ubuntu1, 1.0.2-1, 1.1-1, 1.1.1-1, 1.1.1-1ubuntu1, 1.1.1-1ubuntu2, 1.1.1-1ubuntu3, 1.2.2-2, 1.2.3-1, 1.2.3-1ubuntu0.1, 1.2.3-1ubuntu0.2, 1.2.3-1ubuntu0.3, 1.2.3-1ubuntu0.3+esm1, 1.9-1, 2.1.3-3, 2.1.4-1, 2.1.4-1build1, 2.1.4-1build2, 2.1.4-1ubuntu1, 2.1.4-1ubuntu1.1, 2.1.4-1ubuntu1.2, 2.1.4-1ubuntu1.3, 2.1.4-1ubuntu1.4, 2.1.4-1ubuntu1.4+esm1, 2.6.1-3.1, 2.6.1-4, 2.6.1-4ubuntu1, 2.8-1ubuntu2, 2.8-2, 2.8-3, 2.8-3ubuntu0.1, 2.8-3ubuntu0.2, 2.8-3ubuntu0.3
Fixed versions
1.2.3-1ubuntu0.3+esm3, 2.1.4-1ubuntu1.4+esm3, 2.8-3ubuntu0.3+esm2
CVEs
CVE-2026-26007
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 17:16 UTC · Revision 1

Source evidence

python-cryptography vulnerability

core-osv · Original source

Published 28 Apr 2026, 11:04 UTC

USN-8087-1 fixed a vulnerability in python-cryptography. This update provides the corresponding update to Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu 20.04 LTS. Original advisory details: It was discovered that python-cryptography incorrectly handled subgroup validation for SECT curves. A remote attacker could use this issue to perform a subgroup attack and possibly recover the least significant bits of private keys.

osv:USN-8087-3

python-cryptography

Fixed versions: 1.2.3-1ubuntu0.3+esm3

python-cryptography

Fixed versions: 2.1.4-1ubuntu1.4+esm3

python-cryptography

Fixed versions: 2.8-3ubuntu0.3+esm2

Complete source record
{
  "id": "34a8156a5753c6216a6f1e8a76eb76c7226411e3a227245cbd80ae74cad7ee17",
  "url": "https://osv.dev/vulnerability/USN-8087-3",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "python-cryptography vulnerability",
    "summary": "USN-8087-1 fixed a vulnerability in python-cryptography. This update provides the corresponding update to Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu 20.04 LTS. Original advisory details: It was discovered that python-cryptography incorrectly handled subgroup validation for SECT curves. A remote attacker could use this issue to perform a subgroup attack and possibly recover the least significant bits of private keys.",
    "evidence": "osv:USN-8087-3",
    "products": [
      {
        "name": {
          "value": "python-cryptography",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.2.3-1ubuntu0.3+esm3",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "1.0.1-1ubuntu1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.0.2-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.1-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.1.1-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.1.1-1ubuntu1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.1.1-1ubuntu2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.1.1-1ubuntu3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.2.2-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.2.3-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.2.3-1ubuntu0.1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.2.3-1ubuntu0.2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.2.3-1ubuntu0.3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.2.3-1ubuntu0.3+esm1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-cryptography",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.1.4-1ubuntu1.4+esm3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "1.9-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.1.3-3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.1.4-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.1.4-1build1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.1.4-1build2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.1.4-1ubuntu1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.1.4-1ubuntu1.1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.1.4-1ubuntu1.2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.1.4-1ubuntu1.3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.1.4-1ubuntu1.4",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.1.4-1ubuntu1.4+esm1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-cryptography",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.8-3ubuntu0.3+esm2",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "2.6.1-3.1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.6.1-4",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.6.1-4ubuntu1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.8-1ubuntu2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.8-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.8-3",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.8-3ubuntu0.1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.8-3ubuntu0.2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.8-3ubuntu0.3",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "USN-8087-3",
      "aliases": [
        "USN-8087-3"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.2.3-1ubuntu0.3+esm3"
                }
              ]
            }
          ],
          "package": {
            "name": "python-cryptography",
            "purl": "pkg:deb/ubuntu/python-cryptography?arch=source&distro=esm-infra%2Fxenial",
            "ecosystem": "Ubuntu:Pro:16.04:LTS"
          },
          "versions": [
            "1.0.1-1ubuntu1",
            "1.0.2-1",
            "1.1-1",
            "1.1.1-1",
            "1.1.1-1ubuntu1",
            "1.1.1-1ubuntu2",
            "1.1.1-1ubuntu3",
            "1.2.2-2",
            "1.2.3-1",
            "1.2.3-1ubuntu0.1",
            "1.2.3-1ubuntu0.2",
            "1.2.3-1ubuntu0.3",
            "1.2.3-1ubuntu0.3+esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8087-3.json",
            "cves_map": {
              "cves": [
                {
                  "id": "CVE-2026-26007",
                  "severity": [
                    {
                      "type": "CVSS_V4",
                      "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_V3",
                      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
                    },
                    {
                      "type": "CVSS_V3",
                      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"
                    },
                    {
                      "type": "Ubuntu",
                      "score": "medium"
                    }
                  ]
                }
              ],
              "ecosystem": "Ubuntu:Pro:16.04:LTS"
            }
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python-cryptography",
                "binary_version": "1.2.3-1ubuntu0.3+esm3"
              },
              {
                "binary_name": "python3-cryptography",
                "binary_version": "1.2.3-1ubuntu0.3+esm3"
              }
            ],
            "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.1.4-1ubuntu1.4+esm3"
                }
              ]
            }
          ],
          "package": {
            "name": "python-cryptography",
            "purl": "pkg:deb/ubuntu/python-cryptography?arch=source&distro=esm-infra%2Fbionic",
            "ecosystem": "Ubuntu:Pro:18.04:LTS"
          },
          "versions": [
            "1.9-1",
            "2.1.3-3",
            "2.1.4-1",
            "2.1.4-1build1",
            "2.1.4-1build2",
            "2.1.4-1ubuntu1",
            "2.1.4-1ubuntu1.1",
            "2.1.4-1ubuntu1.2",
            "2.1.4-1ubuntu1.3",
            "2.1.4-1ubuntu1.4",
            "2.1.4-1ubuntu1.4+esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8087-3.json",
            "cves_map": {
              "cves": [
                {
                  "id": "CVE-2026-26007",
                  "severity": [
                    {
                      "type": "CVSS_V4",
                      "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_V3",
                      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
                    },
                    {
                      "type": "CVSS_V3",
                      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"
                    },
                    {
                      "type": "Ubuntu",
                      "score": "medium"
                    }
                  ]
                }
              ],
              "ecosystem": "Ubuntu:Pro:18.04:LTS"
            }
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python-cryptography",
                "binary_version": "2.1.4-1ubuntu1.4+esm3"
              },
              {
                "binary_name": "python3-cryptography",
                "binary_version": "2.1.4-1ubuntu1.4+esm3"
              }
            ],
            "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.8-3ubuntu0.3+esm2"
                }
              ]
            }
          ],
          "package": {
            "name": "python-cryptography",
            "purl": "pkg:deb/ubuntu/python-cryptography?arch=source&distro=esm-infra%2Ffocal",
            "ecosystem": "Ubuntu:Pro:20.04:LTS"
          },
          "versions": [
            "2.6.1-3.1",
            "2.6.1-4",
            "2.6.1-4ubuntu1",
            "2.8-1ubuntu2",
            "2.8-2",
            "2.8-3",
            "2.8-3ubuntu0.1",
            "2.8-3ubuntu0.2",
            "2.8-3ubuntu0.3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8087-3.json",
            "cves_map": {
              "cves": [
                {
                  "id": "CVE-2026-26007",
                  "severity": [
                    {
                      "type": "CVSS_V4",
                      "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_V3",
                      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
                    },
                    {
                      "type": "CVSS_V3",
                      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"
                    },
                    {
                      "type": "Ubuntu",
                      "score": "medium"
                    }
                  ]
                }
              ],
              "ecosystem": "Ubuntu:Pro:20.04:LTS"
            }
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python-cryptography",
                "binary_version": "2.8-3ubuntu0.3+esm2"
              },
              {
                "binary_name": "python3-cryptography",
                "binary_version": "2.8-3ubuntu0.3+esm2"
              }
            ],
            "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"
          }
        }
      ],
      "modified": "2026-10-27T04:16:48.535455069Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-26007",
        "UBUNTU-CVE-2026-26007"
      ],
      "references": [
        "https://ubuntu.com/security/notices/USN-8087-3",
        "https://ubuntu.com/security/CVE-2026-26007"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-26007",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 460208,
  "published_at": "2026-04-28T11:04:02+00:00"
}