9.8
CRITICAL CVSS 3.0
CVE-2013-7459
Python Cryptography Toolkit Heap Buffer Overflow Vulnerability
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.

INFO

Published Date :

Feb. 15, 2017, 3:59 p.m.

Last Modified :

April 20, 2025, 1:37 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2013-7459 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Fedoraproject fedora
1 Dlitz pycrypto
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 HIGH [email protected]
CVSS 3.0 CRITICAL [email protected]
Solution
Follow the instructions below to mitigate the CVE-2013-7459 vulnerability.
Run 'yum update python-crypto' to update your system.
Public PoC/Exploit Available at Github

CVE-2013-7459 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2013-7459.

URL Resource
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
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
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2013-7459 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Dockerfile Shell Python

Updated: 6 years, 11 months ago
0 stars 0 fork 0 watcher
Born at : Aug. 2, 2018, 1:05 a.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2013-7459 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2013-7459 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2016/12/27/8
    Added Reference http://www.securityfocus.com/bid/95122
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=1409754
    Added Reference https://github.com/dlitz/pycrypto/commit/8dbe0dc3eea5c689d4f76b37b93fe216cf1f00d4
    Added Reference https://github.com/dlitz/pycrypto/issues/176
    Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C6BWNADPLKDBBQBUT3P75W7HAJCE7M3B/
    Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RJ37R2YLX56YZABFNAOWV4VTHTGYREAE/
    Added Reference https://pony7.fr/ctf:public:32c3:cryptmsg
    Added Reference https://security.gentoo.org/glsa/201702-14
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RJ37R2YLX56YZABFNAOWV4VTHTGYREAE/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C6BWNADPLKDBBQBUT3P75W7HAJCE7M3B/ [No types assigned]
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/RJ37R2YLX56YZABFNAOWV4VTHTGYREAE/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/C6BWNADPLKDBBQBUT3P75W7HAJCE7M3B/
  • CVE Modified by [email protected]

    Jul. 01, 2017

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/201702-14 [No Types Assigned]
  • Initial Analysis by [email protected]

    Feb. 23, 2017

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/dlitz/pycrypto/commit/8dbe0dc3eea5c689d4f76b37b93fe216cf1f00d4 No Types Assigned https://github.com/dlitz/pycrypto/commit/8dbe0dc3eea5c689d4f76b37b93fe216cf1f00d4 Patch
    Changed Reference Type https://pony7.fr/ctf:public:32c3:cryptmsg No Types Assigned https://pony7.fr/ctf:public:32c3:cryptmsg Third Party Advisory, Technical Description, Exploit
    Changed Reference Type http://www.securityfocus.com/bid/95122 No Types Assigned http://www.securityfocus.com/bid/95122 Third Party Advisory, VDB Entry
    Changed Reference Type http://www.openwall.com/lists/oss-security/2016/12/27/8 No Types Assigned http://www.openwall.com/lists/oss-security/2016/12/27/8 Third Party Advisory, Mailing List
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=1409754 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=1409754 Third Party Advisory, VDB Entry, Issue Tracking
    Changed Reference Type https://github.com/dlitz/pycrypto/issues/176 No Types Assigned https://github.com/dlitz/pycrypto/issues/176 Vendor Advisory, Patch
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/C6BWNADPLKDBBQBUT3P75W7HAJCE7M3B/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/C6BWNADPLKDBBQBUT3P75W7HAJCE7M3B/ Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/RJ37R2YLX56YZABFNAOWV4VTHTGYREAE/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/RJ37R2YLX56YZABFNAOWV4VTHTGYREAE/ Third Party Advisory
    Added CWE CWE-119
    Added CPE Configuration OR *cpe:2.3:a:dlitz:pycrypto:2.6.1:*:*:*:*:*:*:* (and previous)
    Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:24:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:25:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 9.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 7.5
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

13.43 }} -4.02%

score

0.93943

percentile