CVE-2017-5992 json
Improper Restriction of XML External Entity Reference in Openpyxl
published 2017-02-15 9 y ago modified 2026-06-17 4 mo ago also GHSA-chqf-hx79-gxc6 , PYSEC-2017-48 , EUVD-2017-0081
- cvss
- 8.2
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 72%
- public exploits
- 0
- none known
Summary
Openpyxl 2.4.1 resolves external entities by default, which allows remote attackers to conduct XXE attacks via a crafted .xlsx document.
Patch / fix
- pypi openpyxl 2.4.1, 2.4.2
- openpyxl Debian 14, Debian 13, Debian 12 2.3.0-3
debian advisories DEBIAN-CVE-2017-5992
- openpyxl Ubuntu Pro 16.04 LTS 2.3.0-1ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2017-5992
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- python-openpyxl openSUSE Tumbleweed 3.1.5-1.8
- python-openpyxl openSUSE Tumbleweed 3.1.3-1.1
opensuse advisories openSUSE-SU-2026:12023-1openSUSE-SU-2024:14028-1
- python-openpyxl Arch Linux 2.4.1-1
arch linux advisories AVG-629
Exploit prediction
1.41% chance of exploitation in the next 30 days, higher than 72% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 8.2 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H |
| NVD | 2.0 | 5.8 | AV:N/AC:M/Au:N/C:P/I:N/A:P |
| GitHub | 3.0 | 8.2 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | openpyxl | <2.4.2 <2.4.1 |
2.4.2 2.4.1 |
Classification
- Weakness
-
- CWE-611 Improper Restriction of XML External Entity Reference
References
-
bitbucket.org
/openpyxl/openpyxl/commits/3b4905f428e1
web, issue-tracking, third-party-advisory
-
foss.heptapod.net
/openpyxl/openpyxl/-/commit/7fe678fd89fd
web
-
bitbucket.org
/openpyxl/openpyxl/issues/749
web, issue-tracking, third-party-advisory
-
bugs.debian.org
/cgi-bin/bugreport.cgi?bug=854442
web, issue-tracking, third-party-advisory
-
openwall.com
/lists/oss-security/2017/02/07/5
web, mailing-list, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2017-5992
advisory
-
foss.heptapod.net
/openpyxl/openpyxl
package
-
foss.heptapod.net
/openpyxl/openpyxl/-/issues/749
web
-
github.com
/advisories/GHSA-chqf-hx79-gxc6
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/openpyxl/PYSEC-2017-48.yaml
web
Sources
- CVE List CVE-2017-5992
- GitHub Advisory GHSA-chqf-hx79-gxc6
- NVD CVE-2017-5992
- OSV PYSEC-2017-48
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.