CVE-2026-82617
Apache OpenNLP, Apache OpenNLP: ReDoS / stack exhaustion in RegexNameFinderFactory built-in EMAIL and URL patterns
Mitigation
- Upgrade Apache OpenNLP to 3.0.0-M6 or later.
- Upgrade Apache OpenNLP to 2.5.12 or later.
Who should check
- Anyone running Apache Software Foundation Apache OpenNLP >= 3.0.0-M1, < 3.0.0-M6
- Anyone running Apache Software Foundation Apache OpenNLP >= 2.0.0, < 2.5.12
Vulnerability facts
- Affected
- Apache Software Foundation Apache OpenNLP >= 3.0.0-M1, < 3.0.0-M6; Apache Software Foundation Apache OpenNLP >= 2.0.0, < 2.5.12
- Fixed in
- Apache Software Foundation Apache OpenNLP 3.0.0-M6, Apache Software Foundation Apache OpenNLP 2.5.12
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 10.0 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: None
- Privileges required: None
- User interaction: None
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- Confidentiality impact on other systems: High
- Integrity impact on other systems: High
- Availability impact on other systems: High
- EPSS
- 0.77% chance of exploitation in 30 days (percentile 52, 2026-11-26)
- CWE
- CWE-1333
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Apache Software Foundation Apache OpenNLP | >= 3.0.0-M1, < 3.0.0-M6 | — | cvelist |
| Apache Software Foundation Apache OpenNLP | >= 2.0.0, < 2.5.12 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-82617. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-82617.md Affected: Apache Software Foundation Apache OpenNLP >= 3.0.0-M1, < 3.0.0-M6; Apache Software Foundation Apache OpenNLP >= 2.0.0, < 2.5.12 Fixed in: Apache Software Foundation Apache OpenNLP 3.0.0-M6, Apache Software Foundation Apache OpenNLP 2.5.12 Steps: 1. Search this machine and project for Apache Software Foundation Apache OpenNLP: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2026-82617 being exploited?
There is no confirmed exploitation: CVE-2026-82617 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.77% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-82617?
Critical: CVSS 10.0 (v4.0, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-82617?
Apache Software Foundation Apache OpenNLP >= 3.0.0-M1, < 3.0.0-M6; Apache Software Foundation Apache OpenNLP >= 2.0.0, < 2.5.12.
Is there a fix for CVE-2026-82617?
Yes. Fixed in Apache Software Foundation Apache OpenNLP 3.0.0-M6, Apache Software Foundation Apache OpenNLP 2.5.12. Upgrade Apache OpenNLP to 3.0.0-M6 or later. Upgrade Apache OpenNLP to 2.5.12 or later.
How do I check if I'm affected by CVE-2026-82617?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.