CVE-2026-82617 is a ReDoS vulnerability in Apache OpenNLP's default regex patterns shipped with the RegexNameFinderFactory. The EMAIL pattern exhibits quadratic backtracking behavior on crafted input, while the URL pattern can trigger StackOverflowError on certain inputs. Both patterns are packaged as factory defaults and lack any runtime resource bounds.
The critical insight here is the blast radius of where this lives. RegexNameFinder is explicitly designed to process untrusted external text — that's its entire purpose in the OpenNLP name-finding pipeline. Unlike a regex a developer might write themselves and own the risk for, these patterns carry an implicit endorsement: 'factory-provided, ready to use.' The library makes no mention of computational complexity, provides no timeout configuration, and offers no warning that untrusted input could trigger resource exhaustion.
The EMAIL pattern is particularly devious because it performs acceptably on realistic test data — email addresses match correctly, performance is fine in QA — and returns empty matches rather than errors on non-matching input. The catastrophic scaling only appears with adversarial strings designed to trigger backtracking, which fall outside normal testing workflows. This creates a false negative in threat modeling: developers see correct behavior on expected input and assume the pattern is safe.
This isn't a novel vulnerability class. The EMAIL and URL validation patterns in Java have a documented lineage of ReDoS CVEs — CVE-2012-5375 (JRuby), CVE-2013-4286 (Spring), and several Apache Commons Validator issues all exploited structurally similar ambiguous quantifier constructs between 2011-2014. OpenNLP 2.0.0 shipped in 2014, after this knowledge was public. The failure isn't ignorance of the risk class — it's institutional amnesia about already-CVE-indexed pattern families.
For defenders: upgrade to OpenNLP 2.5.12 or 3.0.0-M6 immediately. More importantly, treat factory-provided regex patterns as requiring the same security review as custom patterns. If you're using getDefaultRegexNameFinders() on any pipeline processing external input, audit those patterns before the upgrade completes. The long-term remediation is treating default patterns as technical debt requiring active maintenance — not passive trust — across every library you depend on.