CVE-2025-29087

Source
https://cve.org/CVERecord?id=CVE-2025-29087
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-29087.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-29087
Aliases
Downstream
ALPINE (1)
BELL (1)
DEBIAN (1)
MINI (1)
openSUSE (1)
ROOT (1)
SUSE (7)
UBUNTU (1)
Related
Published
2025-04-07T00:00:00Z
Modified
2026-08-12T03:30:35Z
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
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.

Database specific
{
    "cna_assigner":  "mitre",
    "cwe_ids":  [
        "CWE-190"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/29xxx/CVE-2025-29087.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "introduced":  "3.44.0"
                },
                {
                    "fixed":  "3.49.1"
                }
            ],
            "source":  "AFFECTED_FIELD"
        },
        {
            "extracted_events":  [
                {
                    "introduced":  "3.44.0"
                },
                {
                    "fixed":  "3.49.1"
                }
            ],
            "source":  "CPE_FIELD"
        },
        {
            "extracted_events":  [
                {
                    "introduced":  "3.44.0"
                },
                {
                    "fixed":  "3.49.0"
                },
                {
                    "fixed":  "3.49.1"
                }
            ],
            "source":  "DESCRIPTION"
        }
    ]
}
References

Affected packages

Git / github.com/sqlite/sqlite

Affected ranges

Type
GIT
Repo
https://github.com/sqlite/sqlite
Events
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "3.44.0"
        },
        {
            "fixed":  "3.49.1"
        }
    ],
    "source":  "CPE_RANGE"
}

Affected versions

Other
major-relase
relase
version-3.*
version-3.44.0
version-3.45.0
version-3.46.0
version-3.47.0
version-3.48.0
version-3.49.0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-29087.json"