CVE-2013-7459
CRITICAL 9.8CVSS 3.0Buffer Overflow in pycrypto
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.
- Published
- 15 Feb 2017
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-119
- Also known as
- GHSA-cq27-v7xp-c356PYSEC-2017-94
- Sources
- NVDJSONOSV GHSA-cq27-v7xp-c356JSONOSV PYSEC-2017-94JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | dlitz | pycryptocpe:2.3:a:dlitz:pycrypto:*:*:*:*:*:*:*:* |
<= 2.6.1 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:24:*:*:*:*:*:*:* |
= 24 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:25:*:*:*:*:*:*:* |
= 25 | |
| OSV | PyPI | pycrypto | <= 2.6.1 | |
| OSV | PyPI | pycrypto | all versions |
References
- http://www.openwall.com/lists/oss-security/2016/12/27/8 · Mailing List, Third Party Advisory, WEB
- http://www.securityfocus.com/bid/95122 · Third Party Advisory, VDB Entry, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=1409754 · Issue Tracking, Third Party Advisory, VDB Entry, WEB, REPORT
- https://github.com/dlitz/pycrypto/commit/8dbe0dc3eea5c689d4f76b37b93fe216cf1f00d4 · Patch, WEB, FIX
- https://github.com/dlitz/pycrypto/issues/176 · Patch, Vendor Advisory, WEB, REPORT
- 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:cryptmsg · Exploit, Technical Description, Third Party Advisory, WEB
- https://security.gentoo.org/glsa/201702-14 · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2013-7459 · ADVISORY
- https://github.com/advisories/GHSA-cq27-v7xp-c356 · ADVISORY
- https://github.com/dlitz/pycrypto · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/pycrypto/PYSEC-2017-94.yaml · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/C6BWNADPLKDBBQBUT3P75W7HAJCE7M3B · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RJ37R2YLX56YZABFNAOWV4VTHTGYREAE · WEB
History
- 25 Nov 2026 20:19 UTC · NVD: first stored (published 15 Feb 2017)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 15 Feb 2017)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 14 Dec 2018)