UBUNTU-CVE-2025-29087

Source
https://ubuntu.com/security/CVE-2025-29087
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-29087.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-29087
Upstream
Downstream
Related
Published
2025-04-07T20:15:00Z
Modified
2025-07-18T17:03:40Z
Severity
  • 3.2 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L CVSS Calculator
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:24.04:LTS / sqlite3

Package

Name
sqlite3
Purl
pkg:deb/ubuntu/sqlite3@3.45.1-1ubuntu2.3?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.45.1-1ubuntu2.3

Affected versions

3.*

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

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "3.45.1-1ubuntu2.3",
            "binary_name": "lemon"
        },
        {
            "binary_version": "3.45.1-1ubuntu2.3",
            "binary_name": "lemon-dbgsym"
        },
        {
            "binary_version": "3.45.1-1ubuntu2.3",
            "binary_name": "libsqlite3-0"
        },
        {
            "binary_version": "3.45.1-1ubuntu2.3",
            "binary_name": "libsqlite3-0-dbgsym"
        },
        {
            "binary_version": "3.45.1-1ubuntu2.3",
            "binary_name": "libsqlite3-dev"
        },
        {
            "binary_version": "3.45.1-1ubuntu2.3",
            "binary_name": "libsqlite3-tcl"
        },
        {
            "binary_version": "3.45.1-1ubuntu2.3",
            "binary_name": "libsqlite3-tcl-dbgsym"
        },
        {
            "binary_version": "3.45.1-1ubuntu2.3",
            "binary_name": "sqlite3"
        },
        {
            "binary_version": "3.45.1-1ubuntu2.3",
            "binary_name": "sqlite3-dbgsym"
        },
        {
            "binary_version": "3.45.1-1ubuntu2.3",
            "binary_name": "sqlite3-doc"
        },
        {
            "binary_version": "3.45.1-1ubuntu2.3",
            "binary_name": "sqlite3-tools"
        },
        {
            "binary_version": "3.45.1-1ubuntu2.3",
            "binary_name": "sqlite3-tools-dbgsym"
        }
    ],
    "availability": "No subscription required"
}