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 Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.opennlp » opennlp-runtimepreliminary | >= 3.0.0-M1, < 3.0.0 | 3.0.0 |
| org.apache.opennlp » opennlp-toolspreliminary | >= 2.0.0, < 2.5.13 | 2.5.13 |
Blast radius
86% of the dependent artifacts (1,080) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 1,517 |
| 2 hops | 6,889 |
| 3 hops | 10,855 |
| 4 hops | 6,393 |
| 5 hops | 962 |
| 6 hops | 97 |
Most used dependents
- dev.langchain4j » langchain4j374 usages
- org.apache.opennlp » opennlp-tools237 usages
- org.opencms » opencms-core134 usages
- io.kaoto.forage » forage-core-common86 usages
- org.squashtest.tm » tm.service79 usages
- io.quarkiverse.langchain4j » quarkus-langchain4j-core78 usages
- io.quarkiverse.langchain4j » quarkus-langchain4j-core-deployment64 usages
- com.alibaba.cloud.ai » spring-ai-alibaba-core63 usages
- com.alibaba.cloud.ai » spring-ai-alibaba-dashscope50 usages
- dev.langchain4j » langchain4j-mcp48 usages
- org.squashtest.tm » tm.web44 usages
- io.github.agentic-spring-ai » agentic-spring-ai-dashscope43 usages
- org.thingsboard.langchain4j » langchain4j42 usages
- com.yahoo.vespa » container-dev40 usages
- io.kaoto.forage » forage-core-ai35 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
