Skip to main content

SQLite EUVDEUVD-2026-35794

| CVE-2026-11822 MEDIUM
Heap-based Buffer Overflow (CWE-122)
2026-06-09 VulnCheck GHSA-6qj8-gw6p-hc5p
6.8
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 database with malformed FTS5 pages
  2. Delivery
    Deliver file via email, download, or sync
  3. Exploit
    Victim opens file in vulnerable application
  4. Install
    Application issues FTS5 MATCH query
  5. C2
    Integer underflow triggers heap overflow in fts5ChunkIterate()
  6. Execute
    Hijack control flow in application process
  7. Impact
    Execute arbitrary code with user privileges

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 the target application to (1) link a SQLite build with FTS5 compiled in (the upstream default), (2) open an attacker-supplied or attacker-tampered database file, and (3) execute an FTS5 MATCH query against the malicious FTS5 index - typically via normal application logic that searches the opened database. The CVSS UI:P flag indicates passive user interaction such as opening a file is sufficient; no authentication is needed against the SQLite component (PR:N). Limiting factors: applications that never expose user-supplied SQLite files (most server apps owning their own DB) are not realistically reachable, applications built without FTS5 are unaffected, and exploitation is local to the process opening the file rather than remote-network-reachable.

Impact

The CVSS 4.0 base score of 8.5 reflects local attack vector (AV:L) with low complexity, no privileges, and passive user interaction (UI:P) leading to high confidentiality, integrity, and availability impact on the vulnerable component. Realistic risk depends heavily on how the embedding application exposes SQLite: a sandboxed mobile app that only opens application-owned databases is low risk, while an application that opens user-supplied .sqlite files (mail clients, sync tools, forensic tools, file viewers, browser plugins) effectively converts this into a file-format parsing bug similar to historic image/PDF parser flaws. There is no CISA KEV listing, no EPSS score provided in the input, and no public exploit identified at time of analysis, so this is currently a patch-now-but-not-emergency item rather than confirmed in-the-wild abuse. Note: the CVSS local vector with UI:P is somewhat in tension with the description's mention of supplying a crafted database - defenders should treat the realistic attack surface as 'open this file/blob' rather than pure remote network exploitation.

Exploit ScenarioDerived

An attacker crafts a malicious SQLite database file containing malformed FTS5 segment pages and delivers it via email attachment, file share, sync service, or download. When a user opens the file in an application that runs an FTS5 MATCH query against the embedded index - for example a desktop mail client, password manager, browser profile import, or forensic tool - the integer underflow in fts5ChunkIterate() corrupts the heap and may be steered toward arbitrary code execution in the application's process. No public exploit identified at time of analysis, but the bug class (heap overflow write with attacker-controlled length) is historically exploitable on hardened targets.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
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

Memory corruption in SQLite versions before 3.53.2 enables attackers to crash processes, exhaust memory, or potentially execute arbitrary code by supplying a crafted database that triggers flaws in the FTS5 full-text search extension when a MATCH query runs. The CVSS 4.0 vector indicates local attack vector with passive user interaction required, and no public exploit identified at time of analysis. Reported by VulnCheck with patches already merged upstream.

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

Memory corruption in SQLite's FTS5 full-text search extension before version 3.53.2 allows attackers to crash processes, exhaust memory, or potentially execute arbitrary code by tricking a user into opening a malicious database and running a MATCH query. The flaw combines an out-of-bounds read in fts5LeafSeek() with a heap buffer overflow write in fts5ChunkIterate() triggered by an integer underflow on a crafted continuation page. Reported by VulnCheck with vendor patches available; no public exploit identified at time of analysis.

v1 Jun 09, 2026 - 20:09 CVSS 7.8

Memory corruption in SQLite's FTS5 full-text search extension prior to version 3.53.2 allows attackers who can supply a crafted database file to trigger out-of-bounds reads or heap buffer overflow writes, potentially leading to arbitrary code execution when an FTS5 MATCH query runs against the malicious database. No public exploit identified at time of analysis, though the vulnerability was reported by VulnCheck and a vendor patch is available. The CVSS 7.8 score reflects local attack vector with required user interaction, meaning a victim must open or query the attacker-supplied database.

RemediationAI

Vendor-released patch: SQLite 3.53.2; upgrade the SQLite library used by the application or operating system to 3.53.2 or later, referencing the upstream commits at https://sqlite.org/src/info/061febcf41ca and https://sqlite.org/src/info/4a5ad516ea93 and the release notes at https://sqlite.org/releaselog/3_53_2.html. Where rebuilding/redeploying is not immediately possible, compensating controls include compiling SQLite with -DSQLITE_ENABLE_FTS5 omitted to remove the vulnerable code path entirely (side effect: any application feature relying on FTS5 MATCH queries will break), refusing to open SQLite databases originating from untrusted sources, and adding application-layer integrity checks (signature verification or checksum) on database files before opening them. For server-side databases the application controls end-to-end, restrict the attack surface by ensuring no untrusted user can supply or substitute the SQLite file used by the process.

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 is an embedded relational database engine used in countless applications, operating systems, browsers, and mobile devices. The vulnerability resides in the FTS5 (Full-Text Search version 5) virtual table module, which indexes text content into segments stored as B-tree-like pages. Two distinct CWE-122 (heap-based buffer overflow) class defects are present: an out-of-bounds read in fts5LeafSeek() driven by an attacker-controlled loop bound when parsing leaf page entries, and a heap buffer overflow write in fts5ChunkIterate() caused by an integer underflow when processing a crafted FTS5 continuation page. Both are reachable when the SQLite engine evaluates a MATCH operator against an FTS5 index inside a malicious database file, with the CPE cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:* indicating all pre-3.53.2 SQLite distributions are in scope.

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 6.8 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/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
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

5
Severity Changed
Oct 30, 2026 - 02:22 NVD
HIGH MEDIUM
CVSS changed
Oct 30, 2026 - 02:22 NVD
8.5 (HIGH) 6.8 (MEDIUM)
Analysis Updated
Jun 09, 2026 - 20:44 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 09, 2026 - 20:43 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 memory corruption vulnerabilities in the FTS5 full-text search extension that allow attackers to cause process crashes, memory exhaustion, or arbitrary code execution by supplying a crafted database with malformed FTS5 page data. Attackers can trigger an out-of-bounds read in fts5LeafSeek() via an attacker-controlled loop bound and a heap buffer overflow write in fts5ChunkIterate() through a crafted continuation page causing an integer underflow, exploitable when an FTS5 MATCH query is executed against the malicious database.

Executive ViewAI

Why It Matters

SQLite versions prior to 3.53.2 contain a memory corruption vulnerability in the FTS5 full-text search extension that could allow attackers with local access to crash database-dependent applications or potentially execute arbitrary code through malicious database files. Organizations using SQLite in production should prioritize upgrading to eliminate the risk of service disruption and unauthorized code execution.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

Threat Score
4.9/10
Composite threat intelligence
EPSS Score
0.0%
Top 98% exploitable
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Data Quality
9 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CISA MSRC Vendor GitHub 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 MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat Yes
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
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

64
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: +20
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-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

CVE-2018-20346 HIGH POC
8.1 Dec 21

SQLite before 3.25.3, when the FTS3 extension is enabled, encounters an integer overflow (and resultant buffer overflow)

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