Advisory

DEBIAN-CVE-2025-3277

Also known as: CVE-2025-3277

Summary

The record has no summary.

Details

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.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2025-04-14 17:15 UTC
Modified
2026-10-15 09:47 UTC

Affected packages and fixes

sqlite3

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 3.46.1-3 (ecosystem)

Fixed versions

3.46.1-3

Fix

  • Fixed version 3.46.1-3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

sqlite3

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 3.46.1-3 (ecosystem)

Fixed versions

3.46.1-3

Fix

  • Fixed version 3.46.1-3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences