CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HHigh (7.5) in apache opennlp. EPSS 0.6% 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:N/I:N/A:Horg.apache.opennlp:opennlp-tools (Maven): fixed in 2.5.9, 3.0.0-M3, 1.9.5Explain CVE-2026-42440 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-42440?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-42440?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-42440 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-659w-93r5-9j6m | Maven | org.apache.opennlp:opennlp-tools | >=2.0.0 <2.5.9 | 2.5.9 |
| GHSA-659w-93r5-9j6m | Maven | org.apache.opennlp:opennlp-tools | >=3.0.0-M1 <3.0.0-M3 | 3.0.0-M3 |
| GHSA-659w-93r5-9j6m | 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-42440 |
| Debian | 14 | apache-opennlp | 2.5.9-1 | DEBIAN-CVE-2026-42440 |
| Ubuntu | 20.04:LTS, 22.04:LTS, 24.04:LTS and 3 more | apache-opennlp | no fix listed | UBUNTU-CVE-2026-42440 |
| 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.
Apache's advisory rates this vulnerability Moderate. Red Hat rates it Important (CVSS v3.1 7.5, AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H). In an affected deployment, a remote unauthenticated attacker can cause a denial of service if the application loads a crafted OpenNLP binary model. An attacker-controlled count can trigger an OutOfMemoryError during model parsing and stop the affected process. The impact is limited to availability; confidentiality and integrity are not affected. Practical exposure depends on whether the application loads models from a source an attacker can control.
Until the applicable fix is installed, load OpenNLP binary model files only from trusted sources and verify their provenance and integrity. Do not load models supplied by end users or third-party repositories unless they have been verified. Upstream fixes are available in OpenNLP 2.5.9 or later in the 2.x line and 3.0.0-M3 or later in the 3.x line. For Red Hat products, use the fixed package applicable to the product stream, as Red Hat may backport the fix.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Data Grid 8 | opennlp-tools | Not affected | |
| Red Hat Fuse 7 | opennlp-maxent | Will not fix | |
| Red Hat Fuse 7 | opennlp-tools | Will not fix | |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | opennlp-tools | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-trustyai-service-rhel8 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-trustyai-service-rhel9 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9 | Not affected |
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-42440.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).