CVE-2026-72642 PUBLISHED

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

Assigner: elastic
Reserved: 10.08.2026 Published: 13.08.2026 Updated: 14.08.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 8.8

Product Status

Vendor Elastic
Product Elasticsearch
Versions Default: unaffected
  • affected from 8.19.0 to 8.19.19 (incl.)
  • affected from 9.4.0 to 9.4.4 (incl.)
  • Version 9.5.0 is affected

References

Problem Types

  • CWE-823 Use of Out-of-range Pointer Offset CWE