CRITICAL 9.8 Microsoft

CVE-2025-29087

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.

Microsoft Security Update 2025-Apr: 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.

Affected Products

References

Published: 2025-04-08 · Source: Microsoft · Feed updated: 2026-10-12
This critical severity vulnerability with a CVSS score of 9.8 was published on 2025-04-08 via Microsoft. Affected: cbl2 libdb 5.3.28-7 on CBL Mariner 2.0, azl3 libdb 5.3.28-9 on Azure Linux 3.0, cbl2 sqlite 3.39.2-3 on CBL Mariner 2.0 and 3 more.

Risk Timeline

CVE Disclosed2025-04-08 · 552 days ago

Remediation Resources

Related Vulnerabilities

CVETitleSeverityCVSS
CVE-2017-20230Storable versions before 3.05 for Perl has a stack overflowCRITICAL10.0
CVE-2025-62878Local Path Provisioner vulnerable to Path Traversal via parameters.pathPatternCRITICAL9.9
CVE-2025-71074functionfs: fix the open/removal racesCRITICAL9.8
CVE-2025-32434 PoCPyTorch: `torch.load` with `weights_only=True` leads to remote code executionCRITICAL9.8
CVE-2025-3277An integer overflow can be triggered in SQLite’s `concat_ws()` function. The resCRITICAL9.8
CVE-2026-27143Missing bound checks can lead to memory corruption in safe Go in cmd/compileCRITICAL9.8
vulnfeed aggregates 13827 vulnerabilities from NVD, CISA KEV, Ubuntu, Debian, Red Hat, Kubernetes, Exploit-DB, OSS-Security, GitHub and OpenStack — updated every 4 hours.