CVE-2025-3277

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.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:*

History

No history.

Information

Published : 2025-04-14 17:15

Updated : 2025-08-18 21:28


NVD link : CVE-2025-3277

Mitre link : CVE-2025-3277

CVE.ORG link : CVE-2025-3277


JSON object : View

Products Affected

sqlite

  • sqlite
CWE
CWE-122

Heap-based Buffer Overflow

CWE-190

Integer Overflow or Wraparound