Bug 2507560 (CVE-2026-51304) - CVE-2026-51304 sqlite: sqlite: Arbitrary code execution via malicious SQL statement
Summary: CVE-2026-51304 sqlite: sqlite: Arbitrary code execution via malicious SQL sta...
Keywords:
Status: NEW
Alias: CVE-2026-51304
Product: Security Response
Classification: Other
Component: vulnerability-draft
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-27 16:02 UTC by OSIDB Bzimport
Modified: 2026-08-04 10:22 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-27 16:02:20 UTC
sqlite 3.41 has a use-after-free (UAF) vulnerability in the ORDER BY clause parsing routine. The affected code first releases the memory of an ExprList object via sqlite3ExprListDelete(), then attempts to access the nExpr member of the already freed object. This dangling pointer access causes invalid memory read operations. By constructing a malicious SQL statement containing an ORDER BY clause with a large number of items, a remote adversary can trigger this vulnerability. Successful exploitation can result in application crash (denial of service), leakage of sensitive memory contents, and under certain memory layout conditions, arbitrary code execution on the affected system.


Note You need to log in before you can comment on or make changes to this bug.