{"id":"CVE-2013-7338","aliases":["EUVD-2013-7111","GHSA-hr8p-cf7x-v483","MGASA-2014-0140","PSF-2014-3","UBUNTU-CVE-2013-7338"],"status":"published","title":"Python before 3.3.4 RC1 allows remote attackers to cause a denial of service (infinite loop and...","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.","severity":{"version":"2.0","score":7.1,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.05055,"percentile":0.92366,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2014-03-24T07:40:10Z","modified":"2026-06-17T00:01:47Z","fixes":[{"ecosystem":"Mageia:3","package":"python3","fixed_in":["3.3.0-4.7.mga3"],"sources":["osv"]},{"ecosystem":"Mageia:4","package":"python3","fixed_in":["3.3.2-13.2.mga4"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Mageia:3","package":"python3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.0-4.7.mga3"}]}]},{"source":"osv","ecosystem":"Mageia:4","package":"python3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.2-13.2.mga4"}]}]}],"products":[{"vendor":"apple","product":"mac_os_x"},{"vendor":"python","product":"python"}],"references":[{"url":"http://seclists.org/oss-sec/2014/q1/592","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory"]},{"url":"http://www.securityfocus.com/bid/65179","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry"]},{"url":"http://lists.opensuse.org/opensuse-updates/2014-05/msg00008.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Mailing List","Third Party Advisory"]},{"url":"http://hg.python.org/cpython/rev/79ea4ce431b1","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Patch","Vendor Advisory"]},{"url":"https://security.gentoo.org/glsa/201503-10","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory"]},{"url":"http://lists.apple.com/archives/security-announce/2015/Aug/msg00001.html","tags":["vendor-advisory","x_refsource_APPLE","x_transferred","Mailing List"]},{"url":"http://bugs.python.org/issue20078","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Patch","Vendor Advisory","report"]},{"url":"http://seclists.org/oss-sec/2014/q1/595","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory"]},{"url":"https://support.apple.com/kb/HT205031","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory"]},{"url":"http://www.securitytracker.com/id/1029973","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","Third Party Advisory","VDB Entry"]},{"url":"https://docs.python.org/3.3/whatsnew/changelog.html","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-7338"},{"url":"https://github.com/advisories/GHSA-hr8p-cf7x-v483"},{"url":"https://advisories.mageia.org/MGASA-2014-0140.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=13052","tags":["report"]},{"url":"http://openwall.com/lists/oss-security/2014/03/19/3","tags":["web"]},{"url":"https://bugs.python.org/issue20078","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2013-7338","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2013-7338","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2013-7338","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.","status":"published","published":"2014-04-22T14:00:00Z","modified":"2024-08-06T18:01:20.402Z","updated_at":"2026-11-02T14:34:58.882751Z"}],"euvd":[{"id":"EUVD-2013-7111","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.","status":"published","published":"2014-04-22T14:00:00Z","modified":"2024-08-06T18:01:20Z","updated_at":"2026-11-03T01:56:23.526026Z"}],"ghsa":[{"id":"GHSA-hr8p-cf7x-v483","title":"Python before 3.3.4 RC1 allows remote attackers to cause a denial of service (infinite loop and...","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.","status":"published","published":"2022-05-14T00:53:49Z","modified":"2023-02-02T05:02:46Z","cwes":["CWE-20"],"updated_at":"2026-11-02T14:51:30.862811Z"}],"nvd":[{"id":"CVE-2013-7338","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.","status":"published","published":"2014-04-22T14:23:34.893Z","modified":"2026-06-17T00:01:47.027Z","cvss":[{"version":"2.0","score":7.1,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:02:50.049023Z"}],"osv":[{"id":"MGASA-2014-0140","title":"Updated python3 package fixes security vulnerabilities","description":"ZipExtFile.read goes into 100% CPU infinite loop on maliciously binary\nedited zips (CVE-2013-7338).\n","status":"published","published":"2014-03-24T07:40:10Z","modified":"2026-04-16T06:23:41.045878048Z","updated_at":"2026-11-02T15:49:39.121227Z"},{"id":"PSF-2014-3","title":"zipfile DoS using invalid file size","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.","status":"published","published":"2014-04-22T14:00:00Z","modified":"2025-10-09T00:57:07.429011Z","updated_at":"2026-11-02T15:52:50.263679Z"},{"id":"UBUNTU-CVE-2013-7338","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.","status":"withdrawn","published":"2014-04-22T14:23:00Z","modified":"2025-07-16T07:31:32.278185Z","updated_at":"2026-11-02T15:54:07.421078Z"}]}}
