Skip to main content

SQLite CVE-2026-50813

MEDIUM
Buffer Over-read (CWE-126)
2026-07-08 mitre
6.1
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

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

  1. Access
    Craft malformed SQLite changeset binary
  2. Delivery
    Deliver to target via local filesystem or data pipeline
  3. Exploit
    Target application invokes concat/changegroup merge API
  4. Execution
    Out-of-bounds read triggered in Session Extension parser
  5. Persist
    Heap memory contents leaked
  6. Impact
    Process crash (DoS) or sensitive data exfiltration

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer over-read prevention
Exploitation Conditions

Exploitation requires three specific conditions to be met simultaneously: (1) the target SQLite build must have the Session Extension enabled (compiled with SQLITE_ENABLE_SESSION or equivalent); (2) the target application must invoke the changeset concat (sqlite3changeset_concat) or changegroup merge (sqlite3changegroup_add) API; and (3) the attacker must be able to supply or influence the changeset data processed by those APIs - a local-access requirement per CVSS AV:L. The UI:R metric indicates user interaction is required, likely meaning a user or automated process must explicitly trigger the changeset processing operation (e.g., initiating a sync or opening a changeset file). Per CVSS PR:N, no privilege elevation is required to trigger the bug once local access to deliver the malicious changeset is achieved. What limits exploitation: applications using SQLite only for standard read/write operations without the Session Extension are not affected; the attack surface is restricted to sync, replication, or change-tracking workflows that ingest external changeset data.

Impact

The CVSS 3.1 score of 6.1 Medium reflects a local attack vector (AV:L), low confidentiality impact (C:L), no integrity impact (I:N), and high availability impact (A:H) - the last metric is higher than expected for pure information disclosure and strongly suggests the underlying bug can crash the host process in addition to leaking memory. The PR:N metric alongside AV:L and UI:R describes a scenario where no local privilege elevation is needed but the victim process or user must actively process the malicious changeset, such as opening or importing a changeset file. No EPSS data was provided; given the Session Extension's narrower deployment surface compared to core SQLite, real-world exploitation probability is likely low to moderate even within affected environments. There is no CISA KEV listing, meaning no confirmed active exploitation. A GitHub gist by researcher 'junius-sec' is referenced and may represent proof-of-concept material, but its status as a functional exploit is not independently confirmed - it should be treated as a signal rather than confirmation. The A:H impact elevates practical priority for applications using Session Extension in sync, replication, or collaborative editing workflows, where process crashes have operational consequences. The gap between 'ubiquitous SQLite deployment' and 'narrower Session Extension usage' is the key risk calibration: most SQLite consumers are not affected.

Exploit ScenarioDerived

A local attacker crafts a malformed SQLite changeset binary and places it on the local filesystem or injects it into a data pipeline consumed by a target application that uses the Session Extension for sync or replication. When the application calls sqlite3changeset_concat or sqlite3changegroup_add on the malicious input, the parser reads beyond an allocated buffer boundary, leaking heap memory that may contain sensitive data such as database row contents, session tokens, or cryptographic material. A researcher gist is referenced in the CVE record, suggesting proof-of-concept material exists, though functional exploit status is not confirmed.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 08, 2026

Session Extension information disclosure in SQLite before Fossil check-in 869a51ae84df exposes sensitive process memory when adversarially crafted changesets are processed through the changeset concat or changegroup merge code paths. A local attacker who can deliver a malicious changeset to an application using the Session Extension API can leak heap memory contents and likely crash the process, yielding both low confidentiality and high availability impact consistent with an out-of-bounds read pattern. No active exploitation has been confirmed by CISA KEV, though a researcher gist is referenced that may represent proof-of-concept material; no public exploit is independently confirmed at time of analysis.

RemediationAI

Upgrade SQLite by incorporating Fossil check-in 869a51ae84df or later, corresponding to GitHub commit c597ed79d1bd03f57198d10d1f431adda293cf2e. No specific tagged release version is confirmed as containing this fix in the available data - the patch is currently traceable only to the upstream commit; consult the SQLite changelog at https://sqlite.org/src/info/869a51ae84df to identify the first official release incorporating it. Applications that statically link SQLite must recompile against the patched source. As an immediate compensating control where upgrading is not feasible, restrict or disable processing of externally sourced or untrusted changeset data through the Session Extension's sqlite3changeset_concat and sqlite3changegroup_add APIs - this eliminates the triggering path at the cost of disabling external changeset ingestion functionality. If the Session Extension is enabled but changeset merge operations are unused, auditing application code to confirm these API paths are unreachable from untrusted input provides additional assurance without functional trade-off.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

SQLite's Session Extension (enabled at compile time via SQLITE_ENABLE_SESSION) provides change-tracking functionality, serializing row-level database modifications into binary 'changeset' streams. The vulnerable code paths are sqlite3changeset_concat - which merges two changeset streams - and sqlite3changegroup_add, which aggregates multiple changesets into a changegroup. A malformed or adversarially constructed changeset binary, when processed through these merge paths, triggers improper memory handling, likely an out-of-bounds read (consistent with CWE-125, though CWE is listed N/A by the reporter). This causes the library to read beyond the bounds of an allocated buffer, leaking heap contents and potentially terminating the host process. The CPE data provided (cpe:2.3:a:n/a:n/a:*) is a wildcard placeholder offering no product version range; affected versions are bounded by the upstream Fossil check-in 869a51ae84df and GitHub commit c597ed79d1bd03f57198d10d1f431adda293cf2e. The Session Extension is not active in all SQLite deployments - it must be explicitly enabled at build time or runtime - which materially narrows the affected surface.

Know when N A 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 (mitre) PRIMARY 6.1 MEDIUM
AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
vuln.today AI 6.1 MEDIUM

Local vector with no privileges but required user interaction to process malicious changeset; high availability from likely crash, low confidentiality from bounded heap leak.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Red Hat MEDIUM

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High

DescriptionCVE.org

An issue in SQLite before Fossil check-in 869a51ae84df allows a local attacker to obtain sensitive information via the Session Extension changeset concat/changegroup merge path

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Ubiquitous
SQLite embedded in virtually every OS, browser, and application runtime
Data Quality
7 sources
Confidence: High
NVD CVE.org EPSS Vulnrichment 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 No
EPSS 0.1%
Patch available Yes
Active threat No
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· derived
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
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.

Affected Products (CPE)CVE.org

cpe:2.3:a:n/a:n/a:*:*:*:*:*:*:*:*

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Not-Affected
SUSE Linux Enterprise Micro 5.3 Not-Affected
SUSE Linux Enterprise Micro 5.4 Not-Affected
SUSE Linux Enterprise Micro 5.5 Not-Affected

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