What’s Vulnerable › Vulnerabilities
CVE-2016-5851
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2016-12-21 · updated 2026-06-17
- Weakness: CWE-611
Description
python-docx before 0.8.6 allows context-dependent attackers to conduct XML External Entity (XXE) attacks via a crafted document.
Affected products
- Python-Openxml Project Python-Docx: through 0.8.5
References
- http://www.openwall.com/lists/oss-security/2016/06/28/7
- http://www.openwall.com/lists/oss-security/2016/06/28/8
- http://www.securityfocus.com/bid/91485
- https://github.com/python-openxml/python-docx/blob/v0.8.6/HISTORY.rst
- https://github.com/python-openxml/python-docx/commit/61b40b161b64173ab8e362aec1fd197948431beb
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6FFMOH7ZPOPQWNJGUZOS5LXX4MGNRXXT/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XU2WSYRNB7CLBBFCGSX34XHACTA2SWDZ/
- http://www.openwall.com/lists/oss-security/2016/06/28/7
- http://www.openwall.com/lists/oss-security/2016/06/28/8
- http://www.securityfocus.com/bid/91485
- https://github.com/python-openxml/python-docx/blob/v0.8.6/HISTORY.rst
- https://github.com/python-openxml/python-docx/commit/61b40b161b64173ab8e362aec1fd197948431beb
Get alerted when CVE-2016-5851 or the next vulnerability affects your stack