CVE-2026-72642
Received
Received - Intake
Elasticsearch Native Inference Heap Corruption Vulnerability
Vulnerability report for CVE-2026-72642, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-08-13
Last updated on: 2026-08-13
Assigner: Elastic
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| elastic | elasticsearch | * |
| elastic | elasticsearch | From 8.19.0 (inc) to 8.19.19 (inc) |
| elastic | elasticsearch | From 9.4.0 (inc) to 9.4.4 (inc) |
| elastic | elasticsearch | From 9.5.0 (inc) to 9.5.1 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-823 | The product performs pointer arithmetic on a valid pointer, but it uses an offset that can point outside of the intended range of valid memory locations for the resulting pointer. |