Skip to main content

SQLite Session Extension CVE-2026-50812

MEDIUM
NULL Pointer Dereference (CWE-476)
2026-07-08 mitre
5.5
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

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

  1. Access
    Obtain low-privilege local access
  2. Delivery
    Craft malformed changeset blob with corrupt data
  3. Exploit
    Supply blob to application calling sqlite3changeset_apply_v3()
  4. Execution
    Trigger NULL sqlite3_value pointer in iterator
  5. Persist
    sqlite3_value_type() dereferences NULL
  6. Impact
    Application process crashes (DoS)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK

1 technique across 1 tactic: Impact

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

Exploitation Conditions

Exploitation requires three specific conditions: (1) the target SQLite build must have been compiled with SQLITE_ENABLE_SESSION - this is not the default for many embedded distributions; (2) the target application must invoke sqlite3changeset_apply_v3() on its data path; and (3) the attacker must have low-privilege local access sufficient to supply a malformed changeset blob to that application, either as a file, IPC argument, or API input. The CVSS PR:L metric confirms authentication or equivalent local access is required - unauthenticated remote exploitation is not indicated. What limits exploitation: the Session Extension is a non-default compile-time feature, the attack vector is local (AV:L), and impact is availability-only with no data exfiltration or code execution. Applications that process only internally generated, trusted changesets face no realistic risk even if the Session Extension is compiled in.

Impact

The provided CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, score 5.5) accurately characterizes a local, low-privilege denial-of-service. The local attack vector is the primary limiting factor: an attacker must be able to supply malformed changeset data to an application that invokes sqlite3changeset_apply_v3(), which is not a default or universally exposed code path. Applications that only generate or consume internally trusted changesets are not realistically at risk. No EPSS score was provided and the vulnerability is not in CISA KEV, so there is no confirmed or probabilistic signal of active exploitation. The referenced public gist raises the POC flag slightly - exploit construction appears straightforward given the NULL dereference class - but this remains a DoS-only flaw with no confidentiality or integrity impact. Real-world priority should be low-to-medium: patch when the SQLite amalgamation is next updated, and immediately audit any application that feeds externally sourced changeset blobs into sqlite3changeset_apply_v3().

Exploit ScenarioDerived

An attacker with low-privilege local access crafts a binary changeset blob containing corrupt data - sufficient to cause the SQLite iterator to produce a NULL sqlite3_value pointer - and supplies it to a target application that calls sqlite3changeset_apply_v3(), causing an immediate NULL pointer dereference and process crash. A public PoC gist is referenced at https://gist.github.com/junius-sec/bb556f333957c5226dede314db0e9e91, suggesting the crash is reproducible with a crafted input. The attack requires no special privileges beyond the ability to provide input to the application's changeset processing path.

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

NULL pointer dereference in SQLite's Session Extension crashes any application that passes attacker-controlled changeset blobs to sqlite3changeset_apply_v3(). Affected releases include SQLite 3.53.1 and all trunk builds prior to check-in e807d4e3798efd53. Impact is limited to availability - the process crashes - but because SQLite is embedded ubiquitously, the blast radius depends entirely on how widely consuming applications expose this code path to untrusted input. A public proof-of-concept gist is referenced in the CVE record; no public exploit identified at time of analysis beyond that demonstrator, and the vulnerability is not listed in CISA KEV.

RemediationAI

Upstream fix available via commit e807d4e3798efd53 (https://sqlite.org/src/info/e807d4e3798efd53) and GitHub mirror commit b869ed6b067d623cb1383549f2a18aa35508385d; a tagged stable release incorporating this fix has not been independently confirmed at time of analysis - patch status is 'upstream fix available (commit), released patched version not independently confirmed.' Applications that bundle the SQLite amalgamation should re-vendor the amalgamation from trunk at or after the fix commit. As a compensating control, if the Session Extension is not required, recompile SQLite without SQLITE_ENABLE_SESSION to eliminate the vulnerable code path entirely - this has no impact on standard SQL functionality. Additionally, any application accepting changeset blobs from external or untrusted sources should validate or sandbox that input before passing it to sqlite3changeset_apply_v3().

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 (compile-time option SQLITE_ENABLE_SESSION) provides changeset-based change tracking for database synchronization and conflict resolution. Changesets are binary-encoded blobs representing row-level mutations. The API function sqlite3changeset_apply_v3() deserializes and applies these blobs to a target database. CWE-476 (NULL Pointer Dereference) manifests when a corrupt changeset causes the iterator to produce a NULL sqlite3_value pointer that is subsequently passed to sqlite3_value_type() without a NULL guard. This is a classic insufficient input validation failure in a binary deserialization path. The NVD CPE entry is listed as n/a and is uninformative; the affected artifact is the SQLite amalgamation distributed at sqlite.org at version 3.53.1 and trunk commits prior to e807d4e3798efd53.

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 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.5 MEDIUM

Local vector and low privileges required to supply changeset input; crash-only impact means C:N/I:N/A:H with no scope change.

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

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

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

Lifecycle Timeline

2
CVSS changed
Jul 08, 2026 - 20:22 NVD
5.5 (MEDIUM)
CVE Published
Jul 08, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

A NULL pointer dereference in the SQLite Session Extension in SQLite 3.53.1 and SQLite trunk builds before check-in e807d4e3798efd53 allows an attacker who can supply a malformed changeset blob to cause a denial of service. The issue occurs when sqlite3changeset_apply_v3() applies a corrupt changeset and reaches sqlite3_value_type() with a NULL sqlite3_value pointer.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Ubiquitous
embedded in virtually every OS, browser, mobile platform, and language runtime
Data Quality
5 sources
Confidence: Medium
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

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

Attack Technique

A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise Micro 5.3 Affected
SUSE Linux Enterprise Micro 5.4 Affected
SUSE Linux Enterprise Micro 5.5 Affected

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