{"schemaVersion":3,"id":"CVE-2017-5992","aliases":["GHSA-chqf-hx79-gxc6","PYSEC-2017-48","UBUNTU-CVE-2017-5992","USN-4821-1","DEBIAN-CVE-2017-5992","openSUSE-SU-2024:14028-1","openSUSE-SU-2026:12023-1"],"status":"published","duplicateOf":null,"title":null,"description":"Openpyxl 2.4.1 resolves external entities by default, which allows remote attackers to conduct XXE attacks via a crafted .xlsx document.","dates":{"published":"2017-02-15T19:00:00.000Z","modified":"2024-08-05T15:18:49.392Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.2,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":8.2,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:N/A:P","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":6.4,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:N/SA:H","exploitability":null,"impact":null,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Pypi","score":8.2,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H","exploitability":4.6,"impact":9.7,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":8.2,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H","exploitability":4.6,"impact":9.7,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":8.2,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H","exploitability":4.6,"impact":9.7,"computed":true}]},"epss":{"probability":0.01159,"percentile":0.66624,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01159},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01412,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01159,"percentile":0.66624}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01412,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01159,"percentile":0.66624}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference","description":"The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/611.html"}],"affected":[{"vendor":"debian","product":"openpyxl","name":"openpyxl","label":"openpyxl","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/openpyxl","purlType":"deb","versions":[{"text":"< 2.3.0-3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.3.0-3","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"openpyxl","name":"openpyxl","label":"openpyxl","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/openpyxl","purlType":"deb","versions":[{"text":"< 2.3.0-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.3.0-1ubuntu0.1~esm1","eol":null,"hubHref":null},{"vendor":"PyPI","product":"openpyxl","name":"openpyxl","label":"openpyxl","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/openpyxl","purlType":"pypi","versions":[{"text":"< 2.4.2","noFixRecorded":false,"fixedIn":null},{"text":"< 2.4.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.4.2 | < 2.4.1","eol":null,"hubHref":null},{"vendor":"python","product":"openpyxl","name":"openpyxl","label":"openpyxl","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"2.4.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"2.4.1","eol":null,"hubHref":"/vendor/python/openpyxl"},{"vendor":"opensuse","product":"python-openpyxl&distro=openSUSE Tumbleweed","name":"python-openpyxl","label":"python-openpyxl&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/python-openpyxl&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 3.1.3-1.1","noFixRecorded":false,"fixedIn":null},{"text":"< 3.1.5-1.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.1.3-1.1 | < 3.1.5-1.8","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://bitbucket.org/openpyxl/openpyxl/issues/749","label":"bitbucket.org/openpyxl/openpyxl/issues/749","hostname":"bitbucket.org","tags":["X Refsource CONFIRM","Issue Tracking","Third Party Advisory","WEB","REPORT"]},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854442","label":"bugs.debian.org/cgi-bin/bugreport.cgi?bug=854442","hostname":"bugs.debian.org","tags":["X Refsource CONFIRM","Issue Tracking","Third Party Advisory","WEB"]},{"url":"https://bitbucket.org/openpyxl/openpyxl/commits/3b4905f428e1","label":"bitbucket.org/openpyxl/openpyxl/commits/3b4905f428e1","hostname":"bitbucket.org","tags":["X Refsource CONFIRM","Issue Tracking","Third Party Advisory","WEB","REPORT"]},{"url":"http://www.openwall.com/lists/oss-security/2017/02/07/5","label":"www.openwall.com/lists/oss-security/2017/02/07/5","hostname":"www.openwall.com","tags":["X Refsource CONFIRM","Mailing List","Third Party Advisory","WEB","REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-5992","label":"nvd.nist.gov/vuln/detail/CVE-2017-5992","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://foss.heptapod.net/openpyxl/openpyxl","label":"foss.heptapod.net/openpyxl/openpyxl","hostname":"foss.heptapod.net","tags":["PACKAGE"]},{"url":"https://foss.heptapod.net/openpyxl/openpyxl/-/commit/7fe678fd89fd","label":"foss.heptapod.net/openpyxl/openpyxl/-/commit/7fe678fd89fd","hostname":"foss.heptapod.net","tags":["WEB"]},{"url":"https://foss.heptapod.net/openpyxl/openpyxl/-/issues/749","label":"foss.heptapod.net/openpyxl/openpyxl/-/issues/749","hostname":"foss.heptapod.net","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-chqf-hx79-gxc6","label":"github.com/advisories/GHSA-chqf-hx79-gxc6","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/openpyxl/PYSEC-2017-48.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/openpyxl/PYSEC-2017-48.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2017-5992","label":"ubuntu.com/security/CVE-2017-5992","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-5992","label":"www.cve.org/CVERecord?id=CVE-2017-5992","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-4821-1","label":"ubuntu.com/security/notices/USN-4821-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-5992","label":"security-tracker.debian.org/tracker/CVE-2017-5992","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2017-5992","label":"www.suse.com/security/cve/CVE-2017-5992","hostname":"www.suse.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2017-02-15T19:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T15:18:49.392Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":33,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T16:30:44.180Z","stale":false,"partial":false}}