Google AI Model Discovered New SQLite Memory Corruption Flaw
Vulnerability Disclosure · 2 sources · Updated 4mo ago · First seen Nov 8, 2024

Google Project Zero reported that its Big Sleep large language model identified a previously unknown vulnerability in SQLite, marking a real-world bug discovery during testing on widely used open-source software. The flaw affects SQLite 3.47.0 and was traced to the seriesBestIndex function, where improper handling of rowid-related parameters can allow an invalid negative iColumn value.
The bug causes a stack buffer underflow that can lead to out-of-bounds heap writes, creating conditions that may be exploitable for attacks. According to reporting cited by CSIRT.SK, the issue had not been caught by existing fuzzing tools, underscoring the significance of AI-assisted vulnerability research; defenders were advised to update SQLite to the latest available version.


