CVE-2013-7459

Exp

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: 2017-02-15 Last update: 2026-05-13 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2013-7459 is rated High Exploit Risk (86.3/100): CVSS Critical severity, with high exploitation likelihood (EPSS 13.62%, 94th percentile). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2013-7459

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2013-7459

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-05-31 14.53% 13.62% -0.91%
2 2026-01-26 15.58% 14.53% -1.05%
3 2026-01-18 15.58%

Full EPSS history (14 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2013-7459

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
9.8 3.0 CRITICAL
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 5.9 [email protected]
7.5 2.0 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
10.0 6.4 [email protected]

Weakness enumeration for CVE-2013-7459

GitHub Security Advisory for CVE-2013-7459

OS Trackers for CVE-2013-7459

vendor priority summary link
gentoo normal CVE-2013-7459: 1 GLSA(s) (201702-14), 1 atom(s) (dev-python/pycrypto); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2013-7459
redhat high https://access.redhat.com/security/cve/CVE-2013-7459
suse medium CVE-2013-7459 severity moderate: SUSE including 240 source package names (amazon/suse-sles-15-sp1-chost-byos-v20210304-hvm-ssd-x86_64, amazon/suse-sles-15-sp1-chost-byos-v20220127-hvm-ssd-x86_64, …), 268 product×package rows across 32 product lines (Container caasp/v4/salt-api, Container caasp/v4/salt-master, … (32 product lines)): Known Affected 231, Fixed 37. https://www.suse.com/security/cve/CVE-2013-7459/
ubuntu medium CVE-2013-7459 medium priority: Ubuntu including 1 source packages (python-crypto), 6 status rows across 6 suites (precise, trusty, upstream, xenial, yakkety, zesty): released 4, ignored 1, not-affected 1. https://ubuntu.com/security/CVE-2013-7459

Affected software / configurations for CVE-2013-7459

Vendor Product Version Raw CPE
dlitz pycrypto <= 2.6.1 cpe:2.3:a:dlitz:pycrypto:*:*:*:*:*:*:*:*
fedoraproject fedora 24 cpe:2.3:o:fedoraproject:fedora:24:*:*:*:*:*:*:*
fedoraproject fedora 25 cpe:2.3:o:fedoraproject:fedora:25:*:*:*:*:*:*:*

References for CVE-2013-7459

URL Tags
http://www.openwall.com/lists/oss-security/2016/12/27/8 Mailing List Third Party Advisory
http://www.securityfocus.com/bid/95122 Third Party Advisory VDB Entry
https://bugzilla.redhat.com/show_bug.cgi?id=1409754 Issue Tracking Third Party Advisory VDB Entry
https://github.com/dlitz/pycrypto/commit/8dbe0dc3eea5c689d4f76b37b93fe216cf1f00d4 Patch
https://github.com/dlitz/pycrypto/issues/176 Patch Vendor Advisory
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
https://security.gentoo.org/glsa/201702-14
cvelogic Threat Intelligence