{"id":"CVE-2017-12620","aliases":["EUVD-2022-4039","GHSA-h22x-hm8g-rxpg","openSUSE-SU-2026:11281-1"],"status":"published","title":"Improper Restriction of XML External Entity Reference in Apache OpenNLP","description":"When loading models or dictionaries that contain XML it is possible to perform an XXE attack, since Apache OpenNLP is a library, this only affects applications that load models or dictionaries from untrusted sources. The versions 1.5.0 to 1.5.3, 1.6.0, 1.7.0 to 1.7.2, 1.8.0 to 1.8.1 of Apache OpenNLP are affected.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.03041,"percentile":0.87611,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-611"],"published":"2017-10-02T14:00:00Z","modified":"2026-10-24T10:30:44Z","fixes":[{"ecosystem":"Maven","package":"org.apache.opennlp:opennlp-tools","fixed_in":["1.8.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.apache.opennlp:opennlp-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.5.0"},{"last_affected":"1.8.1"},{"fixed":"1.8.2"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.apache.opennlp:opennlp-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.5.0"},{"fixed":"1.8.2"}]}],"versions":["1.5.1-incubating","1.5.2-incubating","1.5.3","1.6.0","1.7.0","1.7.1","1.7.2","1.8.0","1.8.1"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"opennlp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.5-1.1"}]}],"bundled":4}],"products":[{"vendor":"apache","product":"opennlp"},{"vendor":"apache software foundation","product":"apache opennlp"}],"references":[{"url":"http://opennlp.apache.org/news/cve-2017-12620.html","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Vendor Advisory","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-12620","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-h22x-hm8g-rxpg"},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2017-12620","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-40682","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-42027","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-42440","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2017-12620","description":"When loading models or dictionaries that contain XML it is possible to perform an XXE attack, since Apache OpenNLP is a library, this only affects applications that load models or dictionaries from untrusted sources. The versions 1.5.0 to 1.5.3, 1.6.0, 1.7.0 to 1.7.2, 1.8.0 to 1.8.1 of Apache OpenNLP are affected.","status":"published","published":"2017-10-02T14:00:00Z","modified":"2024-09-16T19:15:51.072Z","updated_at":"2026-11-02T14:33:17.264801Z"}],"euvd":[{"id":"EUVD-2022-4039","description":"When loading models or dictionaries that contain XML it is possible to perform an XXE attack, since Apache OpenNLP is a library, this only affects applications that load models or dictionaries from untrusted sources. The versions 1.5.0 to 1.5.3, 1.6.0, 1.7.0 to 1.7.2, 1.8.0 to 1.8.1 of Apache OpenNLP are affected.","status":"published","published":"2017-10-02T14:00:00Z","modified":"2024-09-16T19:15:51Z","updated_at":"2026-11-03T00:55:24.213258Z"}],"ghsa":[{"id":"GHSA-h22x-hm8g-rxpg","title":"Improper Restriction of XML External Entity Reference in Apache OpenNLP","description":"When loading models or dictionaries that contain XML it is possible to perform an XXE attack, since Apache OpenNLP is a library, this only affects applications that load models or dictionaries from untrusted sources. The versions 1.5.0 to 1.5.3, 1.6.0, 1.7.0 to 1.7.2, 1.8.0 to 1.8.1 of Apache OpenNLP are affected.","status":"published","published":"2022-05-17T00:29:00Z","modified":"2023-01-27T05:02:21Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T14:36:17.742171Z"}],"nvd":[{"id":"CVE-2017-12620","description":"When loading models or dictionaries that contain XML it is possible to perform an XXE attack, since Apache OpenNLP is a library, this only affects applications that load models or dictionaries from untrusted sources. The versions 1.5.0 to 1.5.3, 1.6.0, 1.7.0 to 1.7.2, 1.8.0 to 1.8.1 of Apache OpenNLP are affected.","status":"published","published":"2017-10-03T01:29:01.233Z","modified":"2026-06-17T01:03:38.823Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T14:04:01.734197Z"}],"osv":[{"id":"CVE-2017-12620","description":"When loading models or dictionaries that contain XML it is possible to perform an XXE attack, since Apache OpenNLP is a library, this only affects applications that load models or dictionaries from untrusted sources. The versions 1.5.0 to 1.5.3, 1.6.0, 1.7.0 to 1.7.2, 1.8.0 to 1.8.1 of Apache OpenNLP are affected.","status":"published","published":"2017-10-03T01:29:01.233Z","modified":"2026-10-24T10:30:44.533204909Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:04.159616Z"},{"id":"GHSA-h22x-hm8g-rxpg","title":"Improper Restriction of XML External Entity Reference in Apache OpenNLP","description":"When loading models or dictionaries that contain XML it is possible to perform an XXE attack, since Apache OpenNLP is a library, this only affects applications that load models or dictionaries from untrusted sources. The versions 1.5.0 to 1.5.3, 1.6.0, 1.7.0 to 1.7.2, 1.8.0 to 1.8.1 of Apache OpenNLP are affected.","status":"published","published":"2022-05-17T00:29:00Z","modified":"2023-11-08T03:58:53.308326Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T15:46:48.546324Z"},{"id":"openSUSE-SU-2026:11281-1","title":"opennlp-1.9.5-1.1 on GA media","description":"These are all security issues fixed in the opennlp-1.9.5-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2026-07-15T00:00:00Z","modified":"2026-07-16T10:00:16.336710423Z","updated_at":"2026-11-02T16:58:38.95195Z"}]}}
