Memory disclosure or crash via overflowing key allocation
Published Jul 29, 2025 · Updated Jul 29, 2025
Integer overflow in SQLite 3.39.2 through 3.41.1 allows local users to read process memory or crash an application via crafted SQL. Allocation-size arithmetic in sqlite3KeyInfoFromExprList wraps when a query supplies enough ORDER BY expressions, leaving the KeyInfo allocation too short for later reads. Exploitation requires the containing application to execute attacker-controlled SQL; the read can expose its process memory, while failure can terminate that application.
Summary
What happened
Integer overflow in SQLite 3.39.2 through 3.41.1 allows local users to read process memory or crash an application via crafted SQL. Allocation-size arithmetic in sqlite3KeyInfoFromExprList wraps when a query supplies enough ORDER BY expressions, leaving the KeyInfo allocation too short for later reads. Exploitation requires the containing application to execute attacker-controlled SQL; the read can expose its process memory, while failure can terminate that application.
The record
- CVE
- CVE-2025-7458
- Published
- Jul 29, 2025
- Updated
- Jul 29, 2025
- Vendor
- SQLite
- Product
- SQLite
- Classifications
- CWE-190, CAPEC-92
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 29, 2025CVE publishedPublication date reported by the CVE source.
- Jul 29, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=3.39.2 <3.41.2
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo