Skip to content
Noroxi
CVE-2025-3277· NVD / CVE Program· CNA Google

An integer overflow can be triggered in SQLite’s `concat_ws()` function.

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.

MediumCVSS 6.9 · v4.0—No exploit Fix available
Published
Apr 14, 2025
Updated
Jun 17, 2026
EPSS
0.8% · 56th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

27

Monitor

Low priority for now.

CVSS
27 / 40 · 6.9 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.8%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
—
CNA · Google
6.9
NVD has not scored this yet; the score shown is the CNA’s.

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Affected systems

VendorProduct
sqlitesqlite

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • sqlite sqlite3.44.0 and later · before 3.49.1

Versions reported by the vendor

Affected version ranges reported by the assigning authority (Google). Independent of NVD's CPE analysis and usually ahead of it.

  • SQLite sqlite

    • < 3.49.1affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:10sqlitebefore 3.46.1-4.el10_03.46.1-4.el10_0
AlmaLinux:10sqlite-develbefore 3.46.1-4.el10_03.46.1-4.el10_0
AlmaLinux:10sqlite-libsbefore 3.46.1-4.el10_03.46.1-4.el10_0
AlmaLinux:8nodejsbefore 1:22.15.0-1.module_el8.10.0+3986+a908e7561:22.15.0-1.module_el8.10.0+3986+a908e756
AlmaLinux:8nodejs-develbefore 1:22.15.0-1.module_el8.10.0+3986+a908e7561:22.15.0-1.module_el8.10.0+3986+a908e756
AlmaLinux:8nodejs-docsbefore 1:22.15.0-1.module_el8.10.0+3986+a908e7561:22.15.0-1.module_el8.10.0+3986+a908e756
AlmaLinux:8nodejs-full-i18nbefore 1:22.15.0-1.module_el8.10.0+3986+a908e7561:22.15.0-1.module_el8.10.0+3986+a908e756
AlmaLinux:8nodejs-libsbefore 1:22.15.0-1.module_el8.10.0+3986+a908e7561:22.15.0-1.module_el8.10.0+3986+a908e756
AlmaLinux:8nodejs-nodemonbefore 3.0.1-1.module_el8.10.0+3983+391a1a043.0.1-1.module_el8.10.0+3983+391a1a04
AlmaLinux:8nodejs-packagingbefore 2021.06-4.module_el8.10.0+3961+6a788e572021.06-4.module_el8.10.0+3961+6a788e57
AlmaLinux:8nodejs-packaging-bundlerbefore 2021.06-4.module_el8.10.0+3961+6a788e572021.06-4.module_el8.10.0+3961+6a788e57
AlmaLinux:8npmbefore 1:10.9.2-1.22.15.0.1.module_el8.10.0+3986+a908e7561:10.9.2-1.22.15.0.1.module_el8.10.0+3986+a908e756
AlmaLinux:8v8-12.4-develbefore 3:12.4.254.21-1.22.15.0.1.module_el8.10.0+3986+a908e7563:12.4.254.21-1.22.15.0.1.module_el8.10.0+3986+a908e756
AlmaLinux:9nodejsbefore 1:22.15.0-1.module_el9.6.0+164+2d89b8ed1:22.15.0-1.module_el9.6.0+164+2d89b8ed
AlmaLinux:9nodejs-develbefore 1:22.15.0-1.module_el9.6.0+164+2d89b8ed1:22.15.0-1.module_el9.6.0+164+2d89b8ed
AlmaLinux:9nodejs-docsbefore 1:22.15.0-1.module_el9.6.0+164+2d89b8ed1:22.15.0-1.module_el9.6.0+164+2d89b8ed
AlmaLinux:9nodejs-full-i18nbefore 1:22.15.0-1.module_el9.6.0+164+2d89b8ed1:22.15.0-1.module_el9.6.0+164+2d89b8ed
AlmaLinux:9nodejs-libsbefore 1:22.15.0-1.module_el9.6.0+164+2d89b8ed1:22.15.0-1.module_el9.6.0+164+2d89b8ed
AlmaLinux:9nodejs-nodemonbefore 3.0.1-1.module_el9.5.0+139+092964913.0.1-1.module_el9.5.0+139+09296491
AlmaLinux:9nodejs-packagingbefore 2021.06-4.module_el9.5.0+139+092964912021.06-4.module_el9.5.0+139+09296491
AlmaLinux:9nodejs-packaging-bundlerbefore 2021.06-4.module_el9.5.0+139+092964912021.06-4.module_el9.5.0+139+09296491
AlmaLinux:9npmbefore 1:10.9.2-1.22.15.0.1.module_el9.6.0+164+2d89b8ed1:10.9.2-1.22.15.0.1.module_el9.6.0+164+2d89b8ed
AlmaLinux:9v8-12.4-develbefore 3:12.4.254.21-1.22.15.0.1.module_el9.6.0+164+2d89b8ed3:12.4.254.21-1.22.15.0.1.module_el9.6.0+164+2d89b8ed
Alpine:v3.21sqlitefrom 3.44.0 · before 3.48.0-r13.48.0-r1

+63

