HIGH 8.8

CVE-2026-72642

Use of Out-of-range Pointer Offset in the Elasticsearch Machine Learning Native Inference Process

Description

The native inference process that Elasticsearch uses to evaluate uploaded machine learning models accepts a model operation that computes a memory address from an offset supplied inside the model, without validating that the offset stays within the bounds of the underlying storage. A user with the privileges required to upload and deploy a trained model can craft a model that reads and writes memory outside the intended allocation. The result is heap corruption that crashes the inference process, and, with sufficient control over the heap layout, could allow arbitrary code execution in the context of that process.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.elasticsearch » elasticsearch
>= 8.19.0, <= 8.19.19>= 9.4.0, <= 9.4.4= 9.5.0
-

Blast radius

1affected artifacts
26affected versions
22dependent artifacts (est.)
757dependent versions

22% of the dependent artifacts (5) still pull an affected version in their latest release.

DepthDependent versions
Direct
263
2 hops
258
3 hops
230
4 hops
6

Most used dependents

Computed from the dependency graph of build 20261129.2353 (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.