Skip to main content

CVE-2026-67211: CWE-789 Memory Allocation with Excessive Size Value in Apache Software Foundation Apache OpenNLP

0
High
VulnerabilityCVE-2026-67211cvecve-2026-67211cwe-789
Published: 09/11/2026 (09/11/2026, 17:49:07 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: Apache OpenNLP

Description

CVE-2026-67211 is a denial of service vulnerability in Apache OpenNLP versions 3.0.0-M4 and 3.0.0-M5 affecting the SymSpellModelSerializer component. It occurs due to unbounded memory allocation when deserializing crafted SymSpell model files with excessively large count fields, leading to JVM heap exhaustion and OutOfMemoryError. The vulnerability is fixed in version 3.0.0-M6 by applying an upper bound to these count fields.

Affected software

Apache Software Foundation

Apache OpenNLP

Affected versions
>=3.0.0-M4 <3.0.0-M6
Apache Software Foundation/org.apache.opennlp:opennlp-symspell
pkg:maven/Apache Software Foundation/org.apache.opennlp:opennlp-symspell
Affected versions
>=3.0.0-M4 <3.0.0-M6

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/11/2026, 18:17:51 UTC

Technical Analysis

The vulnerability arises in the SymSpellModelSerializer.create() method of Apache OpenNLP's opennlp-spellcheck extension introduced in version 3.0.0-M4. It reads two 32-bit signed integer count fields from a binary SymSpell model stream and uses these values to pre-size LinkedHashMaps without an upper bound, allowing an attacker to specify extremely large counts. This causes the JVM to allocate very large backing arrays (4–8 GB), resulting in an OutOfMemoryError and denial of service. The flaw affects all code paths that deserialize SymSpell models, including command-line tools and model loading mechanisms. The issue is resolved in version 3.0.0-M6 by enforcing an upper bound of 10,000,000 on these counts, throwing an IOException if exceeded. Users can raise this limit via a JVM system property if needed.

Potential Impact

The vulnerability enables denial of service by exhausting JVM heap memory when loading maliciously crafted SymSpell model files with large count fields. This can crash or halt processes that deserialize these models, impacting availability. There is no indication of code execution or data corruption beyond denial of service. The attack surface includes any component or tool that loads SymSpell models from untrusted or semi-trusted sources.

Mitigation Recommendations

A fixed version 3.0.0-M6 is available and users should upgrade to this version to mitigate the vulnerability. The fix enforces an upper bound on the count fields to prevent excessive memory allocation. Users unable to upgrade immediately should treat all SymSpell .bin model files as untrusted unless their provenance is verified and avoid loading models from untrusted sources or third-party repositories without integrity checks.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
apache
Date Reserved
2026-07-28T16:59:40.025Z
State
PUBLISHED

Threat ID: 6aa4423791cc7f38487baf57

Added to database: 09/11/2026, 18:02:31 UTC

Last enriched: 09/11/2026, 18:17:51 UTC

Last updated: 09/11/2026, 18:17:51 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses