01 Record
CVE-2016-5851
python-docx before 0.8.6 allows context-dependent attackers to conduct XML External Entity (XXE) attacks via a crafted document.
UnratedPUBLISHEDCNA: mitre
CNA base scoreUnratedNo CNA CVSS vector
02 Description
python-docx before 0.8.6 allows context-dependent attackers to conduct XML External Entity (XXE) attacks via a crafted document.
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 2.35% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 83.2% of scored records. A rank, not a probability.
- NVD base score
- 8.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- No Red Hat rating. Red Hat rates the CVEs that affect its products.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2016-12-21 00:00Z9 YR AGO
- Last updated
- 2024-08-06 01:15Z2 YR AGO
- Reserved
- 2016-06-28
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-611Improper Restriction of XML External Entity ReferenceBase
- Data version
- 5.1
- Document digest
- 86cdb7aeb68f73a19a113fab53ffd16d41859e17e75d4216cd3e090649064265
05 Affected products
VendorProductVersionsPlatforms
06 References
- www.openwall.com[oss-security] 20160628 CVE request - python-docx 0.8.5 - XXEhttp://www.openwall.com/lists/oss-security/2016/06/28/7
- www.openwall.com[oss-security] 20160628 Re: CVE request - python-docx 0.8.5 - XXEhttp://www.openwall.com/lists/oss-security/2016/06/28/8
- github.comhttps://github.com/python-openxml/python-docx/blob/v0.8.6/HISTORY.rst
- www.securityfocus.com91485http://www.securityfocus.com/bid/91485
- lists.fedoraproject.orgFEDORA-2021-aa54748cd9https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6FFMOH7ZPOPQWNJGUZOS5LXX4MGNRXXT/
- lists.fedoraproject.orgFEDORA-2021-aa6ebc01behttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XU2WSYRNB7CLBBFCGSX34XHACTA2SWDZ/
- github.comhttps://github.com/python-openxml/python-docx/commit/61b40b161b64173ab8e362aec1fd197948431beb