Apache Software FoundationCVE-2026-120404
Apache OpenNLP: denial of service
Fix: upgrade to 2.5.13 or later (2 fixed versions below)
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 versions
| Package | Affected | Fixed in |
|---|---|---|
| Apache OpenNLP Product | >= 2.0.0, < 2.5.13 | 2.5.13 |
| >= 3.0.0-M1, < 3.0.0 | 3.0.0 |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- Severity from
- CISA (its enrichment of the CVE record)
- Weakness
- CWE-1333