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://security.gentoo.org/glsa/201702-14
https://github.com/dlitz/pycrypto/issues/176
https://github.com/dlitz/pycrypto/commit/8dbe0dc3eea5c689d4f76b37b93fe216cf1f00d4
https://bugzilla.redhat.com/show_bug.cgi?id=1409754