CVE-2026-72642

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

State
Published
Severity
8.8 High
Published
Aug 13, 2026
Updated
Aug 14, 2026
Reserved
Aug 10, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Helastic

Weaknesses

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

Affected Products

ProductVersions
ElasticsearchElastic
  • 8.19.0 through 8.19.19Affected
  • 9.4.0 through 9.4.4Affected
  • 9.5.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.