Description
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.
Published: 2026-06-09
Score: 8.5 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

SQLite before version 3.53.2 contains memory corruption flaws in the FTS5 full‑text search extension. An attacker can supply a crafted database with malformed page data that triggers an out‑of‑bounds read in fts5LeafSeek() and a heap buffer overflow write in fts5ChunkIterate(). The overflow occurs when an integer underflow on a continuation page allows an attacker‑controlled loop to iterate past the intended bounds. When an FTS5 MATCH query is executed against this malicious database, the corruption can lead to process crashes, memory exhaustion, or arbitrary code execution. The vulnerability is categorized as CWE‑122 (Classic Buffer Overflow).

Affected Systems

All installations of SQLite older than 3.53.2 are affected, regardless of platform or usage context. This includes embedded databases in desktop applications, mobile apps, web servers, and any system component that loads SQLite databases without validating their integrity. The key product is SQLite itself, with the affected range being all releases prior to 3.53.2.

Risk and Exploitability

The CVSS score of 8.5 marks this flaw as high‑severity. No EPSS score is available, but the presence of a buffer overflow and potential for arbitrary code execution indicates a significant exploitability risk when an attacker can introduce or control the database file. The vulnerability is not listed in the CISA KEV catalog, yet the escalation potential warrants immediate attention. Attackers can exploit the flaw by delivering a malicious database to an application that uses the FTS5 extension, triggering a MATCH query. The impact could range from denial of service to full system compromise, depending on the privileges of the affected process.

Generated by OpenCVE AI on June 9, 2026 at 21:03 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade SQLite to 3.53.2 or later, ensuring the version aligns with the vendor’s release notes.
  • Validate or restrict database files that are processed by the FTS5 extension, rejecting or sanitizing untrusted or externally supplied database files.
  • If an upgrade cannot be applied immediately, enforce minimum privilege and sandboxing for processes that access SQLite databases, and explore environment hardening such as enabling address space layout randomization and stack canaries to mitigate buffer overflow exploitation.

Generated by OpenCVE AI on June 9, 2026 at 21:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 10 Jun 2026 01:45:00 +0000

Type Values Removed Values Added
First Time appeared Sqlite
Sqlite sqlite
Vendors & Products Sqlite
Sqlite sqlite

Tue, 09 Jun 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 09 Jun 2026 19:45:00 +0000

Type Values Removed Values Added
Description 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.
Title SQLite before 3.53.2 Memory Corruption in FTS5 Extension
Weaknesses CWE-122
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-06-09T20:02:08.300Z

Reserved: 2026-06-09T18:03:57.669Z

Link: CVE-2026-11822

cve-icon Vulnrichment

Updated: 2026-06-09T20:02:02.614Z

cve-icon NVD

Status : Received

Published: 2026-06-09T20:16:32.150

Modified: 2026-06-09T20:16:32.150

Link: CVE-2026-11822

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-10T01:30:17Z

Weaknesses