Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-82617

Apache OpenNLP, Apache OpenNLP: ReDoS / stack exhaustion in RegexNameFinderFactory built-in EMAIL and URL patterns
Back to all
CVE

CVE-2026-82617

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

The two built-in name-finder patterns exposed by

opennlp.tools.namefind.RegexNameFinderFactory - DEFAULTREGEXNAME_FINDER.EMAIL

and DEFAULTREGEXNAME_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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
10
-
4.0
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
C
H
U
0
-
C
H
U
10
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Related Resources

No items found.

References

http://www.openwall.com/lists/oss-security/2026/09/11/10, https://repo.maven.apache.org/maven2, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82617.json, https://lists.apache.org/thread/spzhcxxszqdpppg70m1zz2l3mv29mhl3, https://nvd.nist.gov/vuln/detail/CVE-2026-82617

Severity

10

CVSS Score
0
10

Basic Information

Base CVSS
10
EPSS Probability
0.00767%
EPSS Percentile
0.54157%
Introduced Version
1e9f4d89af6ebc5b6860087589146817dff08b44,1.6.0,1.7.0,3.0.0-M1,0
Fix Available
e27ddb38bed9406a045a0fc9bdf9378422b398a6,2.5.12,3.0.0-M6

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading