
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-6965 is a memory corruption vulnerability discovered in SQLite versions prior to 3.50.2. The vulnerability was identified in July 2025 and was discovered by Google's AI-assisted vulnerability discovery framework called Big Sleep. The flaw affects all SQLite versions before 3.50.2, where the number of aggregate terms could exceed the number of columns available (NVD, Hacker News).
The vulnerability is characterized by a memory corruption issue that occurs when the number of aggregate terms in a query exceeds the maximum number of columns available. The flaw has been assigned a CVSS v4.0 base score of 7.2 (High) by Google Inc., with the vector string CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:H/VA:L/SC:L/SI:H/SA:L/S:N/AU:N/R:U/V:D/RE:L/U:Green. Additionally, NIST has assigned it a CVSS v3.1 score of 9.8 (Critical) (NVD).
The vulnerability could lead to memory corruption issues when exploited. According to Google's assessment, this security issue was known to threat actors and was at risk of being exploited in the wild. The potential impact includes system crashes and possible arbitrary code execution through carefully crafted SQL queries (Hacker News).
The primary mitigation is to upgrade to SQLite version 3.50.2 or above. The fix involves implementing a check that raises an error immediately if the number of aggregate terms in a query exceeds the maximum number of columns (SQLite Patch).
The discovery has garnered significant attention as it marks the first time an AI agent has been used to directly foil efforts to exploit a vulnerability in the wild. Kent Walker, President of Global Affairs at Google and Alphabet, highlighted this achievement as a milestone in using AI for cybersecurity (Hacker News).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."