p PatchFirst

CVE-2025-29087

CVE-2025-29087

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 3.2 · Low · EPSS 0.5% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • sqlite

    Versions
    • ≥ 3.44.0, < 3.49.1: Affected (semver)

    Update to 3.49.1

  • sqlite3 Debian:13

    Affected ranges
    • ECOSYSTEM: < 3.46.1-3

    Update to 3.46.1-3

  • sqlite3 Debian:14

    Affected ranges
    • ECOSYSTEM: < 3.46.1-3

    Update to 3.46.1-3

  • sqlite3 Ubuntu:24.04:LTS

    Versions
    • 3.42.0-1
    • 3.44.0-1
    • 3.44.2-1
    • 3.45.0-1
    • 3.45.1-1
    • 3.45.1-1ubuntu1
    • 3.45.1-1ubuntu2
    • 3.45.1-1ubuntu2.1
    Affected ranges
    • ECOSYSTEM: < 3.45.1-1ubuntu2.3

    Update to 3.45.1-1ubuntu2.3

Original sources

Check your server →