Description
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.
Published: 2025-04-07
Score: 3.2 Low
EPSS: < 1% Very Low
KEV: No
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No solution or workaround provided in the CVE record.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-10312 Sqlite 3.49.0 is susceptible to integer overflow through the concat function.
Ubuntu USN Ubuntu USN USN-7528-1 SQLite vulnerabilities
History

Thu, 15 Oct 2026 04:30:00 +0200


Wed, 30 Apr 2025 15:00:00 +0200

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 05:15:00 +0200

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 15:45:00 +0200

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 15:30:00 +0200

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 05:00:00 +0200

Type Values Removed Values Added
Metrics threat_severity

None

threat_severity

Moderate


Thu, 10 Apr 2025 16:30:00 +0200

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

Wed, 09 Apr 2025 10:15:00 +0200

Type Values Removed Values Added
Metrics ssvc

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


Tue, 08 Apr 2025 16:45:00 +0200

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 21:45:00 +0200

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:

Updated: 2026-10-15T01:05:57.161Z

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

Link: CVE-2025-29087

cve-icon Vulnrichment

Updated: 2026-10-15T01:05:57.161Z

cve-icon NVD

Status : Modified

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

Modified: 2026-10-15T02:17:47.313

Link: CVE-2025-29087

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2025-29087 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses
  • CWE-190

    Integer Overflow or Wraparound