CVE-2025-3277

CRITICAL
Published Apr 14, 2025 Modified Aug 18, 2025 CWE-122 CWE-190

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.

CVSS v3.1 Score

9.8
CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness Type (CWE)

CWE-122 CWE-122
CWE-190 Integer Overflow

Affected Products

Vendor Product
sqlite sqlite

References

Frequently Asked Questions

What is 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. It has a CVSS v3.1 base score of 9.8 (CRITICAL).
How severe is CVE-2025-3277? +
CVE-2025-3277 has a CVSS v3.1 score of 9.8 out of 10, rated CRITICAL. This is a critical vulnerability that should be patched immediately.
What products are affected by CVE-2025-3277? +
CVE-2025-3277 affects products from sqlite, specifically: sqlite. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2025-3277? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2025-3277 — free, no signup required.

Start Free Scan