Skip to content
Fencer Intel
high 8.2

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-09).

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

Sources

Fencer Intel 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.