CVE-2026-51296
Received Received - Intake

Use-After-Free in SQLite JSON Module

Vulnerability report for CVE-2026-51296, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-27

Last updated on: 2026-07-27

Assigner: MITRE

Description

SQLite 3.41 has a use-after-free vulnerability in jsonRemoveFunc of SQLite JSON module. The parsed JSON object is freed at line 3555, while line 3575 still calls jsonLookupStep with the released pointer. Remote attackers can exploit this flaw to crash the service and leak heap memory information.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-27
Last Modified
2026-07-27
Generated
2026-07-27
AI Q&A
2026-07-27
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
sqlite sqlite 3.41

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-51296 is a use-after-free vulnerability in SQLite 3.41's JSON module. It occurs in the jsonRemoveFunc function where a parsed JSON object is freed but a pointer to it is still used later. Attackers can exploit this by sending malformed JSON inputs to crash the service or leak heap memory.

Detection Guidance

To detect this vulnerability, monitor for crashes in SQLite processes when processing JSON inputs. Use AddressSanitizer during compilation to identify use-after-free issues. Test with crafted SQL queries like SELECT json_remove('{"a":1,', '$.b.c.d'); to trigger the flaw.

Impact Analysis

This vulnerability allows remote attackers to crash the service and leak sensitive heap memory information. If exploited, it could lead to denial of service or potential arbitrary code execution via heap spraying techniques. Attackers need the ability to execute SQL queries to trigger the flaw.

Compliance Impact

This vulnerability could lead to denial of service, memory disclosure, or potential arbitrary code execution, which may compromise data integrity and availability. For GDPR, this could result in unauthorized access to personal data, violating confidentiality requirements. For HIPAA, it might expose protected health information through memory leaks or crashes, violating security and privacy rules.

Mitigation Strategies

Immediately restrict access to SQLite JSON functions like json_remove. Update to a patched SQLite version once available. Monitor for suspicious SQL queries targeting JSON processing. Consider disabling JSON functionality if not required.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-51296. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart