CVE-2013-7459Dlitz Pycrypto
Critical 9.8 No auth needed
Follow: this CVE · Dlitz · Dlitz Pycrypto We alert you by email or Slack (account required).
- Priority
- 75
- CVSS 3.0
- 9.8
- EPSS
- 9.5% probability of exploitation in 30 days · percentile 96
- Auth required
- No
- Published
- Feb 15, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-119
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Pycrypto.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | pycrypto |
≤ 2.6.1 |
no fixed version | — |
| PyPI | pycrypto |
all |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-cq27-v7xp-c356, PYSEC-2017-94). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| dlitz | pycrypto | ≤ 2.6.1 |
| fedoraproject | fedora | 24 |
| fedoraproject | fedora | 25 |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List Third Party Advisory
- www.securityfocus.com Third Party Advisory VDB Entry
- bugzilla.redhat.com Issue Tracking Third Party Advisory VDB Entry
- github.com Patch
- github.com Patch Vendor Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- pony7.fr Exploit Technical Description Third Party Advisory
- security.gentoo.org