CVE-2025-29087
JSON

3.2low

In SQLite 3.44.0 through 3.49.0 before 3.49.1, the concatws() SQL function can cause memory to be written beyond the end of a malloc-alloca…

Severity
3.2low CVSS:3.1 by mitre
Exploit likelihood
0.53% (higher than 46% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
BIT-SQLITE-2025-29087

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.

Affected

Product or packageVersionsReported by
SQLite SQLitefrom 3.44.0 before 3.49.1CVE List, NVD
sqlite (Bitnami)from 3.44.0 before 3.49.1Bitnami Vulnerability Database

All scores

mitre3.2low CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-190

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

Sqlite 3.49.0 es susceptible al desbordamiento de enteros a través de la función concat.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-29087 changed 2026-10-15CVE Terms of Use
NVDCVE-2025-29087 changed 2026-10-15Public domain
Bitnami Vulnerability DatabaseBIT-SQLITE-2025-29087 changed 2026-09-08Apache-2.0