Other highest-scoring records for the same primary product.

  • CVE-2019-8457SQLite3 from 3.6.0 to and including 3.27.2 is vulnerable to heap out-of-bound read in the rtreenode() function when handling invalid rtree t
    53Plan
  • CVE-2025-6965Integer Truncation on SQLite
    50Plan
  • CVE-2015-5895Multiple unspecified vulnerabilities in SQLite before 3.8.10.2, as used in Apple iOS before 9, have unknown impact and attack vectors.
    43Plan
  • CVE-2017-10989The getNodeSize function in ext/rtree/rtree.c in SQLite through 3.19.3, as used in GDAL and other products, mishandles undersized RTree blob
    42Plan
  • CVE-2020-11656In SQLite through 3.31.1, the ALTER TABLE implementation has a use-after-free, as demonstrated by an ORDER BY clause that belongs to a compo
    41Plan
  • CVE-2019-19646pragma.c in SQLite through 3.30.1 mishandles NOT NULL in an integrity_check PRAGMA command in certain cases of generated columns.
    41Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
almalinux:nodejs1:22.15.0-1.module_el8.10.0+3986+a908e756 · AlmaLinux:8Package registry (OSV)
almalinux:nodejs-devel1:22.15.0-1.module_el8.10.0+3986+a908e756 · AlmaLinux:8Package registry (OSV)
almalinux:nodejs-docs1:22.15.0-1.module_el8.10.0+3986+a908e756 · AlmaLinux:8Package registry (OSV)
almalinux:nodejs-full-i18n1:22.15.0-1.module_el8.10.0+3986+a908e756 · AlmaLinux:8Package registry (OSV)
almalinux:nodejs-libs1:22.15.0-1.module_el8.10.0+3986+a908e756 · AlmaLinux:8Package registry (OSV)
almalinux:nodejs-nodemon3.0.1-1.module_el8.10.0+3983+391a1a04 · AlmaLinux:8Package registry (OSV)
almalinux:nodejs-packaging2021.06-4.module_el8.10.0+3961+6a788e57 · AlmaLinux:8Package registry (OSV)
almalinux:nodejs-packaging-bundler2021.06-4.module_el8.10.0+3961+6a788e57 · AlmaLinux:8Package registry (OSV)
almalinux:npm1:10.9.2-1.22.15.0.1.module_el8.10.0+3986+a908e756 · AlmaLinux:8Package registry (OSV)
almalinux:sqlite3.46.1-4.el10_0 · AlmaLinux:10Package registry (OSV)
almalinux:sqlite-devel3.46.1-4.el10_0 · AlmaLinux:10Package registry (OSV)
almalinux:v8-12.4-devel3:12.4.254.21-1.22.15.0.1.module_el8.10.0+3986+a908e756 · AlmaLinux:8Package registry (OSV)
alpine:sqlite3.48.0-r1 · Alpine:v3.21Package registry (OSV)
debian:sqlite33.46.1-3 · Debian:13Package registry (OSV)
opensuse:sqlite33.49.1-150000.3.27.1 · openSUSE:Leap 15.6Package registry (OSV)
red hat:nodejs1:22.15.0-1.module+el8.10.0+23068+28ff2340 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:nodejs-debuginfo1:22.15.0-1.module+el8.10.0+23068+28ff2340 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:nodejs-debugsource1:22.15.0-1.module+el8.10.0+23068+28ff2340 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:nodejs-devel1:22.15.0-1.module+el8.10.0+23068+28ff2340 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:nodejs-docs1:22.15.0-1.module+el8.10.0+23068+28ff2340 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:nodejs-full-i18n1:22.15.0-1.module+el8.10.0+23068+28ff2340 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:nodejs-libs1:22.15.0-1.module+el8.10.0+23068+28ff2340 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:nodejs-libs-debuginfo1:22.15.0-1.module+el8.10.0+23068+28ff2340 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:nodejs-nodemon0:3.0.1-1.module+el8.10.0+23068+28ff2340 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:nodejs-packaging0:2021.06-4.module+el8.10.0+23068+28ff2340 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:nodejs-packaging-bundler0:2021.06-4.module+el8.10.0+23068+28ff2340 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:npm1:10.9.2-1.22.15.0.1.module+el8.10.0+23068+28ff2340 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
rocky linux:nodejs1:22.15.0-1.module+el8.10.0+1971+0bb08ece · Rocky Linux:8Package registry (OSV)
rocky linux:nodejs-nodemon0:3.0.1-1.module+el8.10.0+1988+437f3d23 · Rocky Linux:8Package registry (OSV)
rocky linux:nodejs-packaging0:2021.06-4.module+el8.10.0+1667+4a788d89 · Rocky Linux:8Package registry (OSV)

+3

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

  • CVE-2026-11822421 days apartSQLite before 3.53.2 Memory Corruption in FTS5 Extension
    34Monitor
  • CVE-2026-11824421 days apartSQLite before 3.53.2 Heap Buffer Overflow via FTS5 fts5ChunkIterate
    34Monitor
  • CVE-2023-7104472 days apartSQLite SQLite3 make alltest sqlite3session.c sessionReadRecord heap-based overflow
    29Monitor

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
Integrity
Availability
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
X

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

nvd-secondary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

ATT&CK techniques

—

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

Vendor advisories and official records. Exploit/PoC links are deliberately left out.

All records