CVE-2025-3277CWE-122CWE-190

CVE-2025-3277

Critical · published April 14, 2025

CVSS v3.1
9.8
EPSS
1%
Percentile
69.2
In the wild
Unconfirmed
What it is

⚠️ An integer overflow in SQLite’s `concat_ws()` could lead to a wild buffer overflow of up to 4GB! It’s like ordering a small coffee but getting a gallon instead — that’s a big spill waiting to happen! ☕️ Think of this vulnerability like a waiter miscalculating your order. You asked for a single dish, but they just keep piling it onto one plate until it spills everywhere — that’s the buffer overflowing! This could lead to arbitrary code execution, meaning an attacker could run malicious code on your system, potentially wreaking havoc or accessing sensitive data. While no known exploits are reported yet, the potential for chaos is still looming!

Put simply

Think of this vulnerability like a waiter miscalculating your order. You asked for a single dish, but they just keep piling it onto one plate until it spills everywhere — that’s the buffer overflowing! The flaw in SQLite’s `concat_ws()` function allows an integer overflow to occur, which results in a truncated size being used for buffer allocation. When the untruncated size is later used to write data, it can overwrite memory beyond intended limits, causing a heap buffer overflow.

What to do

This could lead to arbitrary code execution, meaning an attacker could run malicious code on your system, potentially wreaking havoc or accessing sensitive data. While no known exploits are reported yet, the potential for chaos is still looming! To mitigate this vulnerability, ensure you are using SQLite version 3.38.0 or later. Additionally, review any applications utilizing SQLite to ensure proper handling of buffer sizes during concatenation operations. You've got this! By updating and taking these steps, you're on your way to securing your applications! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01252 · 69.2th percentile
Weaknesses
CWE-122 · Heap-based Buffer Overflow; CWE-190 · Integer Overflow or Wraparound
Published
2025-04-14T21:15Z
Affected products (1)
ProductVersionsFixed in
sqlite/sqlite≥ 3.44.0, < 3.49.13.49.1
References (3)
EPSS history
Timeline
  • 14 APR 16:50Z
    An integer overflow can be triggered in SQLite’s `concat_ws()` function
    cvelistv5