CVE-2026-141144: Integer Overflow in Elasticsearch SQL INSERT Result-size Validation
An integer overflow vulnerability in Elasticsearch SQL INSERT string processing can bypass the result-size limit and lead to denial of service. An authenticated user able to execute SQL queries can supply specially crafted string-length arguments that overflow the size calculation before allocation. This can cause excessive memory allocation and terminate the Elasticsearch process.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 8.19.22 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 9.4.7 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 9.5.3
Event History
Frequently Asked Questions
Who can exploit this issue?
An authenticated user who is able to execute SQL queries against Elasticsearch can exploit it. The issue is not described as requiring user interaction or special network positioning beyond access to submit SQL queries.
What must an attacker provide to trigger the denial of service?
The attacker must submit an SQL INSERT operation with specially crafted string-length arguments that cause the result-size calculation to overflow before memory allocation.
What is the likely impact on an affected cluster?
The overflow can bypass the result-size limit, cause excessive memory allocation, and terminate the Elasticsearch process. The provided information describes availability impact only; it does not indicate confidentiality or integrity impact.
Is a default Elasticsearch deployment affected?
The provided information does not establish whether default configurations are affected. Exposure depends at minimum on whether authenticated users can execute SQL queries.