Every CVE Search/ Get API key

CVE-2017-5992

Improper Restriction of XML External Entity Reference in Openpyxl

8.2 HighFix available

Openpyxl 2.4.1 resolves external entities by default, which allows remote attackers to conduct XXE attacks via a crafted .xlsx document.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
High

Exploit likelihood

1.41%Up 0.1 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 8.2

Openpyxl 2.4.1 resolves external entities by default, which allows remote attackers to conduct XXE attacks via a crafted .xlsx document.

Record
CVE-2017-5992
CVSS 3.0
8.2 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H
CVSS 2.0
5.8 MediumAV:N/AC:M/Au:N/C:P/I:N/A:P
Weakness
CWE-611
Updated
2026-11-02
CVE List No score

Openpyxl 2.4.1 resolves external entities by default, which allows remote attackers to conduct XXE attacks via a crafted .xlsx document.

Record
CVE-2017-5992
Updated
2026-11-02
EUVDEUVD-2017-0081 No score

Openpyxl 2.4.1 resolves external entities by default, which allows remote attackers to conduct XXE attacks via a crafted .xlsx document.

Record
EUVD-2017-0081
Updated
2026-11-03
GitHub AdvisoriesGHSA-chqf-hx79-gxc6 6.4

Improper Restriction of XML External Entity Reference in Openpyxl

Openpyxl 2.4.1 resolves external entities by default, which allows remote attackers to conduct XXE attacks via a crafted .xlsx document.

Record
GHSA-chqf-hx79-gxc6
CVSS 4.0
6.4 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:N/SA:H
CVSS 3.0
8.2 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H
Weakness
CWE-611
Updated
2026-11-02
OSV 8.2

Openpyxl 2.4.1 resolves external entities by default, which allows remote attackers to conduct XXE attacks via a crafted .xlsx document.

Record
CVE-2017-5992
CVSS 3.0
8.2 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2017-5992 8.2

Openpyxl 2.4.1 resolves external entities by default, which allows remote attackers to conduct XXE attacks via a crafted .xlsx document.

Record
DEBIAN-CVE-2017-5992
CVSS 3.0
8.2 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H
Updated
2026-11-02
Show 7 moreShow less
OSVGHSA-chqf-hx79-gxc6 6.4

Improper Restriction of XML External Entity Reference in Openpyxl

Openpyxl 2.4.1 resolves external entities by default, which allows remote attackers to conduct XXE attacks via a crafted .xlsx document.

Record
GHSA-chqf-hx79-gxc6
CVSS 4.0
6.4 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:N/SA:H
CVSS 3.0
8.2 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H
Weakness
CWE-611
Updated
2026-11-02
OSVUBUNTU-CVE-2017-5992 8.2

Openpyxl 2.4.1 resolves external entities by default, which allows remote attackers to conduct XXE attacks via a crafted .xlsx document.

Record
UBUNTU-CVE-2017-5992
CVSS 3.0
8.2 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H
Updated
2026-11-02
OSVopenSUSE-SU-2024:11248-1 No score

python36-openpyxl-3.0.7-1.2 on GA media

These are all security issues fixed in the python36-openpyxl-3.0.7-1.2 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11248-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:14028-1 No score

python310-openpyxl-3.1.3-1.1 on GA media

These are all security issues fixed in the python310-openpyxl-3.1.3-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:14028-1
Updated
2026-11-02
OSVopenSUSE-SU-2026:12023-1 No score

python313-openpyxl-3.1.5-1.8 on GA media

These are all security issues fixed in the python313-openpyxl-3.1.5-1.8 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2026:12023-1
Updated
2026-11-02
OSVPYSEC-2017-48 No score

Openpyxl 2.4.1 resolves external entities by default, which allows remote attackers to conduct XXE attacks via a crafted .xlsx document.

Record
PYSEC-2017-48
Updated
2026-11-02
OSVUSN-4821-1 No score

openpyxl vulnerability

It was discovered that openpyxl incorrectly handled certain documents. A remote attacker could possibly use this issue to cause a denial of service or other unspecified impact.

Record
USN-4821-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
openpyxl
PyPI
through 2.4.1
2.4.2
openpyxl
Debian:12
before 2.3.0-3
2.3.0-3
openpyxl
Debian:13
before 2.3.0-3
2.3.0-3
openpyxl
Debian:14
before 2.3.0-3
2.3.0-3
openpyxl
PyPI
before 2.4.2, plus listed versions
1.1.01.1.51.1.61.1.71.2.3
Show 44 moreShow less
1.5.01.5.11.5.21.5.31.5.41.5.51.5.61.5.71.5.81.6.11.6.21.7.01.8.01.8.11.8.21.8.31.8.41.8.51.8.62.0.22.0.32.0.42.0.52.1.02.1.12.1.22.1.32.1.42.1.52.2.02.2.12.2.22.2.32.2.42.2.52.2.62.3.02.3.12.3.22.3.32.3.42.3.52.4.02.4.1
2.4.2
openpyxl
PyPI
before 2.4.1, plus listed versions
1.1.01.1.51.1.61.1.71.2.3
Show 43 moreShow less
1.5.01.5.11.5.21.5.31.5.41.5.51.5.61.5.71.5.81.6.11.6.21.7.01.8.01.8.11.8.21.8.31.8.41.8.51.8.62.0.22.0.32.0.42.0.52.1.02.1.12.1.22.1.32.1.42.1.52.2.02.2.12.2.22.2.32.2.42.2.52.2.62.3.02.3.12.3.22.3.32.3.42.3.52.4.0
2.4.1
openpyxl
Ubuntu:Pro:16.04:LTS
before 2.3.0-1ubuntu0.1~esm1, plus listed versions
2.3.0~b1-1ubuntu12.3.0-1
2.3.0-1ubuntu0.1~esm1
python-openpyxl
openSUSE:Tumbleweed
before 3.1.3-1.1
3.1.3-1.1
python-openpyxl
openSUSE:Tumbleweed
before 3.1.5-1.8
3.1.5-1.8

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2017-5992 is a high vulnerability (CVSS 8.2) in Python Openpyxl, published February 15, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.41%, the 72nd percentile. Fixed in openpyxl 2.4.2.

References

Show 9 moreShow less
MoveEnter Open