CVE-2025-3277: SQLite’s concat_ws() function · Integer Overflow Can Be Triggered
Affects sqliteSource GCVE Database
Not known to be exploited · CVSS 6.9 Medium : upgrade to 3.49.1 when convenient.
Data as of 26 Oct 2026, 09:15 UTC
- EPSS
- 1.2% chance of exploitation in 30 days – higher than 69% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.49.1
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:LExploitation evidence
Disclosed: evidence found.
CVE published 14 Apr 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade sqlite to 3.49.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Bitnamisqlitepkg:bitnami/sqliteOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A security update is available from Red Hat as detailed in advisory RHSA-2025:4459. Users should apply the updated Node.js 22 module packages for Red Hat Enterprise Linux 8 to remediate this vulnerability. Refer to https://access.redhat.com/articles/11258 for update instructions. No additional mitigation steps are indicated by the vendor advisory.
Description
An integer overflow can be triggered in SQLite’s `concat_ws()` function. The resulting, truncated integer is then used to allocate a buffer. When SQLite then writes the resulting string to the buffer, it uses the original, untruncated size and thus a wild Heap Buffer overflow of size ~4GB can be triggered. This can result in arbitrary code execution.
References
- access.redhat.com/errata/RHSA-2025:4459 (opens in a new tab)
- access.redhat.com/security/updates/classification/ (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2358271 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2359553 (opens in a new tab)
- issues.redhat.com/browse/RHEL-78761 (opens in a new tab)
- issues.redhat.com/browse/RHEL-88883 (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_4459.json (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2025-3277 (opens in a new tab)
- sqlite.org/src/info/498e3f1cf57f164f (opens in a new tab)