Skip to content
OpenAdvisories
Medium · 6.9 CVE-2025-7458 EUVD-2025-23000GHSA-h2g7-95mc-8g48

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

Published Jul 29, 2025 · Updated Jul 29, 2025 · Assigned by Google

Description

An integer overflow in the sqlite3KeyInfoFromExprList function in SQLite versions 3.39.2 through 3.41.1 allows an attacker with the ability to execute arbitrary SQL statements to cause a denial of service or disclose sensitive information from process memory via a crafted SELECT statement with a large number of expressions in the ORDER BY clause.

Affected products

VendorProductAffectedFixed
SQLite SQLite 3.39.2 – < 3.41.2 3.41.2

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 sqlite3 3.42.0-1 —
Debian 13 sqlite3 3.42.0-1 —
Debian 12 sqlite3 No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS sqlite No fix yet —
Ubuntu 20.04 LTS sqlite No fix yet —
Ubuntu 18.04 LTS sqlite No fix yet —
Ubuntu 16.04 LTS sqlite No fix yet —
Ubuntu 14.04 LTS sqlite No fix yet —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) sqlite 3.39.2-4 —

References