Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify service running OpenNLP default finder
-
DeliveryCraft oversized EMAIL/URL text payload
-
ExploitSubmit to text-analysis endpoint
-
ExecutionRegex backtracking or matcher recursion in find()
-
PersistCPU exhaustion or StackOverflowError kills thread
-
ImpactDenial of service to application
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Regex complexity limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires that the embedding application obtains a built-in finder via RegexNameFinderFactory.getDefaultRegexNameFinders() and selects DEFAULT_REGEX_NAME_FINDER.EMAIL and/or DEFAULT_REGEX_NAME_FINDER.URL, then applies it to attacker-supplied text through RegexNameFinder.find(String) or find(String[]). No authentication, special configuration, or model file is needed beyond that finder selection. The EMAIL vector needs a long local-part run (~32 KB for multi-second CPU) never followed by '@'; the URL vector needs many '&'-separated query tokens (~4 KB, or ~1 KB on small-stack worker threads such as -Xss512k). Limiting factor: applications that do not use these two specific built-in finders, or that never feed them untrusted input, are not exploitable. |
| Impact | The published CVSS 4.0 vector scores 10.0 with VC:H/VI:H/VA:H and subsequent-system SC:H/SI:H/SA:H, which is grossly overstated: the described impact is purely availability (CPU exhaustion or thread death) with no confidentiality, integrity, or scope/subsequent-system consequences. A realistic vector is availability-only (A:H, C:N, I:N). The genuinely credible signals are AV:N/AC:L/PR:N/UI:N - remote, unauthenticated, low-complexity, no user interaction - which do make this a real DoS risk for any service that runs these finders over attacker-supplied text. However, exploitation is gated on the embedding application having selected one of the two built-in finders and applying it to untrusted input, which meaningfully narrows exposure. No EPSS, KEV, SSVC, or POC data was provided; treat exploitation likelihood as unquantified. Net: a legitimate but availability-only bug whose headline 10.0 score should not drive the same urgency as an RCE. |
| Exploit ScenarioDerived | An attacker submits a document, form field, or API payload to a web service that runs OpenNLP name-finding over user input using the default EMAIL finder; a ~32 KB run of local-part characters with no '@' pins a request thread's CPU for several seconds, and repeated submissions saturate the pool. Alternatively, ~1-4 KB of '&'-separated query-like tokens fed to the default URL finder throws StackOverflowError, abruptly killing the worker thread. No public POC is referenced, but the deterministic, size-scaling behavior described makes reproduction straightforward. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 11, 2026
Denial of service in Apache OpenNLP 2.0.0 through 2.5.11 and 3.0.0-M1 through 3.0.0-M5 lets a remote unauthenticated attacker pin CPU or crash a worker thread by feeding crafted text to either of the two built-in RegexNameFinder patterns (EMAIL and URL) obtained via RegexNameFinderFactory.getDefaultRegexNameFinders(). The EMAIL pattern's ambiguous nested quantifiers cause quadratic catastrophic backtracking (~32 KB of local-part characters burns seconds of CPU per find() call), while the URL pattern's nested capturing repetition recurses once per query token, exhausting the thread stack and throwing StackOverflowError (~4 KB, or ~1 KB on -Xss512k worker threads). No public exploit was identified at time of analysis; this is availability-only with no code execution or data exposure.
RemediationAI
Vendor-released patch: upgrade to Apache OpenNLP 2.5.12 on the stable line, or to 3.0.0-M6 for users tracking the 3.0.0 milestone line, per the Apache advisory (https://lists.apache.org/thread/spzhcxxszqdpppg70m1zz2l3mv29mhl3). If immediate upgrade is not possible, stop using the built-in DEFAULT_REGEX_NAME_FINDER.EMAIL and DEFAULT_REGEX_NAME_FINDER.URL finders on untrusted input, or replace them with custom RegexNameFinder patterns that avoid nested quantifiers; both remove the feature but eliminate the vulnerable regexes. As additional compensating controls, cap the length of text passed to find() (the attack scales with input size - the EMAIL cost grows ~4x per doubling and the URL crash needs only ~1-4 KB), run find() calls under a timeout/interruptible bounded executor, and avoid tiny worker-thread stacks (e.g. -Xss512k) that make the StackOverflowError trivial to trigger - noting a larger stack only raises the threshold, it does not fix the recursion.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Apache OpenNLP is a widely-used Java machine-learning toolkit for natural language processing. The affected component is opennlp.tools.namefind.RegexNameFinderFactory, whose DEFAULT_REGEX_NAME_FINDER.EMAIL and DEFAULT_REGEX_NAME_FINDER.URL enum constants ship regular expressions with ambiguous nested quantifiers. This is a classic Regular Expression Denial of Service (ReDoS) pattern (CWE-1333 / CWE-400 uncontrolled resource consumption); the CVE lists CWE as N/A. The EMAIL regex re-scans to end-of-input from every starting offset when no '@' terminates the local part, producing super-linear (quadratic) matching cost against the java.util.regex engine. The URL regex additionally triggers uncontrolled recursion (CWE-674): the JDK matcher recurses once per '&'-separated query token, and enough tokens overflow the JVM thread stack. Affected CPE is cpe:2.3:a:apache_software_foundation:apache_opennlp.
Know when Java gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Remote unauthenticated crafted input with no interaction (AV:N/AC:L/PR:N/UI:N); impact is availability-only (A:H), with no confidentiality/integrity effect and no scope change.
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
Lifecycle Timeline
2DescriptionCVE.org
The two built-in name-finder patterns exposed by opennlp.tools.namefind.RegexNameFinderFactory - DEFAULT_REGEX_NAME_FINDER.EMAIL and DEFAULT_REGEX_NAME_FINDER.URL - contain ambiguous nested quantifiers. An application that obtains these finders through RegexNameFinderFactory.getDefaultRegexNameFinders(...) and then applies them to untrusted text through RegexNameFinder.find(String[]) or RegexNameFinder.find(String) can be driven into super-linear backtracking or into unbounded matcher recursion by a small crafted input.
For the EMAIL pattern, a long run of local-part characters that is never followed by an @ forces the matcher to re-scan to end-of-input from every starting offset. Cost grows quadratically with input length: an input of approximately 32 KB consumes several seconds of CPU in a single find() call and returns no match, and each doubling of the input multiplies the cost roughly four-fold.
For the URL pattern, the query-string sub-expression nests a capturing repetition inside an outer repetition. The JDK matcher recurses once per query token, so an input of approximately 4 KB containing many &-separated tokens exhausts the thread stack and causes java.lang.StackOverflowError to propagate out of find(), terminating the calling thread. On a thread created with a smaller stack (for example -Xss512k, typical of server worker pools) approximately 1 KB is sufficient.
In both cases an attacker who can supply text for analysis can convert a single request into seconds to minutes of pinned CPU, or into an abrupt thread death, denying service to the embedding application. No authentication, special configuration, or model file is required beyond the application having selected one of the two built-in finders.
This issue affects Apache OpenNLP: from 2.0.0 through 2.5.11; from 3.0.0-M1 through 3.0.0-M5.
Users are recommended to upgrade to version 2.5.12, or to 3.0.0-M6 for users tracking the 3.0.0 milestone line, which fix the issue.
Articles & Coverage 1
Executive ViewAI
Apache OpenNLP versions 2.0.0-2.5.11 and 3.0.0-M1-M5 contain a remote denial-of-service vulnerability in the built-in email and URL pattern-matching functions that allows unauthenticated attackers to crash worker threads or exhaust CPU by submitting crafted text. Organizations using OpenNLP for text processing face service disruption risk, with no vendor patch currently available to remediate the issue.
No vendor-released patch identified at time of analysis. Interim mitigations: disable built-in EMAIL and URL patterns if not required; implement input size validation (e.g., <100 KB) and request timeouts on RegexNameFinder operations; isolate OpenNLP services from direct untrusted input exposure where feasible; monitor for thread pool exhaustion and excessive CPU; establish daily monitoring of Apache OpenNLP advisories and prepare to deploy patches 2.5.12+ or 3.0.0-M6+ immediately upon release.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
EUVD-2026-76169
GHSA-f3wj-w3qw-rw57
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB