Skip to content
CVE PROGRAM SOURCE RECORD6.4 Medium

CVE-2026-120404

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

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Apache Software Foundation Apache OpenNLP

Default version status: unaffected

  • 2.0.0 to < 2.5.13affected
pkg:maven/org.apache.opennlp/opennlp-tools

Apache Software Foundation Apache OpenNLP

Default version status: unaffected

  • 3.0.0-M1 to < 3.0.0affected
pkg:maven/org.apache.opennlp/opennlp-runtime

References