All vulnerabilities

Maven

CVE-2026-120404

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

Severity
Medium 6.4
Published
19 Nov 2026
Last changed
19 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
2.5.13, 3.0.0
Exploit chance
0.2% in the next 30 daysHigher than 14% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Regular expression denial of service (ReDoS) (CWE-1333)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read some data · Change some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
org.apache.opennlp:opennlp-runtimeMaven · osv:Maven:org.apache.opennlp:opennlp-runtime
  • From 3.0.0-M1 before 3.0.0
org.apache.opennlp:opennlp-toolsMaven · osv:Maven:org.apache.opennlp:opennlp-tools
  • From 2.0.0 before 2.5.13

About org.apache.opennlp:opennlp-runtime

This is the only vulnerability in org.apache.opennlp:opennlp-runtime in our list.

About org.apache.opennlp:opennlp-tools

This is the only vulnerability in org.apache.opennlp:opennlp-tools in our list.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-120404