CVE-2026-120404: Apache OpenNLP: Denial of service via inefficient regular expression in the coordinate name finder
The built-in regular expression name finder for latitude and longitude coordinates uses a pattern that is vulnerable to excessive backtracking. An attacker who can supply text that an application analyzes with this name finder can cause high CPU consumption, leading to denial of service. Users are recommended to upgrade to version 2.5.13 or 3.0.0, which fix the issue.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.5.13 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 3.0.0