Skip to main content

SQLite CVE-2026-11824

| EUVDEUVD-2026-35801 HIGH
Heap-based Buffer Overflow (CWE-122)
2026-06-09 VulnCheck GHSA-8g48-4wfm-7247
8.5
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Craft malicious SQLite DB with bad szLeaf
  2. Delivery
    Deliver file via email or sync
  3. Exploit
    Victim app opens database
  4. Install
    FTS5 MATCH query invokes fts5ChunkIterate()
  5. C2
    Integer underflow inflates byte count
  6. Execute
    Heap overflow with attacker bytes
  7. Impact
    Arbitrary code execution in app context

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires (1) the target application to be linked against SQLite older than 3.53.2 compiled with SQLITE_ENABLE_FTS5, (2) the attacker to deliver a crafted SQLite database file whose FTS5 continuation page metadata sets szLeaf to a value less than 4, and (3) the victim application to execute an FTS5 MATCH query against that database - corresponding to the CVSS UI:P (passive user interaction) requirement. Exploitation is bounded by the fact that the attack vector is Local (AV:L) - the malicious database must reach the victim host as a file rather than be served over a live network protocol - and applications built without FTS5 or that never run MATCH queries against untrusted databases are not exploitable.

Impact

CVSS 4.0 vector AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H scores 8.5 and reflects the realistic threat model: the attacker does not need credentials but does need the victim to interact with a malicious database (UI:P), and the attack vector is Local because SQLite consumes a file rather than a network stream. That said, 'local' here is misleading for risk triage - any application that imports or opens a user-supplied .sqlite/.db file (sync clients, note apps, browsers' WebSQL/IndexedDB-on-SQLite layers, mobile backup importers) effectively converts this into a remote drive-by once a file is delivered. No public exploit identified at time of analysis and the CVE is not on the CISA KEV list, and no EPSS score was supplied; combined with the requirement that the target application actually execute an FTS5 MATCH query on the attacker's database, real-world exploitation is plausible but conditional rather than mass-scannable. The high impact triad (VC:H/VI:H/VA:H) plus VulnCheck reporting and the existence of two upstream commits justify prioritizing this for any product that ships SQLite with FTS5.

Exploit ScenarioDerived

An attacker crafts a malicious SQLite database whose FTS5 segment contains a continuation page with szLeaf set to a value less than 4, then delivers it to a victim via email attachment, file-sharing link, app backup import, or sync service. When the victim's application opens the database and executes any FTS5 MATCH query (often triggered automatically by search UI), fts5ChunkIterate() underflows its remaining-bytes counter and overruns the heap with attacker-controlled bytes, yielding a process crash or arbitrary code execution in the application's context.

This Week Schedule remediation this week. Why: Active threat signals + CRITICAL/HIGH severity.
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – Jun 09, 2026

Heap-based buffer overflow in SQLite's FTS5 full-text search extension (versions before 3.53.2) allows attackers to crash the process or execute arbitrary code by supplying a malicious database file that triggers an integer underflow in fts5ChunkIterate() during MATCH query processing. The flaw affects any application compiled with SQLITE_ENABLE_FTS5 that opens an attacker-supplied database and runs an FTS5 query against it; no public exploit identified at time of analysis, though VulnCheck has published an advisory.

Earlier versions of this analysis (2)
v2 Jun 09, 2026 - 20:42 cvss changed CVSS 8.5

Heap-based buffer overflow in SQLite versions prior to 3.53.2 allows attackers to crash the process or achieve arbitrary code execution by supplying a malicious database file processed by the FTS5 full-text search extension. The flaw stems from an integer underflow in fts5ChunkIterate() triggered when continuation page metadata specifies a szLeaf value below 4, and it affects any application compiled with SQLITE_ENABLE_FTS5 that opens attacker-controlled databases. No public exploit identified at time of analysis, and the vulnerability is not listed in CISA KEV, but VulnCheck has issued an advisory and a vendor patch is available.

v1 Jun 09, 2026 - 20:09 CVSS 7.8

Heap-based buffer overflow in SQLite's FTS5 full-text search extension prior to version 3.53.2 enables local attackers to crash the process or execute arbitrary code when a victim opens a maliciously crafted database file. The flaw resides in fts5ChunkIterate() where an integer underflow on attacker-controlled szLeaf metadata produces an inflated byte count during MATCH query processing. No public exploit identified at time of analysis, though VulnCheck has published an advisory and SQLite has issued patched commits.

RemediationAI

Upgrade SQLite to version 3.53.2 or later, which contains the upstream fixes tracked at https://sqlite.org/src/info/061febcf41ca and https://sqlite.org/src/info/4a5ad516ea93; consult https://sqlite.org/releaselog/3_53_2.html for full release notes. For embedders that cannot immediately rebuild, the most effective compensating control is to recompile without SQLITE_ENABLE_FTS5 if FTS5 is not used, which eliminates the vulnerable code path at the cost of breaking any application feature that depends on full-text search. Where FTS5 must remain enabled, restrict the application to opening only databases produced by trusted code paths and refuse to attach or import user-supplied .db/.sqlite files; if user-supplied databases are unavoidable, validate them by opening read-only and avoiding MATCH queries against untrusted FTS5 indexes, accepting that this materially reduces search functionality.

Affected VersionsENISA

SQLite 0 <3.53.2

Affected Packages

euvd sqlite fix: 3.53.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

SQLite's FTS5 module implements full-text indexing by storing inverted-index data across segment B-trees whose leaf pages carry a szLeaf metadata field indicating the size of the leaf's term payload. The fts5ChunkIterate() routine walks continuation pages following a leaf and uses szLeaf to compute the remaining byte count of the chunk. When szLeaf is less than 4, an unchecked subtraction underflows a size_t/integer counter, producing an extremely large 'remaining' value that subsequent copy/read loops treat as legitimate - the canonical CWE-122 heap-based buffer overflow pattern, here reached via untrusted page metadata rather than untrusted query text. Affected CPE is cpe:2.3:a:sqlite:sqlite:*, meaning the bug lives in the upstream amalgamation and propagates to every embedder (browsers, mobile OSes, language stdlibs, desktop apps) that links a vulnerable SQLite with FTS5 enabled, which is the default in most distributions.

Know when Sqlite gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.5 HIGH
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Red Hat 7.8 HIGH

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Analysis Updated
Jun 09, 2026 - 20:43 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 09, 2026 - 20:42 vuln.today
v2 - CVSS changed
CVSS changed
Jun 09, 2026 - 20:22 NVD
7.8 (HIGH) 8.5 (HIGH)

DescriptionCVE.org

SQLite before 3.53.2 contains a heap-based buffer overflow vulnerability in the FTS5 full-text search extension that allows attackers to cause a crash or execute arbitrary code by supplying a crafted database with malicious continuation page metadata specifying a szLeaf value smaller than 4. Attackers can trigger an integer underflow in fts5ChunkIterate() causing an inflated remaining byte count during FTS5 MATCH query processing, leading to a heap buffer overflow of attacker-controlled data in applications compiled with SQLITE_ENABLE_FTS5.

Executive ViewAI

Why It Matters

SQLite FTS5 (versions before 3.53.2) contains a buffer overflow vulnerability enabling arbitrary code execution when applications process attacker-supplied database files. This affects any organization using SQLite in production applications, creating risk of data theft, system compromise, and application outages. Affected systems include web applications, embedded systems, and any service processing untrusted database inputs.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Threat Intel
1
1 sources
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CISA MSRC Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat Yes
Deciding rule
Active threat signals + CRITICAL/HIGH severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

52
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: +10
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Sqlite

View all
CVE-2015-5895 CRITICAL POC
10.0 Sep 18

Multiple unspecified vulnerabilities in SQLite before 3.8.10.2, as used in Apple iOS before 9, have unknown impact and a

CVE-2019-8457 CRITICAL
9.8 May 30

SQLite3 from 3.6.0 to and including 3.27.2 is vulnerable to heap out-of-bound read in the rtreenode() function when hand

CVE-2022-35737 HIGH POC
7.5 Aug 03

SQLite 1.0.12 through 3.39.x before 3.39.2 sometimes allows an array-bounds overflow if billions of bytes are used in a

CVE-2017-10989 CRITICAL
9.8 Jul 07

The getNodeSize function in ext/rtree/rtree.c in SQLite through 3.19.3, as used in GDAL and other products, mishandles u

CVE-2025-6965 HIGH POC
7.2 Jul 15

Memory corruption in SQLite versions before 3.50.2 allows network-based attackers with low privileges to manipulate aggr

CVE-2019-5018 HIGH POC
8.1 May 10

An exploitable use after free vulnerability exists in the window function functionality of Sqlite3 3.26.0. Rated high se

CVE-2025-71316 CRITICAL POC
9.2 Jun 04

Arbitrary DLL loading in SQLite's sqldiff.exe utility on Windows allows attackers to achieve code execution by abusing t

CVE-2026-11822 MEDIUM POC
6.8 Jun 09

Memory corruption in SQLite versions before 3.53.2 enables attackers to crash processes, exhaust memory, or potentially

CVE-2020-13871 HIGH POC
7.5 Jun 06

SQLite 3.32.2 has a use-after-free in resetAccumulator in select.c because the parse tree rewrite for window functions i

CVE-2020-11655 HIGH POC
7.5 Apr 09

SQLite through 3.31.1 allows attackers to cause a denial of service (segmentation fault) via a malformed window-function

CVE-2021-36690 HIGH POC
7.5 Aug 24

A segmentation fault can occur in the sqlite3.exe command-line component of SQLite 3.36.0 via the idxGetTableInfo functi

CVE-2026-87016 HIGH POC
8.1 Sep 09

OAuth and SCIM identity confusion in Open WebUI 0.6.41-0.10.x (SQLite-backed deployments only) allows unauthenticated re

Vendor StatusVendor

SUSE

Severity: Important
Product Status
Container suse/sl-micro/6.0/baremetal-os-container:latest Container suse/sl-micro/6.0/base-os-container:latest Container suse/sl-micro/6.0/kvm-os-container:latest Container suse/sl-micro/6.0/rt-os-container:latest Container suse/sl-micro/6.0/toolbox:latest Affected
Container suse/sl-micro/6.1/baremetal-os-container:2.2.1-7.122 Container suse/sl-micro/6.1/base-os-container:2.2.1-5.142 Container suse/sl-micro/6.1/kvm-os-container:2.2.1-5.142 Container suse/sl-micro/6.1/rt-os-container:2.2.1-5.136 Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS Affected

Threat IntelligenceMISP

CISA Advisories
Sources: Microsoft MSRC, CISA (public domain)

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy