Description
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.
Metrics
CVSS 3.0 9.8/10
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://www.openwall.com/lists/oss-security/2016/12/27/8Mailing List, Third Party Advisory
- http://www.securityfocus.com/bid/95122Third Party Advisory, VDB Entry
- https://bugzilla.redhat.com/show_bug.cgi?id=1409754Issue Tracking, Third Party Advisory, VDB Entry
- https://github.com/dlitz/pycrypto/commit/8dbe0dc3eea5c689d4f76b37b93fe216cf1f00d4Patch
- https://github.com/dlitz/pycrypto/issues/176Patch, Vendor Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C6BWNADPLKDBBQBUT3P75W7HAJCE7M3B/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RJ37R2YLX56YZABFNAOWV4VTHTGYREAE/
- https://pony7.fr/ctf:public:32c3:cryptmsgExploit, Technical Description, Third Party Advisory
- https://security.gentoo.org/glsa/201702-14
- http://www.openwall.com/lists/oss-security/2016/12/27/8Mailing List, Third Party Advisory
- http://www.securityfocus.com/bid/95122Third Party Advisory, VDB Entry
- https://bugzilla.redhat.com/show_bug.cgi?id=1409754Issue Tracking, Third Party Advisory, VDB Entry
- https://github.com/dlitz/pycrypto/commit/8dbe0dc3eea5c689d4f76b37b93fe216cf1f00d4Patch
- https://github.com/dlitz/pycrypto/issues/176Patch, Vendor Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C6BWNADPLKDBBQBUT3P75W7HAJCE7M3B/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RJ37R2YLX56YZABFNAOWV4VTHTGYREAE/
- https://pony7.fr/ctf:public:32c3:cryptmsgExploit, Technical Description, Third Party Advisory
- https://security.gentoo.org/glsa/201702-14
Timeline
- Published
- Feb 15, 2017
- Last modified
- Jun 17, 2026
- NVD status
- Modified