Live threats

All CVEs / Apache

CVE-2017-12620Apache Opennlp

Critical 9.8 No auth needed

Priority
74
CVSS 3.0
9.8
EPSS
3.0%
probability of exploitation in 30 days · percentile 88
Auth required
No
Published
Oct 3, 2017
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-611
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Opennlp.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.opennlp:opennlp-tools ≥ 1.5.0 < 1.8.2 1.8.2 —

Per OSV / GitHub Advisories (GHSA-h22x-hm8g-rxpg). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apacheopennlp1.5.0
apacheopennlp1.5.1
apacheopennlp1.5.2
apacheopennlp1.5.3
apacheopennlp1.6.0
apacheopennlp1.7.0
apacheopennlp1.7.1
apacheopennlp1.7.2
apacheopennlp1.8.0
apacheopennlp1.8.1

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.