CVE-2026-42440: OOM Denial of Service via Unbounded Array Allocation in Apache OpenNLP AbstractModelReader Versions Affected
CVE-2026-42440 is a high-severity flaw (CVSS 7.5) affecting opennlp. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
OOM Denial of Service via Unbounded Array Allocation in Apache OpenNLP AbstractModelReader Versions Affected: before 1.9.5 before 2.5.9 before 3.0.0-M3 Description: The AbstractModelReader methods getOutcomes(), getOutcomePatterns(), and getPredicates() each read a 32-bit signed integer count field from a binary model stream and pass that value directly to an array allocation (new String[numOutcomes], new int[numOCTypes][], new String[NU
Why this priority
- High severity
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-42440?
opennlp: upgrade to 2.5.9. Exact commands for each OS are on this page.
Is CVE-2026-42440 being exploited?
CVE-2026-42440 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-42440 affect?
CVE-2026-42440 affects opennlp. Severity is high (CVSS 7.5). OOM Denial of Service via Unbounded Array Allocation in Apache OpenNLP AbstractModelReader Versions Affected: before 1.9.5 before 2.5.9 before 3.0.0-M3 Description: The AbstractModelReader methods getOutcomes(), getOutcomePatterns(
How urgent is CVE-2026-42440?
Priority 48/100. High severity; Remotely exploitable, no login, no user action; On your watchlist
Related CVEs
- CVE-2026-42027 CRITICAL 9.8 UPGRADE Arbitrary Class Instantiation via Model Manifest in Apache OpenNLP ExtensionLoader Versions Affected: bef
- CVE-2026-40682 CRITICAL 9.1 UPGRADE XML External Entity (XXE) via Unsanitized Dictionary Parsing in Apache OpenNLP DictionaryEntryPersistor Vers
- CVE-2026-43825 HIGH 7.3 DOWNGRADE Untrusted Java Deserialization in Apache OpenNLP SvmDoccatModel Versions Affected: before 3.0.0-M4 (libsvm
- CVE-2026-63317 MEDIUM 5.6 UPGRADE Arbitrary Class Instantiation via XML Feature Generator Descriptor and Format Name in Apache OpenNLP Versions
- CVE-2026-82617 CRITICAL 9.8 UPGRADE The two built-in name-finder patterns exposed by opennlp.tools.namefind.RegexNameFinderFactory - DEFAULT_REGEX