Apache OpenNLP: Denial of service via inefficient regular expression in the coordinate name finder
- CVE-2026-120404
- GHSA-j478-8g4p-j27g
- EUVD-2026-129552
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.
Text from the CVE.org record.
Recommendation
Apache Software Foundation Apache OpenNLP
- If you run 3.0.xupdate to 3.0.0 or laterPatch update: breaking changes are unlikely
- If you run a version from 2.0.0 to before 2.5.13update to 2.5.13 or laterMinor version change: check the release notes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Apache Software Foundation Apache OpenNLP
Affected versions Fixed in from 3.0.0-M1 to before 3.0.0 3.0.0 from 2.0.0 to before 2.5.13 2.5.13
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.