# CVE-2026-82617: Apache OpenNLP, Apache OpenNLP: ReDoS / stack exhaustion in RegexNameFinderFactory built-in EMAIL and URL patterns

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 10.0
- **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:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.77% (percentile 52, 2026-11-28)
- **CWE:** CWE-1333
- **Published:** 2026-09-11T17:50:53.639Z
- **Modified:** 2026-09-16T14:05:52.550Z

## 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

## 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

- 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)

## Mitigation

- Upgrade Apache OpenNLP to 3.0.0-M6 or later.
- Upgrade Apache OpenNLP to 2.5.12 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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-28).

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

## References

- vendor: <https://lists.apache.org/thread/spzhcxxszqdpppg70m1zz2l3mv29mhl3>
- other: <http://www.openwall.com/lists/oss-security/2026/09/11/10>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-82617>

HTML: <https://flawdb.com/CVE-2026-82617> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-82617>
