{"id":"UBUNTU-CVE-2013-7459","details":"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.","modified":"2026-02-04T02:51:41.446770Z","published":"2017-02-15T00:00:00Z","related":["USN-3199-1","USN-3199-2","USN-3199-3"],"upstream":["CVE-2013-7459"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2013-7459"},{"type":"REPORT","url":"https://github.com/dlitz/pycrypto/issues/176"},{"type":"REPORT","url":"https://pony7.fr/ctf:public:32c3:cryptmsg"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3199-2"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3199-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3199-3"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2013-7459"}],"affected":[{"package":{"name":"python-crypto","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/python-crypto@2.6.1-4ubuntu0.1?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.1-4ubuntu0.1"}]}],"versions":["2.6-5","2.6.1-2","2.6.1-2build1","2.6.1-3","2.6.1-4","2.6.1-4build1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"python-crypto","binary_version":"2.6.1-4ubuntu0.1"},{"binary_name":"python3-crypto","binary_version":"2.6.1-4ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2013/UBUNTU-CVE-2013-7459.json"}},{"package":{"name":"python-crypto","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/python-crypto@2.6.1-6ubuntu0.16.04.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.1-6ubuntu0.16.04.1"}]}],"versions":["2.6.1-5build1","2.6.1-6","2.6.1-6build1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"python-crypto","binary_version":"2.6.1-6ubuntu0.16.04.1"},{"binary_name":"python3-crypto","binary_version":"2.6.1-6ubuntu0.16.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2013/UBUNTU-CVE-2013-7459.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}