- Google says its Big Sleep agent found SQLite vulnerability CVE-2025-6965, which it describes as known only to threat actors and at risk of exploitation.
- The record describes memory corruption in SQLite before 3.50.2. The fix is to upgrade.
- Google calls it the first time an AI agent was used to directly foil an exploitation attempt in the wild.
What happened
On July 15, 2025, Google reported that Big Sleep, an AI agent developed by Google DeepMind and Google Project Zero to search for unknown vulnerabilities, had found an SQLite flaw, CVE-2025-6965 1. Google says the discovery was guided by Google Threat Intelligence, that the flaw was "known only to threat actors and was at risk of being exploited," and that it was able to cut that off beforehand 1.
The CVE record describes a vulnerability in SQLite versions before 3.50.2 in which the number of aggregate terms could exceed the number of available columns, leading to memory corruption, and recommends upgrading to 3.50.2 or later 2.
Why it happened
Two things combined. Threat intelligence suggested where attackers were looking, and an agent could search that area faster than people could 1. Google also notes Big Sleep had found its first real-world vulnerability in November 2024 and has continued to find more 1. The claim that this was the first time an AI agent directly foiled exploitation in the wild is Google's own 1.
What it cost or risked
SQLite is embedded in a very large amount of software, so a memory corruption flaw in it is broadly relevant. In this case the published record is of a fix landing first 12. The wider lesson is about tempo: as AI finds flaws faster on both sides, the time between disclosure and exploitation shrinks, and slow patching becomes the main exposure.
What a verification-first team does differently
- Knows where its embedded components are. A software bill of materials tells you which products ship a given SQLite version.
- Patches on a clock. Critical fixes for exposed systems have a deadline measured in hours or days, with an owner.
- Uses AI-assisted review on its own code, with every finding reproduced and every fix confirmed by retest.
How our services map
- Code Verification. AI-assisted review of your codebase with each finding reproduced and each fix retested.
- Managed AI operations. Dependency tracking and patch follow-through for AI-built systems.
- Governance and security. Patch deadlines and ownership written into policy.
Swallowtail Systems™ did not work on this incident or study. This case is our reading of the public record, and every figure belongs to the organization cited. The service mapping shows where our work applies to the same risk, not work we performed here. Read how we choose and source cases.