Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach app using SQLite shared-cache
-
DeliveryDrive concurrent database operations
-
ExploitTrigger BtLock free without unlink
-
ExecutionForce lock-list traversal of dangling node
-
PersistRead freed heap memory or crash
-
ImpactDisclose sensitive memory or deny service
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 | Exploitation requires the embedding application to have SQLite shared-cache mode explicitly enabled (via sqlite3_enable_shared_cache() or cache=shared), since the vulnerable BtLock lock-management path only executes in that mode - this is not SQLite's default and is the primary limiting factor. The attacker must additionally be able to influence btree lock acquisition/release, typically by driving concurrent database operations across shared-cache connections so a freed BtLock node is traversed. The published vector marks PR:N/UI:N (no authentication or user interaction at the CVSS layer), but because SQLite is an in-process library, actual reachability is bounded by whether the host application exposes attacker-controllable queries; the network vector (AV:N) is inherited from the CVSS record and should be verified against the specific deployment. |
| Impact | The signals conflict and should temper the headline 9.1. The published CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/C:H/A:H) implies trivial remote unauthenticated exploitation, but SQLite is an in-process library with no network listener, and the flaw only manifests when the embedding application has explicitly enabled shared-cache mode - a non-default configuration - so real-world reachability depends entirely on how the host application exposes SQLite to attacker-controlled queries or connections. CISA SSVC independently rates Exploitation as 'none' (no known or public exploitation) and Technical Impact as 'partial', which is more conservative than the C:H/A:H CVSS impact; Automatable is 'yes'. No EPSS score and no KEV listing are present in the input, and no proof-of-concept is confirmed. Net assessment: this is a genuine memory-safety bug but likely a lower real-world priority than the 9.1 suggests for most deployments, gated by the shared-cache prerequisite and the absence of any observed exploitation - verify with the vendor whether AV:N is warranted, since the description implies exploitation is bounded by application context rather than direct network access. |
| Exploit ScenarioDerived | In an application configured with SQLite shared-cache mode, an attacker who can drive database operations (for example through an exposed query interface or by controlling a second connection sharing the cache) triggers the lock free-without-unlink, then forces a subsequent lock-list traversal that reads the dangling BtLock node. The result is a crash of the host process (denial of service) or leakage of adjacent heap memory that may contain other tenants' query data or sensitive process state. No public proof-of-concept is confirmed in the available data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 30, 2026
Memory disclosure and denial of service in SQLite 3.41 arise from a use-after-free in the btree module's shared-cache lock management, where a BtLock structure is freed but never unlinked from its linked list. Applications that enable SQLite shared-cache mode can have subsequent list traversals read freed memory, leaking sensitive process memory (CVSS C:H) or crashing the process (A:H). No public exploit identified at time of analysis, and SSVC lists exploitation status as none, though the flaw is assessed as automatable.
RemediationAI
No vendor-released patched version is identified in the provided data, and the only code reference points to the upstream btree.c source rather than a tagged fix, so treat the fixed release as not independently confirmed and monitor https://nvd.nist.gov/vuln/detail/CVE-2026-51290 and sqlite.org for an official release before pinning a version. As the most effective compensating control, disable shared-cache mode where feasible - stop calling sqlite3_enable_shared_cache() and remove cache=shared from connection URIs/open flags - which removes the vulnerable code path entirely; the trade-off is higher per-connection memory use and loss of the cross-connection cache sharing that shared-cache mode provides, which some memory-constrained or high-connection embedded deployments rely on. Where the application controls query input, restrict database access to trusted callers and avoid exposing SQLite queries to untrusted network clients. Once an upstream fix lands in btree.c, rebuild and redistribute all applications that statically link SQLite, since patching a single system library will not update embedded copies.
Affected VersionsENISA
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 linked directly into host applications rather than run as a network service. The defect is classed as CWE-416 (Use After Free) and lives in the btree layer's shared-cache locking code (src/btree.c), which coordinates read/write locks across multiple database connections that share a single page cache within one process. Each lock is tracked by a BtLock node in a per-shared-cache linked list; the bug frees a BtLock node without first removing it from that list, so a later traversal dereferences a dangling pointer into reclaimed heap memory, allowing either a crash or exposure of whatever heap contents now occupy the freed region. Shared-cache mode is an opt-in feature (enabled via sqlite3_enable_shared_cache() or the cache=shared URI/open flag) and is not active in SQLite's default configuration.
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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Non-default shared-cache mode plus a lock-traversal race raises AC to H; no auth needed so PR:N; memory disclosure gives C:H and crash gives A:H with no integrity impact.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
2DescriptionCVE.org
SQLite 3.41 has a use-after-free vulnerability in the shared cache lock management logic of the btree module. The program frees a BtLock structure without removing the node from the linked list. Subsequent linked list traversal accesses the released memory, which can lead to denial of service and sensitive memory information disclosure.
Executive ViewAI
SQLite 3.41 contains a critical vulnerability that enables simultaneous memory leakage and service disruption in applications using its shared-cache mode-a feature common in multi-tenant and embedded deployments. The flaw can expose sensitive data including credentials and customer information while enabling attackers to trigger denial of service, directly compromising both confidentiality and availability for affected business operations. With no vendor patch currently available, organizations must act immediately to identify and remediate vulnerable deployments.
Immediately disable SQLite shared-cache mode in affected applications to eliminate the attack vector; implement network segmentation and access controls to restrict direct connectivity to services using SQLite 3.41; accelerate upgrade to SQLite versions prior to 3.41 or transition to patched releases when vendor releases them, as no vendor-released patch identified at time of analysis.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
EUVD-2026-51253
GHSA-5vr6-8x5x-h94q
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB