CVE-2025-7458CWE-190

SQLite integer overflow in key info allocation may lead to information disclosure.

Medium · published July 29, 2025

CVSS v4.0
6.9
EPSS
0%
Percentile
15.7
In the wild
Unconfirmed
What it is

⚠️ An integer overflow in SQLite could turn your SELECT statements into a denial of service. If you're using versions 3.39.2 to 3.41.1, keep reading to protect your data! 📊 Think of it like a restaurant that gets a crush of orders, and instead of organizing them properly, the system tries to process an overwhelming number of dishes at once. As a result, everything comes crashing down, and nobody gets fed! An attacker could craft an overly complex SELECT statement, leading to a denial of service that brings your database to a standstill. Even worse, they could potentially expose sensitive information stored in your process memory. That's definitely not the kind of dinner party you want to host!

Put simply

Think of it like a restaurant that gets a crush of orders, and instead of organizing them properly, the system tries to process an overwhelming number of dishes at once. As a result, everything comes crashing down, and nobody gets fed! This vulnerability arises from an integer overflow in the sqlite3KeyInfoFromExprList function, allowing attackers to exploit SQL statements with excessive expressions in the ORDER BY clause.

What to do

An attacker could craft an overly complex SELECT statement, leading to a denial of service that brings your database to a standstill. Even worse, they could potentially expose sensitive information stored in your process memory. That's definitely not the kind of dinner party you want to host! To mitigate this, upgrade your SQLite version to 3.41.2 or later. Additionally, review your SQL statements to avoid overly large expressions in your ORDER BY clauses to reduce potential attack vectors. You've got this! Follow these steps, and you'll keep your database safe and sound! 🛡️

The record
Technical detail
CVSS v4.0
6.9 · MEDIUM
Vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N
EPSS
0.00252 · 15.7th percentile
Weakness
CWE-190 · Integer Overflow or Wraparound
Published
2025-07-29T12:43Z
EPSS history
Timeline
  • 29 JUL 12:43Z
    SQLite integer overflow in key info allocation may lead to information disclosure.
    cvelistv5