Your submission was sent successfully! Close

USN-3199-3: Python Crypto vulnerability

28 August 2017

Programs using the Python Cryptography Toolkit could be made to crash or run programs if they receive specially crafted network traffic or other input.



  • python-crypto - cryptographic algorithms and protocols for Python


USN-3199-1 fixed a vulnerability in Python Crypto. This update
provides the corresponding update for Ubuntu 12.04 ESM.

Original advisory details:

It was discovered that the ALGnew function in block_templace.c in the Python
Cryptography Toolkit contained a heap-based buffer overflow vulnerability.
A remote attacker could use this flaw to execute arbitrary code by using
a crafted initialization vector parameter.

Update instructions

The problem can be corrected by updating your system to the following package versions:

Ubuntu 12.04

In general, a standard system update will make all the necessary changes.


Related notices

  • USN-3199-2: python3-crypto, python-crypto-doc, python-crypto
  • USN-3199-1: python3-crypto, python-crypto-doc, python-crypto