Skip to main content

SQLite EUVDEUVD-2026-49355

| CVE-2026-51302 HIGH
Use After Free (CWE-416)
2026-07-27 mitre GHSA-vrg3-8p22-cwh8
7.5
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

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

  1. Access
    Gain SQL query submission access
  2. Delivery
    Send crafted SQL exercising expression eval
  3. Exploit
    Trigger temp-register use-after-free in expr.c
  4. Execution
    Groom heap to reuse freed register
  5. Impact
    Crash, leak memory, or execute code

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

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

Exploitation Conditions

The attacker must be able to get a crafted malicious SQL statement, specifically one exercising SQLite's expression-evaluation logic that invokes sqlite3ReleaseTempReg()/exprComputeOperands(), evaluated by SQLite version 3.41. This requires a deployment path where attacker-influenced SQL text or expressions reach the engine (a direct query interface, an SQL-injection sink, or any feature that accepts client-supplied queries); parameterized-only applications with no injection exposure are far harder to attack. Limiting factors: CVSS PR:L indicates some query-submission privilege is needed rather than fully anonymous access, AC:H reflects that turning the use-after-free into information disclosure or code execution requires heap-layout control, exploitation is tied to the 3.41 code path, and only denial of service is a dependable outcome while arbitrary code execution is 'potentially' achievable rather than guaranteed.

Impact

Signals are mixed and point to a real-but-not-emergency priority. The CVSS vector (AV:N/AC:H/PR:L/UI:N, C/I/A all High) reflects network reachability but High attack complexity and required low privileges (the ability to run SQL), which tempers ease of exploitation. SSVC lists Exploitation=poc, Automatable=yes, Technical Impact=total; the 'total' impact and POC availability raise concern, yet EPSS is only 0.24% (16th percentile) and there is no CISA KEV listing, so real-world exploitation appears unlikely or targeted rather than widespread. Note a framing tension to verify: the description calls the attacker 'remote' and the memory-corruption-to-RCE outcome is only 'potentially', whereas reliable code execution against a heap UAF typically requires attacker-controlled allocation grooming, consistent with AC:H; denial of service is the most dependable outcome. The C:H/I:H ratings may also be optimistic since full confidentiality/integrity loss only materializes if the UAF is escalated beyond a crash, so the guaranteed impact is availability (DoS) plus possible memory disclosure.

Exploit ScenarioDerived

An attacker who can reach an application that forwards attacker-influenced SQL to a bundled SQLite 3.41 engine, for example via an exposed query interface or an SQL-injection point, submits a specially crafted statement whose expression evaluation triggers the temporary-register use-after-free. In the simplest case this reliably crashes the process (denial of service) or leaks fragments of adjacent heap memory; with careful heap grooming (consistent with the High attack complexity) the freed register could be reallocated to attacker-controlled data, potentially escalating to code execution. Proof-of-concept material is reported to exist (SSVC Exploitation=poc).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv2 – Jul 30, 2026

Use-after-free in SQLite 3.41's expression-evaluation path lets an attacker who can submit a crafted SQL statement crash the process, leak adjacent memory, or potentially achieve code execution. The flaw stems from sqlite3ReleaseTempReg() prematurely freeing a temporary register that exprComputeOperands() then dereferences. Rated CVSS 7.5 (AV:N/AC:H/PR:L); publicly available exploit code exists per the CISA SSVC 'poc' determination, but it is not on the CISA KEV list and EPSS is low (0.24%, 16th percentile), indicating no evidence of widespread active exploitation.

Earlier versions of this analysis (1)
v1 Jul 28, 2026 - 14:38 CVSS 9.8

Use-after-free vulnerability in SQLite 3.41's expression evaluation logic allows remote attackers to execute arbitrary code or cause denial of service via malicious SQL statements. The flaw in sqlite3ReleaseTempReg and exprComputeOperands can lead to information leaks and potential RCE. There is no confirmed active exploitation or public exploit, and EPSS probability is low (0.24%).

