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-08-24
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 · 503 days ago

Remediation Resources

Related Vulnerabilities

CVETitleSeverityCVSS
CVE-2017-20230Storable versions before 3.05 for Perl has a stack overflowCRITICAL10.0
CVE-2025-20260ClamAV PDF Scanning Buffer Overflow VulnerabilityCRITICAL9.8
CVE-2025-6965Integer Truncation on SQLiteCRITICAL9.8
CVE-2025-38497usb: gadget: configfs: Fix OOB read on empty string writeCRITICAL9.8
CVE-2025-32434PyTorch: `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
vulnfeed aggregates 11255 vulnerabilities from NVD, CISA KEV, Ubuntu, Debian, Red Hat, Kubernetes, Exploit-DB, OSS-Security, GitHub and OpenStack — updated every 4 hours.