# CVE-2013-7459

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2017-02-15 · Modified: 2024-08-06
- Aliases: MGASA-2017-0032, SUSE-SU-2017:1744-1, SUSE-SU-2017:2350-1, GHSA-cq27-v7xp-c356, PYSEC-2017-94, UBUNTU-CVE-2013-7459, USN-3199-1, USN-3199-2, DLA-773-1
- Record: https://cvemate.com/vulnerability/CVE-2013-7459 · JSON: https://cvemate.com/vulnerability/CVE-2013-7459/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 9.501%, percentile 95.575%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected (first 20 of 24)

- debian python-crypto (Debian): \< 2.6-4+deb7u4
- ubuntu python-crypto (Ubuntu): \< 2.6.1-4ubuntu0.2 \| \< 2.6.1-6ubuntu0.16.04.2 \| \< 2.6.1-4ubuntu0.1 \| \< 2.6.1-6ubuntu0.16.04.1
- dlitz pycrypto: ≤ 2.6.1
- fedoraproject fedora: 24 \| 25
- mageia python-pycrypto (Mageia): \< 2.6.1-6.1.mga5
- PyPI pycrypto (PyPI): ≤ 2.6.1 \| \< 8dbe0dc3eea5c689d4f76b37b93fe216cf1f00d4 \| All versions (No fix recorded)
- suse python-paramiko&distro=SUSE Enterprise Storage 3 (SUSE Linux Enterprise): \< 1.15.2-2.3.1
- suse python-paramiko&distro=SUSE Linux Enterprise Module for Public Cloud 12 (SUSE Linux Enterprise): \< 1.15.2-2.6.1
- suse python-paramiko&distro=SUSE OpenStack Cloud 6 (SUSE Linux Enterprise): \< 1.15.2-2.3.1
- suse python-pycrypto&distro=SUSE Enterprise Storage 3 (SUSE Linux Enterprise): \< 2.6.1-10.3.1
- suse python-pycrypto&distro=SUSE Enterprise Storage 4 (SUSE Linux Enterprise): \< 2.6.1-10.3.1
- suse python-pycrypto&distro=SUSE Linux Enterprise Module for Advanced Systems Management 12 (SUSE Linux Enterprise): \< 2.6.1-10.3.1
- suse python-pycrypto&distro=SUSE Linux Enterprise Module for Public Cloud 12 (SUSE Linux Enterprise): \< 2.6.1-10.3.1
- suse python-pycrypto&distro=SUSE Linux Enterprise Module for Web and Scripting 12 (SUSE Linux Enterprise): \< 2.6.1-10.3.1
- suse python-pycrypto&distro=SUSE Linux Enterprise Point of Sale 12 SP2 (SUSE Linux Enterprise): \< 2.6.1-10.3.1
- suse python-pycrypto&distro=SUSE Linux Enterprise Server 11 SP3-CLIENT-TOOLS (SUSE Linux Enterprise): \< 2.6.1-5.1
- suse python-pycrypto&distro=SUSE Linux Enterprise Server 11 SP4-CLIENT-TOOLS (SUSE Linux Enterprise): \< 2.6.1-5.1
- suse python-pycrypto&distro=SUSE Manager Client Tools 12 (SUSE Linux Enterprise): \< 2.6.1-10.3.1
- suse python-pycrypto&distro=SUSE Manager Proxy 3.0 (SUSE Linux Enterprise): \< 2.6.1-10.3.1
- suse python-pycrypto&distro=SUSE Manager Proxy 3.1 (SUSE Linux Enterprise): \< 2.6.1-10.3.1

## References (first 20 of 31)

- <https://bugzilla.redhat.com/show_bug.cgi?id=1409754>
- <https://pony7.fr/ctf:public:32c3:cryptmsg>
- <http://www.openwall.com/lists/oss-security/2016/12/27/8>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RJ37R2YLX56YZABFNAOWV4VTHTGYREAE/>
- <https://github.com/dlitz/pycrypto/issues/176>
- <http://www.securityfocus.com/bid/95122>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C6BWNADPLKDBBQBUT3P75W7HAJCE7M3B/>
- <https://security.gentoo.org/glsa/201702-14>
- <https://github.com/dlitz/pycrypto/commit/8dbe0dc3eea5c689d4f76b37b93fe216cf1f00d4>
- <https://advisories.mageia.org/MGASA-2017-0032.html>
- <https://bugs.mageia.org/show_bug.cgi?id=20031>
- <http://openwall.com/lists/oss-security/2016/12/27/8>
- <https://marc.info/?l=oss-security&m=148280482630855&w=2>
- <https://www.suse.com/support/update/announcement/2017/suse-su-20171744-1/>
- <https://bugzilla.suse.com/1017420>
- <https://www.suse.com/security/cve/CVE-2013-7459>
- <https://www.suse.com/support/update/announcement/2017/suse-su-20172350-1/>
- <https://bugzilla.suse.com/1047666>
- <https://nvd.nist.gov/vuln/detail/CVE-2013-7459>
- <https://github.com/advisories/GHSA-cq27-v7xp-c356>

---

Data as of 2026-12-05T09:34:17.933Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
