p PatchFirst

CVE-2025-3277

CVE-2025-3277

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

An integer overflow can be triggered in SQLite’s `concat_ws()` function. The resulting, truncated integer is then used to allocate a buffer. When SQLite then writes the resulting string to the buffer, it uses the original, untruncated size and thus a wild Heap Buffer overflow of size ~4GB can be triggered. This can result in arbitrary code execution.

CVSS 6.9 · Medium · EPSS 1.3% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • sqlite

    Versions
    • < 3.49.1: Affected

    No fix published

  • 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 →