CVE-2026-120404
Apache OpenNLP: Denial of service via inefficient regular expression in the coordinate name finder
Medium · 6.4Fix available
- CVSS
- 6.4
- EPSS
- 0.24% (p16)
- Published
- 2026-11-19
- Age
- 15d old
- Modified
- 2026-11-20
- Product
- Apache Software Foundation Apache OpenNLP
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Description
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.
Fixed in
2.5.13 · 3.0.0
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| unknown | org.apache.opennlp:opennlp-runtime | >=3.0.0-M1, <3.0.0 | 3.0.0 |
| unknown | org.apache.opennlp:opennlp-tools | >=2.0.0, <2.5.13 | 2.5.13 |