CVE-2026-72642: CWE-823 Use of Out-of-range Pointer Offset in Elastic Elasticsearch
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.
AI Analysis
Technical Summary
The vulnerability arises because the native inference process in Elasticsearch does not validate that an offset used to compute a memory address from a model operation remains within the allocated storage bounds. A maliciously crafted model can exploit this to perform out-of-bounds memory access, causing heap corruption. With sufficient control over heap layout, this can escalate to arbitrary code execution within the inference process context. The affected versions explicitly include Elasticsearch 8.19.0, 9.4.0, and 9.5.0. No patch or remediation level has been published yet, and no known exploits are reported in the wild.
Potential Impact
Successful exploitation can lead to heap corruption causing denial of service by crashing the inference process. More critically, it may allow an attacker to execute arbitrary code within the context of the Elasticsearch inference process, potentially compromising the system. The attack requires privileges to upload and deploy machine learning models, limiting the threat to authorized users.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict the ability to upload and deploy machine learning models to trusted users only. Monitor vendor communications for updates on patches or official mitigations.
CVE-2026-72642: CWE-823 Use of Out-of-range Pointer Offset in Elastic Elasticsearch
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 v3.1
Score 8.8high
Affected software
pkg:maven/org.elasticsearch/elasticsearchRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises because the native inference process in Elasticsearch does not validate that an offset used to compute a memory address from a model operation remains within the allocated storage bounds. A maliciously crafted model can exploit this to perform out-of-bounds memory access, causing heap corruption. With sufficient control over heap layout, this can escalate to arbitrary code execution within the inference process context. The affected versions explicitly include Elasticsearch 8.19.0, 9.4.0, and 9.5.0. No patch or remediation level has been published yet, and no known exploits are reported in the wild.
Potential Impact
Successful exploitation can lead to heap corruption causing denial of service by crashing the inference process. More critically, it may allow an attacker to execute arbitrary code within the context of the Elasticsearch inference process, potentially compromising the system. The attack requires privileges to upload and deploy machine learning models, limiting the threat to authorized users.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict the ability to upload and deploy machine learning models to trusted users only. Monitor vendor communications for updates on patches or official mitigations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- elastic
- Date Reserved
- 2026-08-10T11:17:35.480Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a7e1a81bf8831d539b182c8
Added to database: 08/13/2026, 19:26:57 UTC
Last enriched: 08/13/2026, 19:56:08 UTC
Last updated: 08/14/2026, 04:26:56 UTC
Views: 22
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.