Skip to main content
← All vulnerabilities
CVE-2025-29087BIT-SQLITE-2025-29087

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-alloca

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.49.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • SQLite SQLite

    From 3.44.0 · fixed in 3.49.1

  • sqliteBitnami

    From 3.44.0 · fixed in 3.49.1

References 3

sqlite.org

gist.github.com