CVE-2026-42440
Apache Software Foundation Apache OpenNLP, Red Hat Data Grid 8, Red Hat Fuse 7
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[NUM_PREDS]) without validating that the value is non-negative or within a reasonable bound. The count is therefore fully attacker-controlled when the model fi...
- CVSS
- 7.5
- EPSS
- 0.60% 45.5% percentile
- CISA KEV
- Not listed
- Published
- 2026.05.05