CVE-2025-6965

HIGH

SQLite < 3.50.2 - Memory Corruption via Aggregate Terms Overflow

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2025-6965. PoCs published by Mohammed Idrees Banyamer.

AI-analyzed exploit summary This exploit demonstrates a heap overflow in SQLite (winsqlite3.dll) via excessive aggregate functions, targeting Windows Server Active Directory services. It creates a malicious database, deploys it to the AD cache directory, and triggers the vulnerability by executing a crafted SQL query.

Description

There exists a vulnerability in SQLite versions before 3.50.2 where the number of aggregate terms could exceed the number of columns available. This could lead to a memory corruption issue. We recommend upgrading to version 3.50.2 or above.

Exploits (1)

exploitdb WORKING POC
by Mohammed Idrees Banyamer · pythonlocalwindows
https://www.exploit-db.com/exploits/52499

This exploit demonstrates a heap overflow in SQLite (winsqlite3.dll) via excessive aggregate functions, targeting Windows Server Active Directory services. It creates a malicious database, deploys it to the AD cache directory, and triggers the vulnerability by executing a crafted SQL query.

Classification
Working Poc 95%
Attack Type
Dos
Complexity
Moderate
Reliability
Reliable
Target: SQLite < 3.50.2 (winsqlite3.dll)
No auth needed
Prerequisites: Unpatched Windows Server with SQLite < 3.50.2 · Access to deploy files to AD cache directory
mistral-large-3 · analyzed May 09, 2026 Full analysis →

Scores

CVSS v3 7.7
EPSS 0.7439
EPSS Percentile 99.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:H/A:L

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact total

Details

CWE
CWE-197
Status published
Products (13)
apple/ipados < 26.0.0
apple/iphone_os < 26.0.0
apple/macos < 26.0.0
apple/tvos < 26.0.0
apple/visionos < 26.0.0
apple/watchos < 26.0.0
nuget/SQLitePCLRaw.lib.e_sqlite3 0 - 2.1.11NuGet
nuget/SQLitePCLRaw.lib.e_sqlite3.android 0 - 2.1.11NuGet
nuget/SQLitePCLRaw.lib.e_sqlite3.ios 0 - 2.1.11NuGet
siemens/ruggedcom_crossbow < 5.8
... and 3 more
Published Jul 15, 2025
Tracked Since Feb 18, 2026