ZeroHour

CVE-2025-6965

mass

Memory Corruption in SQLite < 3.50.2 Affecting Apple and Siemens Products

CVSS 4.0
7.2 high
EPSS
76%p99
Published
()
Modified
AI analysis

CVE-2025-6965 is a numeric handling flaw (CWE-197) in SQLite versions before 3.50.2 in which the number of aggregate terms in a query can exceed the number of available columns, resulting in memory corruption. An attacker triggers it by getting an application that embeds SQLite to execute crafted SQL: the vector is network-based and requires only low privileges, but with high attack complexity (CVSS 4.0 base 7.2), and successful corruption carries high integrity impact on the running process. Because SQLite is embedded in countless applications and operating systems, every deployment running SQLite older than 3.50.2 is affected, including Apple's iPhone OS, iPadOS, macOS, tvOS, visionOS and watchOS and Siemens' RUGGEDCOM CROSSBOW and SIDIS Prime, which bundle the library. The flaw is not on the CISA KEV list and no public proof-of-concept is known, but Google reported that its Big Sleep AI discovered the bug as hackers were preparing to exploit it, and EPSS assigns a 75.8% probability of exploitation within 30 days.

What to do: Upgrade SQLite to version 3.50.2 or later in every bundled or embedded deployment, and apply the corresponding Apple OS and Siemens RUGGEDCOM CROSSBOW/SIDIS Prime updates as vendors publish fixed releases. Inventory which applications, devices and internet-facing services ship vulnerable SQLite and prioritize anything that processes untrusted SQL, given the very high EPSS score (75.8% within 30 days) and Google's report that attackers were preparing to exploit this bug. Where patching is delayed, review aggregate SQL queries for cases where aggregate terms exceed available columns as a triage measure.

Affected
SQLiteall versions before 3.50.2
Apple iPhone OS (iOS)versions bundling SQLite before 3.50.2 (Apple-specific fixed versions not specified in source data)
Apple iPadOSversions bundling SQLite before 3.50.2 (Apple-specific fixed versions not specified in source data)
Apple macOSversions bundling SQLite before 3.50.2 (Apple-specific fixed versions not specified in source data)
Apple tvOSversions bundling SQLite before 3.50.2 (Apple-specific fixed versions not specified in source data)
Apple visionOSversions bundling SQLite before 3.50.2 (Apple-specific fixed versions not specified in source data)
Apple watchOSversions bundling SQLite before 3.50.2 (Apple-specific fixed versions not specified in source data)
Siemens RUGGEDCOM CROSSBOWversions bundling SQLite before 3.50.2 (Siemens-specific fixed versions not specified in source data)
Siemens SIDIS Primeversions bundling SQLite before 3.50.2 (Siemens-specific fixed versions not specified in source data)
Estimated exposure
massbillions of devices worldwide (SQLite ships embedded in virtually every operating system, browser and application; Apple's active device base alone exceeds 1… — SQLite is the most widely deployed database engine, bundled by default in Apple's mobile/desktop/TV/watch/headset operating systems, Android, major browsers and industrial software, so the vulnerable install base is effectively global;…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

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.

Vendors
sqliteapplesiemens
Products
sqlite, ipados, iphone os, macos, tvos, visionos, watchos, ruggedcom crossbow, sidis prime
Weakness
CWE-197
Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:N/R:U/V:D/RE:L/U:Green

In the news