PT-2026-89998
CVE-2026-67211
·
Published
2026-09-11
·
Updated
2026-09-16
Description by
CVSS 3.1
7.5
HighMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions
Apache OpenNLP versions 3.0.0-M4 through 3.0.0-M5
Description
The
SymSpellModelSerializer.create() method reads two 32-bit signed integer count fields, unigramCount and bigramCount, from a binary SymSpell model stream and passes them to LinkedHashMap.newLinkedHashMap() without an upper bound validation. An attacker can provide a crafted .bin model file with these fields set to a very large value, such as Integer.MAX VALUE, causing the application to attempt to allocate a massive backing array (4–8 GB). This leads to an OutOfMemoryError and a subsequent denial of service. This issue affects any code path that deserializes a SymSpell model, including SymSpellModels.deserialize(InputStream), SymSpellModels.fromBytes(byte[]), SymSpellModelResolver.resolveByLanguage(String), the CorrectTextTool command-line tool, and model-archive loading via ArtifactSerializer.Recommendations
Upgrade Apache OpenNLP to version 3.0.0-M6.
As a temporary mitigation, treat all SymSpell .bin model files as untrusted and avoid loading models from end users or third-party repositories without integrity verification.
Found an issue in the description? Have something to add? Feel free to write us 👾