CVSS 3.1
9.1 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NCritical (9.1) in apache opennlp. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.opennlp:opennlp-tools 1.9.5, 2.5.9, 3.0.0-M3.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Norg.apache.opennlp:opennlp-tools (Maven): fixed in 2.5.9, 3.0.0-M3, 1.9.5Explain CVE-2026-40682 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-40682?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-40682?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-40682 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Apache Software Foundation Apache OpenNLP | from 2.0 before 2.5.9 |
| Apache Software Foundation Apache OpenNLP | from 3.0.0-M1 before 3.0.0-M3 |
| Apache Software Foundation Apache OpenNLP | before 1.9.5 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-4v8g-86x5-3vrc | Maven | org.apache.opennlp:opennlp-tools | >=2.0.0 <2.5.9 | 2.5.9 |
| GHSA-4v8g-86x5-3vrc | Maven | org.apache.opennlp:opennlp-tools | >=3.0.0-M1 <3.0.0-M3 | 3.0.0-M3 |
| GHSA-4v8g-86x5-3vrc | Maven | org.apache.opennlp:opennlp-tools | <1.9.5 | 1.9.5 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13 | apache-opennlp | no fix listed | DEBIAN-CVE-2026-40682 |
| Debian | 14 | apache-opennlp | 2.5.9-1 | DEBIAN-CVE-2026-40682 |
| Ubuntu | 20.04:LTS, 22.04:LTS, 24.04:LTS and 3 more | apache-opennlp | no fix listed | UBUNTU-CVE-2026-40682 |
| openSUSE | Tumbleweed | opennlp | 1.9.5-1.1 | openSUSE-SU-2026:11281-1 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.
Red Hat rates this Important.
Severity: Important
This issue requires a vulnerable product to parse an attacker-controlled OpenNLP dictionary. The vulnerable parser can disclose local files or cause server-side requests. The CVSS vector requires neither privileges nor user interaction once that parsing path is reached. This potential confidentiality impact supports Red Hat’s Important rating, while Apache classifies the issue as Moderate. Product streams that do not reach this parsing path are assessed separately in the affectedness data.
For affected deployments that process dictionary XML from untrusted sources, use only trusted dictionary files. If untrusted dictionary input must be processed, reject documents containing a DOCTYPE declaration before passing them to OpenNLP’s dictionary parser.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat OpenShift AI 2.25 | rhoai/odh-trustyai-service-rhel9:1790933094 | Fixed 2026-10-21 | RHSA-2026:87410 |
| Red Hat OpenShift AI 3.4 | rhoai/odh-trustyai-service-rhel9:1791792525 | Fixed 2026-10-19 | RHSA-2026:84734 |
| Red Hat build of Apache Camel for Spring Boot 4 | opennlp-tools | Not affected | |
| Red Hat Data Grid 8 | opennlp-tools | Not affected | |
| Red Hat Fuse 7 | opennlp-maxent | Not affected | |
| Red Hat Fuse 7 | opennlp-tools | Not affected | |
| Red Hat JBoss Enterprise Application Platform 8 | opennlp-tools | Not affected | |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | opennlp-tools | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9 | Will not fix |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-40682.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.