CVE-2016-5636 is an integer-overflow vulnerability in CPython's zipimport implementation, specifically the get_data function in zipimport.c. A ZIP archive containing a negative data-size value can cause an arithmetic error that results in a heap-based buffer overflow during processing. Affected versions are CPython before 2.7.12, Python 3 releases before 3.4.5, and Python 3.5.x before 3.5.2.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository provides a proof-of-concept (PoC) exploit for CVE-2016-5636, a heap overflow vulnerability in Python 3.6's zipimport module. The repository is organized into several directories: - crash-with-zip: Contains scripts to generate a malicious zip file (import.zip) with a large payload (payload.txt) and a runner script (run.py) that loads the zip file using zipimport.zipimporter, triggering the heap overflow. The Makefile and run_exploit.sh automate the process. - google-web-engine: Contains a Flask-based skeleton app for Google App Engine, with a script (gen_import.py) to generate a similar malicious zip file in the templates directory. This demonstrates the exploit in a cloud environment. - The rest of the repository includes third-party Python libraries (Flask, Jinja2, Werkzeug, MarkupSafe) and extensive test suites, which are not directly related to the exploit but are part of the App Engine skeleton. The exploit demonstrates a denial-of-service (crash) scenario by causing a heap overflow when a vulnerable Python interpreter processes the crafted zip file. No remote code execution is provided, but the attack vector could be local (user opening a malicious zip) or network-based (if a web service processes untrusted zip files). The main fingerprintable endpoints are the crafted zip files and payloads. The exploit is a PoC and does not include weaponized payloads.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.