CVE-2013-7338
CVE-2013-7338 is a high-severity vulnerability in Python with a CVSS 2.0 base score of 7.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-20.
Key facts
- Severity: High (CVSS 2.0 base score 7.1)
- EPSS exploit prediction: 5% (91st percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-20
- Affected product: Python
- Published:
- Last modified:
Description
Python before 3.3.4 RC1 allows remote attackers to cause a denial of service (infinite loop and CPU consumption) via a file size value larger than the size of the zip file to the (1) ZipExtFile.read, (2) ZipExtFile.read(n), (3) ZipExtFile.readlines, (4) ZipFile.extract, or (5) ZipFile.extractall function.
Frequently asked questions
- What is CVE-2013-7338?
- Python before 3.3.4 RC1 allows remote attackers to cause a denial of service (infinite loop and CPU consumption) via a file size value larger than the size of the zip file to the (1) ZipExtFile.read, (2) ZipExtFile.read(n), (3) ZipExtFile.readlines, (4) ZipFile.extract, or (5) ZipFile.extractall function.
- How severe is CVE-2013-7338?
- CVE-2013-7338 has a CVSS 2.0 base score of 7.1, rated high severity.
- Is CVE-2013-7338 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 5% (91st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2013-7338?
- CVE-2013-7338 primarily affects Python. In total, 17 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2013-7338?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2013-7338 published?
- CVE-2013-7338 was published on 2014-04-22 and last updated on 2026-06-17.
References
- http://bugs.python.org/issue20078
- http://hg.python.org/cpython/rev/79ea4ce431b1
- http://lists.apple.com/archives/security-announce/2015/Aug/msg00001.html
- http://lists.opensuse.org/opensuse-updates/2014-05/msg00008.html
- http://seclists.org/oss-sec/2014/q1/592
- http://seclists.org/oss-sec/2014/q1/595
- http://www.securityfocus.com/bid/65179
- http://www.securitytracker.com/id/1029973
- https://docs.python.org/3.3/whatsnew/changelog.html
- https://security.gentoo.org/glsa/201503-10
- https://support.apple.com/kb/HT205031
Affected products (17)
- cpe:2.3:a:python:python:3.3.0:-:*:*:*:*:*:*
- cpe:2.3:a:python:python:3.3.0:alpha1:*:*:*:*:*:*
- cpe:2.3:a:python:python:3.3.0:alpha2:*:*:*:*:*:*
- cpe:2.3:a:python:python:3.3.0:alpha3:*:*:*:*:*:*
- cpe:2.3:a:python:python:3.3.0:alpha4:*:*:*:*:*:*
- cpe:2.3:a:python:python:3.3.0:beta1:*:*:*:*:*:*
- cpe:2.3:a:python:python:3.3.0:beta2:*:*:*:*:*:*
- cpe:2.3:a:python:python:3.3.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:python:python:3.3.0:rc2:*:*:*:*:*:*
- cpe:2.3:a:python:python:3.3.0:rc3:*:*:*:*:*:*
- cpe:2.3:a:python:python:3.3.1:-:*:*:*:*:*:*
- cpe:2.3:a:python:python:3.3.1:rc1:*:*:*:*:*:*
- cpe:2.3:a:python:python:3.3.2:*:*:*:*:*:*:*
- cpe:2.3:a:python:python:3.3.3:*:*:*:*:*:*:*
- cpe:2.3:a:python:python:3.3.3:rc1:*:*:*:*:*:*
- cpe:2.3:a:python:python:3.3.3:rc2:*:*:*:*:*:*
- cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:*
More vulnerabilities in Python
- CVE-2008-5031 — Critical (CVSS 10.0): Multiple integer overflows in Python 2.2.3 through 2.5.1, and 2.6, allow context-dependent attackers to have an unknown…
- CVE-2022-48565 — Critical (CVSS 9.8): An XML External Entity (XXE) issue was discovered in Python through 3.9.1. The plistlib module no longer accepts entity…
- CVE-2022-37454 — Critical (CVSS 9.8): The Keccak XKCP SHA-3 reference implementation before fdc6fef has an integer overflow and resultant buffer overflow…
- CVE-2021-29921 — Critical (CVSS 9.8): In Python before 3,9,5, the ipaddress library mishandles leading zero characters in the octets of an IP address string.…
- CVE-2021-3177 — Critical (CVSS 9.8): Python 3.x through 3.9.1 has a buffer overflow in PyCArg_repr in _ctypes/callproc.c, which may lead to remote code…
- CVE-2020-27619 — Critical (CVSS 9.8): In Python 3 through 3.9.0, the Lib/test/multibytecodec_support.py CJK codec tests call eval() on content retrieved via…
Other CWE-20 (Improper Input Validation) vulnerabilities
- CVE-2026-48316 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Input Validation vulnerability that could…
- CVE-2026-48281 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Input Validation vulnerability that could…
- CVE-2026-48277 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Input Validation vulnerability that could…
- CVE-2026-48055 — Critical (CVSS 10.0): Streambert is a cross-platform Electron Desktop App to stream and download any video media. In versions 2.4.0 and…
- CVE-2026-34910 — Critical (CVSS 10.0): A malicious actor with access to the network could exploit an Improper Input Validation vulnerability found in UniFi OS…
- CVE-2026-33587 — Critical (CVSS 10.0): Lack of user input sanitisation in Open Notebook v1.8.3 allows the application user to execute Python code (and…
Browse all CWE-20 (Improper Input Validation) vulnerabilities →