# CVE-2026-72642: Use of Out-of-range Pointer Offset in the Elasticsearch Machine Learning Native Inference Process

> CVE-2026-72642: Use of Out-of-range Pointer Offset in the Elasticsearch Machine Learning Native Inference Process. CVSS 8.8 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-72642
Last updated: 2026-09-01T14:15:50Z

- Published: 2026-08-13 19:13 UTC · Updated: 2026-09-01 14:15 UTC · Assigner: elastic
- CVSS: 8.8 (CVSS 3.1) · Severity: High · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.60%, 49th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-823

## 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 vendors and products

- Elastic: Elasticsearch

## Tracked companies

- [Elastic Cloud](https://rewindex.com/company/elastic-cloud.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-72642)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-72642)
- [https://discuss.elastic.co/t/elasticsearch-8-19-20-9-4-5-9-5-1-security-update-esa-2026-123/389504](https://discuss.elastic.co/t/elasticsearch-8-19-20-9-4-5-9-5-1-security-update-esa-2026-123/389504)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-72642 · Markdown: https://rewindex.com/cve/CVE-2026-72642.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-72642 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T04:06:10.179Z
