CVE-2025-7458
SQLite vulnerability analysis and mitigation

Overview

An integer overflow vulnerability (CVE-2025-7458) was discovered in SQLite versions 3.39.2 through 3.41.1. The vulnerability exists in the sqlite3KeyInfoFromExprList function and was disclosed on July 29, 2025 (NVD).

Technical details

The vulnerability is an integer overflow condition in the sqlite3KeyInfoFromExprList function. It occurs when processing SELECT statements with a large number of expressions in the ORDER BY clause. The issue has been assigned a CVSS v3.1 base score of 9.1 CRITICAL and CVSS v4.0 score of 6.9 MEDIUM (NVD, Snyk).

Impact

When successfully exploited, this vulnerability can lead to denial of service conditions or disclosure of sensitive information from process memory. The attacker must have the ability to execute arbitrary SQL statements to exploit this vulnerability (NVD).

Mitigation and workarounds

A fix has been implemented in SQLite that correctly handles SELECT DISTINCT ... ORDER BY statements when all result set terms are constant and there are more result set terms than ORDER BY terms (SQLite Patch). Users should upgrade to a version newer than 3.41.1 to address this vulnerability.

Additional resources


SourceThis report was generated using AI

Related SQLite vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-29087HIGH7.5
  • SQLiteSQLite
  • cargo
NoYesApr 07, 2025
CVE-2025-6965HIGH7.2
  • SQLiteSQLite
  • libsqlite3-0
NoYesJul 15, 2025
CVE-2025-7458MEDIUM6.9
  • SQLiteSQLite
  • mingw-sqlite
NoYesJul 29, 2025
CVE-2025-3277MEDIUM6.9
  • SQLiteSQLite
  • nodejs:22::nodejs
NoYesApr 14, 2025
CVE-2025-29088MEDIUM5.6
  • SQLiteSQLite
  • nodejs22
NoYesApr 10, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management