In SQLite 3.44.0 through 3.49.0 before 3.49.1, the concat_ws() SQL function can cause memory to be written beyond the end of a malloc-allocated buffer. If the separator argument is attacker-controlled and has a large string (e.g., 2MB or more), an integer overflow occurs in calculating the size of the result buffer, and thus malloc may not allocate enough memory.
History

Wed, 30 Apr 2025 13:00:00 +0000

Type Values Removed Values Added
First Time appeared Sqlite
Sqlite sqlite
CPEs cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:*
Vendors & Products Sqlite
Sqlite sqlite

Tue, 15 Apr 2025 03:15:00 +0000

Type Values Removed Values Added
Title sqlite: Integer Overflow in SQLite concat Function sqlite: Integer Overflow in SQLite concat_ws Function

Mon, 14 Apr 2025 13:45:00 +0000

Type Values Removed Values Added
Description Sqlite 3.49.0 is susceptible to integer overflow through the concat function. In SQLite 3.44.0 through 3.49.0 before 3.49.1, the concat_ws() SQL function can cause memory to be written beyond the end of a malloc-allocated buffer. If the separator argument is attacker-controlled and has a large string (e.g., 2MB or more), an integer overflow occurs in calculating the size of the result buffer, and thus malloc may not allocate enough memory.
References

Mon, 14 Apr 2025 13:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV3_1

{'score': 3.2, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L'}


Sat, 12 Apr 2025 03:00:00 +0000

Type Values Removed Values Added
Metrics threat_severity

None

threat_severity

Moderate


Thu, 10 Apr 2025 14:30:00 +0000

Type Values Removed Values Added
Title sqlite: Integer Overflow in SQLite concat Function
References

Wed, 09 Apr 2025 08:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 08 Apr 2025 14:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-190
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Mon, 07 Apr 2025 19:45:00 +0000

Type Values Removed Values Added
Description Sqlite 3.49.0 is susceptible to integer overflow through the concat function.
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2025-04-07T00:00:00.000Z

Updated: 2025-04-15T15:14:39.726Z

Reserved: 2025-03-11T00:00:00.000Z

Link: CVE-2025-29087

cve-icon Vulnrichment

Updated: 2025-04-08T13:28:09.196Z

cve-icon NVD

Status : Analyzed

Published: 2025-04-07T20:15:20.253

Modified: 2025-04-30T12:43:22.310

Link: CVE-2025-29087

cve-icon Redhat

Severity : Moderate

Publid Date: 2025-04-07T00:00:00Z

Links: CVE-2025-29087 - Bugzilla