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 Versions:
Elasticsearch / SQL
- 7.x: All versions from 7.17.21 up to and including 7.17.29
- 8.x: All versions from 8.13.3 up to and including 8.19.21
- 9.x:
- All versions from 9.0.0 up to and including 9.4.6
- All versions from 9.5.0 up to and including 9.5.2
Solutions and Mitigations:
The issue is resolved in versions 8.19.22, 9.4.7, and 9.5.3.
Severity: CVSSv3.1: Medium ( 6.5 ) - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVE ID: CVE-2026-141144
Problem Type: CWE-190 - Integer Overflow or Wraparound