Vulnerabilities / CVE-2013-7459

critical

CVE-2013-7459

pycrypto: Heap-buffer overflow in ALGobject structure

Published Modified CWE 119
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Red Hat (high), Amazon (high), Photon OS (high), Ubuntu (medium).

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.

Affected packages and fixed versions

SourcePackageFixed in
pip::GitHub Security Advisory pippycryptono fix listed
amazon linux 1python-crypto-debuginfo, python26-crypto, python27-crypto2.6.1-1.14.amzn1
debian 7python-crypto2.6-4+deb7u4
debian 8python-crypto2.6.1-5+deb8u1
Photon OS 1.0pycrypto2.6.1-2.ph1
Photon OS 2.0pycrypto2.6.1-3.ph2
Red Hatpython-crypto, python2-cryptono fix listed
ubuntu 14.04python-crypto2.6.1-4ubuntu0.1
ubuntu 14.04-ESMpython-crypto2.6.1-4ubuntu0.1
ubuntu 16.04python-crypto2.6.1-6ubuntu0.16.04.1
ubuntu 16.04-ESMpython-crypto2.6.1-6ubuntu0.16.04.1
ubuntu 16.10python-crypto2.6.1-6ubuntu0.16.10.2
Show all 15 entries from 12 sources
SourcePackageFixed in
pip::GitHub Security Advisory pippycryptono fix listed
amazon linux 1python-crypto-debuginfo2.6.1-1.14.amzn1
amazon linux 1python26-crypto2.6.1-1.14.amzn1
amazon linux 1python27-crypto2.6.1-1.14.amzn1
debian 7python-crypto2.6-4+deb7u4
debian 8python-crypto2.6.1-5+deb8u1
Photon OS 1.0pycrypto2.6.1-2.ph1
Photon OS 2.0pycrypto2.6.1-3.ph2
Red Hatpython-cryptono fix listed
Red Hatpython2-cryptono fix listed
ubuntu 14.04python-crypto2.6.1-4ubuntu0.1
ubuntu 14.04-ESMpython-crypto2.6.1-4ubuntu0.1
ubuntu 16.04python-crypto2.6.1-6ubuntu0.16.04.1
ubuntu 16.04-ESMpython-crypto2.6.1-6ubuntu0.16.04.1
ubuntu 16.10python-crypto2.6.1-6ubuntu0.16.10.2

References

All 20 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.