CVE-2025-3277: Buffer Overflow

Published Apr 14, 2025
·
Updated

An integer overflow can be triggered in SQLite’s concatws() 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 Software

2 affected components
SQLite SQLite
SQLite SQLite>=3.44.0<3.49.1

Event History

Apr 14, 2025
CVE Published
via MITRE·04:50 PM
Data Sourced
via MITRE·04:50 PM
DescriptionWeakness
Data Sourced
via Red Hat·05:01 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-3277?

The severity of CVE-2025-3277 is considered high due to the potential for remote code execution and system compromise.

2

How do I fix CVE-2025-3277?

To fix CVE-2025-3277, update SQLite to the latest version where the vulnerability has been patched.

3

What software is affected by CVE-2025-3277?

CVE-2025-3277 affects all versions of SQLite that contain the vulnerable `concat_ws()` function.

4

What type of vulnerability is CVE-2025-3277?

CVE-2025-3277 is classified as an integer overflow vulnerability leading to a heap buffer overflow.

5

Can CVE-2025-3277 lead to data corruption?

Yes, CVE-2025-3277 can potentially result in data corruption due to uncontrolled memory allocation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203