CVE-2026-40682: Vulnerability in Apache Opennlp
Critical. XML External Entity (XXE) via Unsanitized Dictionary Parsing in Apache OpenNLP DictionaryEntryPersistor
Maven, CWE-611
- Exploitation
- None confirmed
- Severity
- 9.1 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-4v8g-86x5-3vrc
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Weakness
- CWE-611
- Published
- 4 May 2026
- Last change
- 26 Oct 2026
- Ecosystem
- Maven
Affected products
Affected versions and the first fixed release
- Apache Opennlp Before 2.5.9; Version 3.0.0. Fixed in 2.5.9
Affected packages
Vulnerable version ranges and fixed releases
- org.apache.opennlp:opennlp-tools Maven, Affected from 3.0.0-M1 before 3.0.0-M3. Fixed in 3.0.0-M3
Advisories
Vendor and security advisories
- lists.apache.org/thread/r6jpt0qr9nj67gqhppqg7jxf8vsbo0w6
- openwall.com/lists/oss-security/2026/05/01/19
- access.redhat.com/security/cve/CVE-2026-40682
- bugzilla.redhat.com/show_bug.cgi
Related
- Opennlp vulnerabilities Recent advisories, watch this product