Heap-based buffer overflow in the ALGnew function in block_templace.c in Python Cryptography Toolkit (aka pycrypto) allows remote attackers to execute arbitrary code as demonstrated by a crafted iv parameter to cryptmsg.py.
"https://github.com/pypa/advisory-database/blob/main/vulns/pycrypto/PYSEC-2017-94.yaml"