Skip to main content

Apache OpenNLP EUVDEUVD-2026-76169

| CVE-2026-82617 CRITICAL
Inefficient Regular Expression Complexity (ReDoS) (CWE-1333)
2026-09-11 apache GHSA-f3wj-w3qw-rw57
10.0
CVSS 4.0 · Vendor: apache
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify service running OpenNLP default finder
  2. Delivery
    Craft oversized EMAIL/URL text payload
  3. Exploit
    Submit to text-analysis endpoint
  4. Execution
    Regex backtracking or matcher recursion in find()
  5. Persist
    CPU exhaustion or StackOverflowError kills thread
  6. Impact
    Denial 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Apache OpenNLP 3.0.0-M1 <3.0.0-M6
Apache OpenNLP 2.0.0 <2.5.12

Affected Packages

euvd apache_opennlp fix: 2.5.12, 3.0.0-M6

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

Vendor (apache) PRIMARY 10.0 CRITICAL
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
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE CRITICAL
Red Hat 7.5 HIGH

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

2
Patch available
Sep 11, 2026 - 19:02 EUVD
CVE Published
Sep 11, 2026 - 17:50 cve.org
CRITICAL 10.0

DescriptionCVE.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.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.3%
Top 72% exploitable
Prevalence
Medium
well-known Apache Java NLP toolkit, moderate adoption in text pipelines
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Total

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +50
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

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

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

Vendor StatusVendor

SUSE

Severity: Critical

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy