CVE-2025-29087 json
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-alloc…
published 2025-04-07 19 mo ago modified 2026-10-15 25 d ago also BIT-sqlite-2025-29087 , EUVD-2025-10312
- cvss
- 3.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 45%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami sqlite 3.49.1
- SQLite SQLite 3.49.1
- Siemens RUGGEDCOM CROSSBOW Station Access Controller (SAC) V5.7
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
- sqlite3 Debian 14, Debian 13 3.46.1-3
debian advisories DEBIAN-CVE-2025-29087
- sqlite3 Ubuntu 24.04 LTS 3.45.1-1ubuntu2.3
ubuntu advisories UBUNTU-CVE-2025-29087
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- sqlite3 SLE Module for Basesystem 15 SP7, SLE Module for Basesystem 15 SP6, SLE Micro 5.5 +19 more 3.49.1-150000.3.27.1
- sqlite3 Linux Micro 6.1 3.49.1-slfo.1.1_1.1
- sqlite3 Linux Micro 6.0 3.49.1-1.1
- sqlite3 SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 3.49.1-9.33.1
suse advisories SUSE-SU-2025:01456-2SUSE-SU-2025:01455-1SUSE-SU-2025:20395-1SUSE-SU-2025:01456-1SUSE-SU-2025:20323-1SUSE-SU-2025:1455-1
- sqlite3 openSUSE Tumbleweed 3.49.1-3.1
opensuse advisories openSUSE-SU-2025:14991-1
- sqlite Alpine 3.19 3.44.2-r1
- sqlite Alpine 3.20 3.45.3-r2
- sqlite Alpine 3.21 3.48.0-r1
alpine advisories ALPINE-CVE-2025-29087
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-29087 updated cvss 5.5
sqlite: Integer Overflow in SQLite concat_ws Function
-
Red Hat Enterprise Linux 6 lemon, sqlite, sqlite-tcl Red Hat Enterprise Linux 7 lemon, sqlite, sqlite-tclaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 rls, rust, cargo, clippy, rustfmt, rust-gdb, +8 more Red Hat Enterprise Linux 9 rust, cargo, clippy, rustfmt, rust-gdb, rust-src, +8 more Red Hat Enterprise Linux 10 sqliteaffected: workaround, no fix planned “Will not fix”
-
Red Hat Enterprise Linux 8 npm, lemon, nodejs, sqlite, nodejs-libs, sqlite-libs, +7 more Red Hat Enterprise Linux 9 npm, nodejs, sqlite, nodejs-libs, sqlite-libs, nodejs-full-i18n Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-25-226-08 updated cvss 5.5
Siemens RUGGEDCOM CROSSBOW Station Access Controller
-
Siemens RUGGEDCOM CROSSBOW Station Access Controller (SAC) < 5.7affected: fixed in V5.7 support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 19 mo ago
Exploit prediction
0.53% chance of exploitation in the next 30 days, higher than 45% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.2 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | sqlite | >=3.44.0, <3.49.1 |
3.49.1 |
Affected products
- SQLite SQLite
- Siemens RUGGEDCOM CROSSBOW Station Access Controller (SAC)
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
Classification
- Weakness
-
- CWE-190 Integer Overflow or Wraparound
References
-
sqlite.org
/cves.html
vendor-advisory, advisory
-
gist.github.com
/ylwango613/a44a29f1ef074fa783e29f04a0afd62a
third-party-advisory, advisory
-
sqlite.org
/releaselog/3_49_1.html
release-notes, article
- cert-portal.siemens.com /productcert/html/ssa-398330.html
- cert-portal.siemens.com /productcert/html/ssa-994087.html
-
nvd.nist.gov
/vuln/detail/CVE-2025-29087
web
-
sqlite.org
/src/info/498e3f1cf57f164f
web
Sources
- CVE List CVE-2025-29087
- NVD CVE-2025-29087
- OSV BIT-sqlite-2025-29087
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.