CVE-2026-72642
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.
How to fix
- elastic elasticsearch8.19.20, 9.4.5, 9.5.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| elastic elasticsearch | 8.19.0 ≤ v < 8.19.20, 9.4.0 ≤ v < 9.4.5, 9.5.0 ≤ v < 9.5.1 | 8.19.20, 9.4.5, 9.5.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.