CVE-2026-82617
published critical CVSS 4.0 · 10.0Apache OpenNLP, Apache OpenNLP: ReDoS / stack exhaustion in RegexNameFinderFactory built-in EMAIL and URL patterns
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | org.apache.opennlp:opennlp-coreApache OpenNLP · 3.0.0-M1 to < 3.0.0-M6 · Other versions: unaffected | Affected | Not stated | apache |
| Apache Software Foundation | — | org.apache.opennlp:opennlp-toolsApache OpenNLP · 2.0.0 to < 2.5.12 · Other versions: unaffected | Affected | Not stated | apache |
| SUSE / openSUSE | openSUSE-Tumbleweed | opennlpaarch64 | Advisory build | 2.5.13-1.1 | OPENSUSE-SU-2026:12616-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | opennlpppc64le | Advisory build | 2.5.13-1.1 | OPENSUSE-SU-2026:12616-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | opennlps390x | Advisory build | 2.5.13-1.1 | OPENSUSE-SU-2026:12616-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | opennlpx86_64 | Advisory build | 2.5.13-1.1 | OPENSUSE-SU-2026:12616-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | opennlp-javadocaarch64 | Advisory build | 2.5.13-1.1 | OPENSUSE-SU-2026:12616-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | opennlp-javadocppc64le | Advisory build | 2.5.13-1.1 | OPENSUSE-SU-2026:12616-1 |
Show 14 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | opennlp-javadocs390x | Advisory build | 2.5.13-1.1 | OPENSUSE-SU-2026:12616-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | opennlp-javadocx86_64 | Advisory build | 2.5.13-1.1 | OPENSUSE-SU-2026:12616-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | opennlp-morfologik-addonaarch64 | Advisory build | 2.5.13-1.1 | OPENSUSE-SU-2026:12616-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | opennlp-morfologik-addonppc64le | Advisory build | 2.5.13-1.1 | OPENSUSE-SU-2026:12616-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | opennlp-morfologik-addons390x | Advisory build | 2.5.13-1.1 | OPENSUSE-SU-2026:12616-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | opennlp-morfologik-addonx86_64 | Advisory build | 2.5.13-1.1 | OPENSUSE-SU-2026:12616-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | opennlp-toolsaarch64 | Advisory build | 2.5.13-1.1 | OPENSUSE-SU-2026:12616-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | opennlp-toolsppc64le | Advisory build | 2.5.13-1.1 | OPENSUSE-SU-2026:12616-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | opennlp-toolss390x | Advisory build | 2.5.13-1.1 | OPENSUSE-SU-2026:12616-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | opennlp-toolsx86_64 | Advisory build | 2.5.13-1.1 | OPENSUSE-SU-2026:12616-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | opennlp-uimaaarch64 | Advisory build | 2.5.13-1.1 | OPENSUSE-SU-2026:12616-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | opennlp-uimappc64le | Advisory build | 2.5.13-1.1 | OPENSUSE-SU-2026:12616-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | opennlp-uimas390x | Advisory build | 2.5.13-1.1 | OPENSUSE-SU-2026:12616-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | opennlp-uimax86_64 | Advisory build | 2.5.13-1.1 | OPENSUSE-SU-2026:12616-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 10.0 / 10
- Severity
- critical
- Provider
- apache · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache OpenNLP | 3.0.0-M1 to < 3.0.0-M6 (affected · semver)Default: unaffected | apache · cna |
| Apache Software Foundation | Apache OpenNLP | 2.0.0 to < 2.5.12 (affected · semver)Default: unaffected | apache · cna |
Weaknesses
1- CWE-1333 CWE-1333 Inefficient Regular Expression Complexity
References
2Provider assertions
3apache · cna
Apache OpenNLP, Apache OpenNLP: ReDoS / stack exhaustion in RegexNameFinderFactory built-in EMAIL and URL patterns
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 664e0c4d2c5825ce46695d3eec0f5a912ad5ea883602e686724fd8a266c5443b
- Ingested
- 23 Sep 2026, 09:35:28 UTC
- Source record
- Official CVE record