CVE-2025-7709
Linux Debian vulnerability analysis and mitigation

Overview

An integer overflow vulnerability (CVE-2025-7709) was discovered in SQLite's FTS5 extension. The vulnerability was reported on July 15, 2025, fixed on July 16, 2025, and publicly disclosed on August 15, 2025. The issue affects SQLite versions up to 3.49.1 and was patched in version 3.50.3. The vulnerability exists in the calculation of an array of tombstone pointers, where the size calculation is truncated into a 32-bit integer (GitHub Advisory).

Technical details

The vulnerability occurs in the fts5SegIterAllocTombstone() function when nByte is calculated as the total size for an array of pointers. While the multiplication done in the SZ_FTS5TOMBSTONEARRAY macro is a 64-bit multiplication, the result gets truncated to 32-bit when the resulting value exceeds 2^32 - 1. The pIter->pSeg->nPgTombstone is a fully attacker-controlled, 32-bit value stored within the metadata tables for an FTS5 table. The vulnerability has been assigned a CVSS v4.0 score of 6.9 (MEDIUM) with the vector string CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:A/VC:N/VI:H/VA:L/SC:N/SI:H/SA:L (GitHub Advisory).

Impact

When exploited, this vulnerability can lead to a heap-buffer-overflow condition. The overflow can be triggered by either an attacker who can execute arbitrary queries or an attacker that can make an application process a controlled SQLite DB file. This can potentially lead to out-of-bounds read and write operations (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in SQLite version 3.50.3. The fix can be found in the SQLite source repository under commit ID 63595b74956a9391. Users are advised to upgrade to the patched version to mitigate this vulnerability (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-9943CRITICAL9.1
  • Linux DebianLinux Debian
  • shibboleth-sp
NoYesSep 10, 2025
CVE-2025-7709MEDIUM6.9
  • Linux DebianLinux Debian
  • sqlite3
NoNoSep 08, 2025
CVE-2025-9714MEDIUM6.2
  • Linux DebianLinux Debian
  • libxml2-static
NoYesSep 10, 2025
CVE-2025-40929MEDIUM5.6
  • Linux DebianLinux Debian
  • perl-cpanel-json-xs
NoYesSep 08, 2025
CVE-2025-8277LOW3.1
  • Linux DebianLinux Debian
  • libssh2-devel
NoNoSep 09, 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