cve.bz

CVE-2025-7458 sqlite sqlite: Year 2038 problem, Y2K38, Y2038, Epochalypse

6.9 mediumEPSS 0.4%Fix available

Medium (6.9) in sqlite sqlite. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

6.9 medium
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

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 30th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-07-29. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-7458 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-7458?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-7458?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-7458 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
SQLitefrom 3.39.2 before 3.41.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12sqlite3no fix listedDEBIAN-CVE-2025-7458
Debian13, 14sqlite33.42.0-1DEBIAN-CVE-2025-7458
Ubuntu14.04:LTS, 16.04:LTS, 18.04:LTS and 2 moresqliteno fix listedUBUNTU-CVE-2025-7458
Azure Linux2sqlite3.39.2-4AZL-65990
Alpaquita23sqlite3.40.1-r3BELL-CVE-2025-7458
Alpaquitastreamsqlite3.42.0-r2BELL-CVE-2025-7458
BellSoft Hardened Containers23sqlite3.40.1-r3BELL-CVE-2025-7458
BellSoft Hardened Containersstreamsqlite3.42.0-r2BELL-CVE-2025-7458

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A MODERATE severity integer overflow flaw was found in SQLite's sqlite3KeyInfoFromExprList function. An attacker who already has the ability to execute arbitrary SQL statements against an application using an affected SQLite version (3.39.2 through 3.41.1) could supply a crafted SELECT statement with a large number of expressions in the ORDER BY clause, causing a denial of service or the disclosure of sensitive information from process memory. Because successful exploitation requires the attacker to already be able to run raw SQL statements, Red Hat Product Security has rated this flaw as MODERATE rather than the CRITICAL severity assigned by NIST, which assumes a remote, unauthenticated attacker with no prior access.

The sqlite packages shipped in Red Hat Enterprise Linux are not affected because the vulnerable code is not present in the shipped versions. The same applies to Red Hat Enterprise Linux components that carry their own copy of SQLite, such as Firefox, Thunderbird, Node.js 22, and the Rust toolset, and to the mingw-sqlite packages; a small number of older Red Hat Enterprise Linux update streams were closed as wontfix rather than fixed. Red Hat OpenShift Container Platform images built on RHEL CoreOS 9 are not affected because the vulnerable code is not present, and a fix for the affected RHEL CoreOS 8 based OpenShift Container Platform 4.12 images has been delivered. In Red Hat In-Vehicle OS, the sqlite package and the Firefox, Thunderbird, and Rust components that bundle SQLite are affected, and fixes are being pursued with the delegated product teams. In the community projects, the qt5-qtwebengine and qt6-qtwebengine packages in EPEL are affected, while the affected Fedora packages are either out of support or marked wontfix.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10firefoxNot affected
Red Hat Enterprise Linux 10sqliteWill not fix
Red Hat Enterprise Linux 10thunderbirdNot affected
Red Hat Enterprise Linux 6sqliteNot affected
Red Hat Enterprise Linux 7firefoxNot affected
Red Hat Enterprise Linux 7sqliteNot affected
Red Hat Enterprise Linux 8firefoxWill not fix
Red Hat Enterprise Linux 8mingw-sqliteNot affected
Red Hat Enterprise Linux 8nodejs:22/nodejsNot affected
Red Hat Enterprise Linux 8rust-toolset:rhel8/rustWill not fix
Red Hat Enterprise Linux 8sqliteNot affected
Red Hat Enterprise Linux 8thunderbirdWill not fix
Red Hat Enterprise Linux 9firefoxWill not fix
Red Hat Enterprise Linux 9nodejs:22/nodejsNot affected
Red Hat Enterprise Linux 9rustWill not fix
Red Hat Enterprise Linux 9sqliteNot affected
Red Hat Enterprise Linux 9thunderbirdWill not fix
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-7458.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON