Vulnerability in sqlite
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A weakness called CVE-2025-29087 was discovered in sqlite.
Severity is Low (CVSS 3.2/10). Real-world exploitation is unlikely but a fix is still recommended.
What you should do: update the affected software to the latest version. If unsure, ask your IT team or search the vendor's site for "sqlite CVE-2025-29087".
CVE-2025-29087 (sqlite). Severity: Low / CVSSv3 3.2. Category: CWE-190.
Response plan:
- Check the vendor advisory for affected versions and the patched release.
- If a vulnerable version is running in production, schedule maintenance (urgency from KEV/CVSS).
- If no patch yet, mitigate via WAF rule, disabling the affected feature, etc.
- Monitor logs / SIEM for known IOC and PoC signatures of this CVE.
PoCs and fix commits: see the 'References' section, MITRE, and NVD.
A weakness (CVE-2025-29087) in sqlite. A serious software flaw has been identified.
Target versions of sqlite (see vendor advisory). If running in production, identify exposure immediately.
Severity: Low (CVSS 3.2/10). Real-world exploitation is unlikely but a fix is still recommended.
Update to the patched release as listed in the vendor advisory. (Typical mitigation pattern for CWE-190)
If a patch is not yet available, consider disabling the affected feature, applying WAF rules, blocking via network ACLs, or isolating the vulnerable version.
Check version information, scan dependencies via SBOM, and monitor SIEM for IOC and PoC signatures related to this CVE.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'sqlite' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
sqliteを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade sqlite to 3.49.1ステージング環境で 3.49.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Bitnamisqlite |
≥ 3.44.0, < 3.49.1→ 3.49.1 |
3.49.1 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Alpine Linux ALPINE-CVE-2025-29087 sqlite Fix available
- Debian DEBIAN-CVE-2025-29087 sqlite3 Fix available
- Ubuntu UBUNTU-CVE-2025-29087 sqlite3 Fix available
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
References
- advisory nvd.nist.gov
- advisory github.com
- web gist.github.com
- web sqlite.org
- web sqlite.org
- web sqlite.org
- web cert-portal.siemens.com
- web cert-portal.siemens.com
- web github.com