All reports
Medium

sqlite: Integer Overflow in SQLite concat_ws Function

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-29087

Probability of exploitation in the next 30 days: 0.53%

FIRST EPSS · 2026-11-18

Description

In SQLite 3.44.0 through 3.49.0 before 3.49.1, the concat_ws() SQL function can cause memory to be written beyond the end of a malloc-allocated buffer. If the separator argument is attacker-controlled and has a large string (e.g., 2MB or more), an integer overflow occurs in calculating the size of the result buffer, and thus malloc may not allocate enough memory.

A flaw was found in SQLite. This vulnerability allows an attacker to cause an integer overflow via the concat_ws function.