python-cryptography vulnerability
Published: Tue, 28 Apr 2026 11:04
Summary
python-cryptography could be made to expose sensitive information over the network.
Details
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.
Recommended actions per Ubuntu release
StackPatch playbook auto-generated per release codename and per affected package.
Ubuntu bionic
python-cryptography→2.1.4-1ubuntu1.4+esm3apt_upgradeStandard apt upgrade. Install 2.1.4-1ubuntu1.4+esm3 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y python-cryptography
Most apt upgrades restart their service automatically. needrestart lists anything else.
python-cryptography→2.1.4-1ubuntu1.4+esm3apt_upgradeStandard apt upgrade. Install 2.1.4-1ubuntu1.4+esm3 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y python-cryptography
Most apt upgrades restart their service automatically. needrestart lists anything else.
python-cryptography-doc→2.1.4-1ubuntu1.4+esm3apt_upgradeStandard apt upgrade. Install 2.1.4-1ubuntu1.4+esm3 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y python-cryptography-doc
Most apt upgrades restart their service automatically. needrestart lists anything else.
python3-cryptography→2.1.4-1ubuntu1.4+esm3apt_upgradeStandard apt upgrade. Install 2.1.4-1ubuntu1.4+esm3 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y python3-cryptography
Most apt upgrades restart their service automatically. needrestart lists anything else.
Ubuntu focal
python-cryptography→2.8-3ubuntu0.3+esm2apt_upgradeStandard apt upgrade. Install 2.8-3ubuntu0.3+esm2 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y python-cryptography
Most apt upgrades restart their service automatically. needrestart lists anything else.
python-cryptography→2.8-3ubuntu0.3+esm2apt_upgradeStandard apt upgrade. Install 2.8-3ubuntu0.3+esm2 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y python-cryptography
Most apt upgrades restart their service automatically. needrestart lists anything else.
python-cryptography-doc→2.8-3ubuntu0.3+esm2apt_upgradeStandard apt upgrade. Install 2.8-3ubuntu0.3+esm2 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y python-cryptography-doc
Most apt upgrades restart their service automatically. needrestart lists anything else.
python3-cryptography→2.8-3ubuntu0.3+esm2apt_upgradeStandard apt upgrade. Install 2.8-3ubuntu0.3+esm2 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y python3-cryptography
Most apt upgrades restart their service automatically. needrestart lists anything else.
Ubuntu xenial
python-cryptography→1.2.3-1ubuntu0.3+esm3apt_upgradeStandard apt upgrade. Install 1.2.3-1ubuntu0.3+esm3 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y python-cryptography
Most apt upgrades restart their service automatically. needrestart lists anything else.
python-cryptography→1.2.3-1ubuntu0.3+esm3apt_upgradeStandard apt upgrade. Install 1.2.3-1ubuntu0.3+esm3 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y python-cryptography
Most apt upgrades restart their service automatically. needrestart lists anything else.
python-cryptography-doc→1.2.3-1ubuntu0.3+esm3apt_upgradeStandard apt upgrade. Install 1.2.3-1ubuntu0.3+esm3 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y python-cryptography-doc
Most apt upgrades restart their service automatically. needrestart lists anything else.
python3-cryptography→1.2.3-1ubuntu0.3+esm3apt_upgradeStandard apt upgrade. Install 1.2.3-1ubuntu0.3+esm3 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y python3-cryptography
Most apt upgrades restart their service automatically. needrestart lists anything else.
Are YOU affected by USN-8087-3?
5-second check on your actual server. Reads /etc/os-release, uname -r, and dpkg-query; matches against the live USN + Debian Security Tracker feeds; tells you whether USN-8087-3 (and any other live CVE) applies. Anonymous, no signup.
curl https://mindsparkstack.com/scan.sh | bash
StackPatch runs this match against YOUR installed packages every hour
Free 1-server / $99 lifetime founder seat (50 only) / $19+/mo monthly. Indie pricing.