
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-50812 is a NULL pointer dereference vulnerability in the SQLite Session Extension affecting SQLite 3.53.1 and SQLite trunk builds prior to check-in e807d4e3798efd53. An attacker who can supply a malformed changeset blob to an application using sqlite3changeset_apply_v3() can trigger a process crash, resulting in a denial of service. The vulnerability was published on July 8, 2026, with a patch available at the same time. It carries a CVSS v3.1 base score of 5.5 (Medium) (GitHub Advisory).
The root cause is a NULL pointer dereference (CWE-476) in the SQLite Session Extension's changeset application path. When sqlite3changeset_apply_v3() processes a corrupt changeset, the internal function sessionApplyOneOp() can pass a NULL sqlite3_value pointer to sqlite3_value_type(), causing a crash. The fix, committed as b869ed6 in the SQLite repository, adds a guard condition in sessionApplyOneOp() to check that pOld is non-NULL before binding values, preventing the dereference. A minimal reproducing malformed changeset is documented as a 19-byte blob (540401000000743100177e0072286565286565), and the affected call chain is sqlite3changeset_apply_v3() → sessionApplyOneOp() → sessionBindValue() (GitHub Advisory, Researcher Gist, SQLite Commit).
Successful exploitation results in process termination of any application that processes attacker-controlled changeset blobs using the SQLite Session Extension, causing a denial of service. There is no impact on confidentiality or data integrity — the vulnerability is limited to availability. Applications embedding SQLite with the Session Extension enabled and that accept externally supplied changesets are at risk (GitHub Advisory, Researcher Gist).
540401000000743100177e0072286565286565 (Researcher Gist).sqlite3changeset_apply_v3() on the malformed blob, which reaches sessionApplyOneOp() and passes a NULL sqlite3_value pointer to sqlite3_value_type(), causing process termination and a denial of service.sqlite3session.c, specifically in sessionApplyOneOp() or sqlite3_value_type().The SQLite project has released a fix in check-in e807d4e3798efd53 (GitHub commit b869ed6), which adds a NULL guard in sessionApplyOneOp(). Users should update to a SQLite build that includes this fix or any subsequent release incorporating it. As a workaround where immediate patching is not possible, restrict the ability to supply changeset blobs to trusted, authenticated sources only, and implement input validation on changeset data before passing it to sqlite3changeset_apply_v3() (SQLite Commit, GitHub Advisory).
The vulnerability was co-discovered by researchers Junsu Han and Yon Eljon Harlicaj, who published a detailed disclosure gist documenting the affected components, minimal reproducing payload, and references to the upstream fix (Researcher Gist). No significant vendor statements beyond the upstream SQLite commit or broader media coverage have been identified at this time.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."