CVE-2025-3277
Published: April 15, 2025Last modified: September 1, 2025
Description
An integer overflow can be triggered in SQLite’s `concat_ws()` function. The resulting, truncated integer is then used to allocate a buffer. When SQLite then writes the resulting string to the buffer, it uses the original, untruncated size and thus a wild Heap Buffer overflow of size ~4GB can be triggered. This can result in arbitrary code execution.
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score | 9.8 |
| Attack Vector | NETWORK |
| Attack complexity | LOW |
| Privileges required | NONE |
| User interaction | NONE |
| Scope | UNCHANGED |
| Confidentiality | HIGH |
| Integrity impact | HIGH |
| Availability impact | HIGH |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Status
| Product | Release | Package | Status |
|---|---|---|---|
| Alpaquita Linux | 23 LTS | sqlite | Not affected (3.40.0-r0) |
| 25 LTS | sqlite | Not affected (3.49.2-r0) | |
| Stream | sqlite | Fixed (3.46.1-r0) | |
| Hardened Containers | 23 LTS | sqlite | Not affected (3.40.0-r0) |
| Stream | sqlite | Fixed (3.46.1-r0) |