CVE-2026-51298
Received Received - Intake

Use After Free in SQLite 3.41 JSON Extraction

Vulnerability report for CVE-2026-51298, 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 is vulnerable to use after free in the JSON extraction function. After releasing JsonParse object memory via jsonParseFree(), the program still accesses internal member of the freed pointer, which can cause service crash and denial of service.

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

This vulnerability is a use-after-free issue in SQLite version 3.41 affecting the JSON extraction function. When processing malformed JSON payloads, the program frees memory for a JsonParse object but later accesses its internal members, causing crashes or denial of service. Exploitation requires remote SQL execution with controlled JSON inputs.

Detection Guidance

To detect this vulnerability, monitor SQLite 3.41 instances for crashes when processing JSON payloads. Use AddressSanitizer (ASan) to detect heap-use-after-free errors during JSON parsing. Test with malformed JSON inputs like the proof-of-concept query: SELECT json_extract('{"data":[', '$.data[0]');

Impact Analysis

This flaw can crash database services, leading to denial of service. It may also leak sensitive heap memory data, including leftover query information or runtime secrets. Attackers only need remote SQL access with JSON parameters to exploit it.

Compliance Impact

This vulnerability could impact compliance with GDPR and HIPAA by enabling denial of service attacks that disrupt database services handling sensitive data. A crash in SQLite could lead to service unavailability, potentially violating availability requirements in these regulations. Additionally, the information disclosure aspect may expose sensitive heap memory, risking unauthorized access to personal or health data.

Mitigation Strategies

Immediately upgrade SQLite to a patched version if available. If upgrading is not possible, restrict SQL JSON function access to untrusted users. Monitor database logs for crashes or ASan errors indicating exploitation attempts.

Chat Assistant

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

EPSS Chart