CVE-2026-120404

Apache OpenNLP: Denial of service via inefficient regular expression in the coordinate name finder

Medium published · updated

6.4
CVSS score out of 10 · NVD (134c704f-9b21-4f2e-91b3-4a467353bcc0)

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
org.apache.opennlp:opennlp-tools maven 2.0.0 → <2.5.132.5.13 CVE.org
apache opennlp apache software foundation 2.0.0 → <2.5.132.5.13 CVE.org
org.apache.opennlp:opennlp-runtime maven 3.0.0-M1 → <3.0.03.0.0 CVE.org
apache opennlp apache software foundation 3.0.0-M1 → <3.0.03.0.0 CVE.org

References