CVE-2026-51297
Received Received - Intake

SQLite JSON Parsing Use-After-Free Vulnerability

Vulnerability report for CVE-2026-51297, 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 the JSON parsing logic. Remote adversaries can craft malicious JSON payload to trigger memory free followed by illegal memory access, which may lead to arbitrary code execution, sensitive information leakage and service denial.

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 2 associated CPEs
Vendor Product Version / Range
sqlite sqlite 3.41
sqlite sqlite From 3.41 (inc)

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-51297 is a use-after-free vulnerability in SQLite version 3.41 affecting the JSON parsing module. When attacker-controlled JSON payloads are processed, the library deallocates a JsonParse heap object but fails to nullify the pointer. This allows the dangling pointer to be used in jsonBlobEdit(), causing out-of-bounds heap access. The flaw can be triggered by malformed JSON payloads, leading to service crashes, sensitive memory disclosure, and potential arbitrary code execution.

Detection Guidance

To detect this vulnerability, monitor for crashes or memory corruption in applications using SQLite's JSON functions. Check logs for malformed JSON parsing errors or unexpected service terminations. Use tools like AddressSanitizer or Valgrind to detect use-after-free issues during JSON processing.

Impact Analysis

This vulnerability can lead to denial of service, sensitive information leakage, and arbitrary code execution. Attackers can exploit it by sending malformed JSON payloads to applications using SQLite's JSON functions, potentially crashing services or stealing data. Exploitation requires only standard SQL execution rights with controllable JSON input.

Compliance Impact

This vulnerability could lead to sensitive information leakage due to memory corruption during JSON parsing, which may violate GDPR's data protection requirements for secure processing of personal data. For HIPAA, the arbitrary code execution potential could compromise protected health information systems if exploited.

Mitigation Strategies

Immediately upgrade SQLite to the latest patched version. If upgrading is not possible, disable JSON functions in SQLite or restrict JSON input processing. Apply input validation to sanitize JSON payloads before processing. Monitor for exploitation attempts in logs.

Chat Assistant

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

EPSS Chart