{"id":"CVE-2017-5992","aliases":["DEBIAN-CVE-2017-5992","EUVD-2017-0081","GHSA-chqf-hx79-gxc6","PYSEC-2017-48","UBUNTU-CVE-2017-5992","USN-4821-1","openSUSE-SU-2024:11248-1","openSUSE-SU-2024:14028-1","openSUSE-SU-2026:12023-1"],"status":"published","title":"Improper Restriction of XML External Entity Reference in Openpyxl","description":"Openpyxl 2.4.1 resolves external entities by default, which allows remote attackers to conduct XXE attacks via a crafted .xlsx document.","severity":{"version":"3.0","score":8.2,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01411,"percentile":0.72869,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-611"],"published":"2017-02-15T19:00:00Z","modified":"2026-10-05T10:26:50Z","fixes":[{"ecosystem":"PyPI","package":"openpyxl","fixed_in":["2.4.2","2.4.1"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"openpyxl","fixed_in":["2.3.0-3"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"openpyxl","fixed_in":["2.3.0-3"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"openpyxl","fixed_in":["2.3.0-3"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"openpyxl","fixed_in":["2.3.0-1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"python-openpyxl","fixed_in":["3.1.3-1.1","3.1.5-1.8"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"openpyxl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.4.1"},{"fixed":"2.4.2"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"openpyxl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-3"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"openpyxl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-3"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"openpyxl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-3"}]}]},{"source":"osv","ecosystem":"PyPI","package":"openpyxl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.2"}]}],"versions":["1.1.0","1.1.5","1.1.6","1.1.7","1.2.3","1.5.0","1.5.1","1.5.2","1.5.3","1.5.4","1.5.5","1.5.6","1.5.7","1.5.8","1.6.1","1.6.2","1.7.0","1.8.0","1.8.1","1.8.2","1.8.3","1.8.4","1.8.5","1.8.6","2.0.2","2.0.3","2.0.4","2.0.5","2.1.0","2.1.1","2.1.2","2.1.3","2.1.4","2.1.5","2.2.0","2.2.1","2.2.2","2.2.3","2.2.4","2.2.5","2.2.6","2.3.0","2.3.1","2.3.2","2.3.3","2.3.4","2.3.5","2.4.0","2.4.1"]},{"source":"osv","ecosystem":"PyPI","package":"openpyxl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.1"}]}],"versions":["1.1.0","1.1.5","1.1.6","1.1.7","1.2.3","1.5.0","1.5.1","1.5.2","1.5.3","1.5.4","1.5.5","1.5.6","1.5.7","1.5.8","1.6.1","1.6.2","1.7.0","1.8.0","1.8.1","1.8.2","1.8.3","1.8.4","1.8.5","1.8.6","2.0.2","2.0.3","2.0.4","2.0.5","2.1.0","2.1.1","2.1.2","2.1.3","2.1.4","2.1.5","2.2.0","2.2.1","2.2.2","2.2.3","2.2.4","2.2.5","2.2.6","2.3.0","2.3.1","2.3.2","2.3.3","2.3.4","2.3.5","2.4.0"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"openpyxl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-1ubuntu0.1~esm1"}]}],"versions":["2.3.0~b1-1ubuntu1","2.3.0-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"openpyxl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-1ubuntu0.1~esm1"}]}],"versions":["2.3.0~b1-1ubuntu1","2.3.0-1"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"python-openpyxl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.3-1.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"python-openpyxl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.5-1.8"}]}]}],"products":[{"vendor":"python","product":"openpyxl"}],"references":[{"url":"https://bitbucket.org/openpyxl/openpyxl/issues/749","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854442","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://bitbucket.org/openpyxl/openpyxl/commits/3b4905f428e1","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Third Party Advisory","report","web"]},{"url":"http://www.openwall.com/lists/oss-security/2017/02/07/5","tags":["x_refsource_CONFIRM","x_transferred","Mailing List","Third Party Advisory","advisory","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-5992","tags":["advisory"]},{"url":"https://foss.heptapod.net/openpyxl/openpyxl/-/commit/7fe678fd89fd","tags":["web"]},{"url":"https://foss.heptapod.net/openpyxl/openpyxl/-/issues/749","tags":["web"]},{"url":"https://github.com/advisories/GHSA-chqf-hx79-gxc6","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/openpyxl/PYSEC-2017-48.yaml","tags":["web"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-5992","tags":["advisory"]},{"url":"https://foss.heptapod.net/openpyxl/openpyxl","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2017-5992","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-5992","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4821-1","tags":["advisory"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2017-5992","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2017-5992","description":"Openpyxl 2.4.1 resolves external entities by default, which allows remote attackers to conduct XXE attacks via a crafted .xlsx document.","status":"published","published":"2017-02-15T19:00:00Z","modified":"2024-08-05T15:18:49.392Z","updated_at":"2026-11-02T14:33:12.942409Z"}],"euvd":[{"id":"EUVD-2017-0081","description":"Openpyxl 2.4.1 resolves external entities by default, which allows remote attackers to conduct XXE attacks via a crafted .xlsx document.","status":"published","published":"2017-02-15T19:00:00Z","modified":"2024-08-05T15:18:49Z","updated_at":"2026-11-03T02:39:13.436112Z"}],"ghsa":[{"id":"GHSA-chqf-hx79-gxc6","title":"Improper Restriction of XML External Entity Reference in Openpyxl","description":"Openpyxl 2.4.1 resolves external entities by default, which allows remote attackers to conduct XXE attacks via a crafted .xlsx document.","status":"published","published":"2022-05-17T02:58:54Z","modified":"2024-10-07T21:29:59Z","cvss":[{"version":"4.0","score":6.4,"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","level":"medium"},{"version":"3.0","score":8.2,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H","level":"high"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T14:38:08.742903Z"}],"nvd":[{"id":"CVE-2017-5992","description":"Openpyxl 2.4.1 resolves external entities by default, which allows remote attackers to conduct XXE attacks via a crafted .xlsx document.","status":"published","published":"2017-02-15T19:59:01.283Z","modified":"2026-06-17T01:21:34.953Z","cvss":[{"version":"3.0","score":8.2,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5.8,"vector":"AV:N/AC:M/Au:N/C:P/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T14:03:43.325192Z"}],"osv":[{"id":"CVE-2017-5992","description":"Openpyxl 2.4.1 resolves external entities by default, which allows remote attackers to conduct XXE attacks via a crafted .xlsx document.","status":"published","published":"2017-02-15T19:59:01.283Z","modified":"2026-10-05T10:26:50.904817938Z","cvss":[{"version":"3.0","score":8.2,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:06.029968Z"},{"id":"DEBIAN-CVE-2017-5992","description":"Openpyxl 2.4.1 resolves external entities by default, which allows remote attackers to conduct XXE attacks via a crafted .xlsx document.","status":"published","published":"2017-02-15T19:59:01.283Z","modified":"2026-09-01T20:03:49.395102576Z","cvss":[{"version":"3.0","score":8.2,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:29.412243Z"},{"id":"GHSA-chqf-hx79-gxc6","title":"Improper Restriction of XML External Entity Reference in Openpyxl","description":"Openpyxl 2.4.1 resolves external entities by default, which allows remote attackers to conduct XXE attacks via a crafted .xlsx document.","status":"published","published":"2022-05-17T02:58:54Z","modified":"2024-10-07T21:35:38.976036Z","cvss":[{"version":"3.0","score":8.2,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H","level":"high"},{"version":"4.0","score":6.4,"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","level":"medium"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T15:46:45.28161Z"},{"id":"UBUNTU-CVE-2017-5992","description":"Openpyxl 2.4.1 resolves external entities by default, which allows remote attackers to conduct XXE attacks via a crafted .xlsx document.","status":"published","published":"2017-02-15T19:59:00Z","modified":"2026-02-04T04:20:22.26898Z","cvss":[{"version":"3.0","score":8.2,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:15.388065Z"},{"id":"openSUSE-SU-2024:11248-1","title":"python36-openpyxl-3.0.7-1.2 on GA media","description":"These are all security issues fixed in the python36-openpyxl-3.0.7-1.2 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:24:58.014524Z","updated_at":"2026-11-02T16:58:34.894275Z"},{"id":"openSUSE-SU-2024:14028-1","title":"python310-openpyxl-3.1.3-1.1 on GA media","description":"These are all security issues fixed in the python310-openpyxl-3.1.3-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T02:19:40.209628Z","updated_at":"2026-11-02T16:58:36.662953Z"},{"id":"openSUSE-SU-2026:12023-1","title":"python313-openpyxl-3.1.5-1.8 on GA media","description":"These are all security issues fixed in the python313-openpyxl-3.1.5-1.8 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2026-10-04T00:00:00Z","modified":"2026-10-05T10:15:35.008056204Z","updated_at":"2026-11-02T16:58:40.245664Z"},{"id":"PYSEC-2017-48","description":"Openpyxl 2.4.1 resolves external entities by default, which allows remote attackers to conduct XXE attacks via a crafted .xlsx document.","status":"published","published":"2017-02-15T19:59:00Z","modified":"2023-11-08T03:59:23.70978Z","updated_at":"2026-11-02T15:52:51.645172Z"},{"id":"USN-4821-1","title":"openpyxl vulnerability","description":"It was discovered that openpyxl incorrectly handled certain documents. A\nremote attacker could possibly use this issue to cause a denial of service\nor other unspecified impact.\n","status":"published","published":"2021-03-15T21:58:09Z","modified":"2026-06-25T13:30:29.504626802Z","updated_at":"2026-11-02T16:58:15.159055Z"}]}}