RemediationAI

No vendor-released patch identified at time of analysis: the references cite the SQLite source file on the master branch and a third-party advisory repository rather than a tagged fixed release, and no exact fix version was provided, so upgrade to a specific patched build cannot yet be recommended by number; monitor sqlite.org and the official changelog for a release superseding 3.41 and apply it once published. Until a verified fixed version exists, reduce exposure by preventing attackers from supplying arbitrary SQL or expression structures to the engine: enforce strict parameterized queries and eliminate SQL-injection sinks so untrusted input cannot shape the SQL text, restrict which accounts may execute ad-hoc queries, and where feasible run SQLite behind an authorization callback (sqlite3_set_authorizer) or in an isolated/sandboxed process so a UAF crash or memory disclosure is contained. Trade-offs: an authorizer and query allowlisting can break applications that rely on dynamic SQL, and process isolation adds latency and complexity but limits blast radius. Track the fix via the NVD entry (https://nvd.nist.gov/vuln/detail/CVE-2026-51302) and the upstream src/expr.c history.

Affected VersionsENISA

n/a n/a

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 is an embedded, in-process relational database engine compiled directly into countless applications, operating systems, browsers, and mobile apps rather than run as a network server. This issue is a CWE-416 Use-After-Free in the query compiler / VDBE code-generation layer (src/expr.c). During expression evaluation SQLite allocates transient VDBE registers to hold intermediate operand values; sqlite3ReleaseTempReg() returns such a register to the free pool, but exprComputeOperands() continues to reference the register slot after it has been released and possibly reallocated, so operand computation reads or writes freed or aliased register memory. Because the corruption occurs inside the engine that processes any submitted SQL, the attack surface is any code path that lets an adversary influence the SQL text or expression structure passed to SQLite 3.41.

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

Reaching the flaw needs query-submission privilege (PR:L) and reliable exploitation needs heap grooming (AC:H); a UAF can yield memory disclosure, corruption, and crash, so C/I/A High.

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

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

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

Lifecycle Timeline

6
Analysis Updated
Jul 30, 2026 - 20:46 vuln.today
v2 - CVSS changed
Severity Changed
Jul 30, 2026 - 20:37 NVD
CRITICAL HIGH
CVSS changed
Jul 30, 2026 - 20:37 NVD
9.8 (CRITICAL) 7.5 (HIGH)
CVSS changed
Jul 28, 2026 - 14:37 NVD
9.8 (CRITICAL)
CVE Published
Jul 27, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 27, 2026 - 00:00 cve.org
CRITICAL 9.8

DescriptionCVE.org

SQLite 3.41 has a use-after-free vulnerability exists in the expression evaluation logic. The sqlite3ReleaseTempReg function improperly releases temporary register resources, and the subsequent exprComputeOperands function continues to access the already freed register memory. By supplying a malicious SQL statement, a remote attacker can exploit this flaw to cause denial of service, leak sensitive information, or potentially execute arbitrary code on the affected system.

Executive ViewAI

Why It Matters

SQLite 3.41 contains a use-after-free vulnerability that allows authenticated attackers to crash applications, leak sensitive memory, or potentially execute code via maliciously crafted SQL statements. While exploit code is publicly available, there is no evidence of active exploitation in the wild and the threat remains limited to systems processing untrusted SQL input. Organizations must identify affected deployments and implement immediate protective measures, as no vendor patch is currently available.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict SQL submission to authenticated, authorized users only; implement strict input validation and prepared statement use; run SQLite in containerized or sandboxed environments; segment affected systems from untrusted networks; apply network-level controls to limit access to affected applications; establish monitoring for suspicious query patterns; develop a vendor patch readiness plan with upgrade testing procedures.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Ubiquitous
SQLite is embedded in nearly all OSes, browsers, and mobile apps
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub

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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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

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: Critical
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