Skip to content
COOEY

EXPOSURES › CVE-2025-3277

CVE-2025-3277

CRITICAL
DETAIL
SourceNVD · cve Published2025-04-14 CVSS9.8 Referencehttps://nvd.nist.gov/vuln/detail/CVE-2025-3277 ↗
⚡ RCE SHAME 85/100 rceunpatchedexploited-in-wild

SQLite's concat_ws() function allows a massive 4GB heap buffer overflow via integer overflow, enabling arbitrary code execution.

This critical vulnerability in SQLite's concat_ws() function allows attackers to trigger a heap buffer overflow of approximately 4GB, leading to arbitrary code execution. DIB organizations must immediately patch SQLite libraries to prevent remote code execution and potential system compromise. The flaw is not zero-day but is actively exploitable and represents a significant security risk for any system relying on SQLite.

Shame score — A critical integer overflow flaw enabling a 4GB heap buffer overflow and arbitrary code execution in a foundational database library is a severe, avoidable security failure.

▸ RECOMMENDED ACTION  Remote code execution — patch the affected products on priority.

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 FEDRAMP PRODUCTS · 0
No correlated FedRAMP products.