Apache OpenNLP Regex NameFinder ReDoS before 2.5.13/3.0.0
CVE-2026-120404 Published on November 19, 2026

Apache OpenNLP: Denial of service via inefficient regular expression in the coordinate name finder
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.

Vendor Advisory NVD

Weakness Type

What is a ReDoS Vulnerability?

The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles. Some regular expression engines have a feature called "backtracking". If the token cannot match, the engine "backtracks" to a position that may result in a different token that can match. Backtracking becomes a weakness if all of these conditions are met:

CVE-2026-120404 has been classified to as a ReDoS vulnerability or weakness.


Affected Versions

Apache Software Foundation Apache OpenNLP: Apache Software Foundation Apache OpenNLP: