Skip to content
6.9 Medium

CVE-2025-3277 An integer overflow can be triggered in SQLite’s `concat_ws()` function

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.

Affected products and versions

Product Affected versions Fixed in
SQLite 3.49 earliest → < 3.49.1 3.49.1
RUGGEDCOM CROSSBOW Station Access Controller (SAC) 5.7 earliest → < 5.7 5.7
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP 3.1 3.1.0 → < 3.1.5 3.1.5
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP 3.1 3.1.0 → < 3.1.5 3.1.5
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP 3.1 3.1.0 → < 3.1.5 3.1.5

References

Timeline

  1. Published
  2. Last modified
The 18 CVEs of SQLite →
Track this CVE