cve.bz

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

7.5 highEPSS 0.5%

High (7.5) in sqlite sqlite. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
In SQLite 3.44.0 through 3.49.0 before 3.49.1, the concat_ws() SQL function can cause memory to be written beyond the end of a malloc-allocated buffer. If the separator argument is attacker-controlled and has a large string (e.g., 2MB or more), an integer overflow occurs in calculating the size of the result buffer, and thus malloc may not allocate enough memory.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 46th 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: yes · Technical impact: total, assessed 2025-04-08. 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, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-29087 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-29087?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-29087?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-29087 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.44.0 before 3.49.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13, 14sqlite33.46.1-3DEBIAN-CVE-2025-29087
Ubuntu20.04:LTSsqlite33.31.1-4ubuntu0.7USN-7528-1
Ubuntu22.04:LTSsqlite33.37.2-2ubuntu0.4USN-7528-1
Ubuntu24.04:LTSsqlite33.45.1-1ubuntu2.3UBUNTU-CVE-2025-29087 USN-7528-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 11 moresqlite33.49.1-150000.3.27.1SUSE-SU-2025:01456-2
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2, Linux Enterprise Micro 5.3 and 3 moresqlite33.49.1-150000.3.27.1SUSE-SU-2025:1456-1
SUSELinux Enterprise Module for Basesystem 15 SP7sqlite33.49.1-150000.3.27.1SUSE-SU-2025:01456-1
SUSELinux Enterprise Server 12 SP5-LTSSsqlite33.49.1-9.33.1SUSE-SU-2025:01455-1
SUSELinux Enterprise Server LTSS Extended Security 12 SP5sqlite33.49.1-9.33.1SUSE-SU-2025:1455-1
SUSELinux Micro 6.0sqlite33.49.1-1.1SUSE-SU-2025:20323-1
SUSELinux Micro 6.1sqlite33.49.1-slfo.1.1_1.1SUSE-SU-2025:20395-1
openSUSELeap 15.6sqlite33.49.1-150000.3.27.1SUSE-SU-2025:1456-1
openSUSETumbleweedsqlite33.49.1-3.1openSUSE-SU-2025:14991-1
Alpinev3.19sqlite3.44.2-r1ALPINE-CVE-2025-29087
Alpinev3.20sqlite3.45.3-r2ALPINE-CVE-2025-29087
Alpinev3.21sqlite3.48.0-r1ALPINE-CVE-2025-29087
Alpaquitastreamsqlite3.49.1-r0BELL-CVE-2025-29087
BellSoft Hardened Containersstreamsqlite3.49.1-r0BELL-CVE-2025-29087

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

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The severity of this vulnerability is rated as Moderate, despite the potential for a severe outcome in unrestricted environments, primarily due to the limited impact observed within typical product deployments and the strong defense layers in regulated systems. The underlying flaw is a software error identified as CWE-190: Integer Overflow or Wraparound , which, when triggered, can corrupt memory and potentially lead to a complete compromise of system availability. However, a critical factor in the Moderate rating is that Red Hat’s product impact assessment determined that the vulnerability is limited to a Denial of Service (DoS) outcome, preventing Confidentiality or Integrity compromise. Furthermore, regulated environments introduce multiple significant barriers: process isolation ensures that any memory corruption is contained within the single affected process; least functionality reduces the initial attack surface; and layered memory protection mechanisms like Data Execution Prevention (DEP) and Address Space Layout Randomization (ASLR) enhance system resilience against memory manipulation attacks. These controls collectively make successful exploitation difficult, contain the damage to a service crash, and justify the Moderate rating instead of the upstream High score.

RHEL/UBI 9 ships SQLite version 3.34.1, which is not affected by this CVE.This vulnerability only exists in SQLite versions 3.44.0 through 3.49.0.

Red Hat evaluated the vulnerability according to our standard product impact assessment criteria and determined that the issue does not meet the threshold for a High severity rating. Although the upstream advisory scored the issue as High based on potential impact, exploitation requires specific conditions and is limited in scope within Red Hat products. Even if triggered, the vulnerability is limited to a denial-of-service outcome rather than remote code execution or compromise of confidentiality or integrity. For this reason, Red Hat assigned a Moderate severity rating.

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 10sqliteWill not fix
Red Hat Enterprise Linux 6sqliteOut of support scope
Red Hat Enterprise Linux 7sqliteOut of support scope
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 9nodejs:22/nodejsNot affected
Red Hat Enterprise Linux 9rustWill not fix
Red Hat Enterprise Linux 9sqliteNot affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Not affected
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-29087.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-25-226-08Siemens RUGGEDCOM CROSSBOW Station Access Controller2025-08-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesRUGGEDCOM CROSSBOW Station Access Controller (SAC)none listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

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