Integer Overflow or Wraparound Affecting sqlite-dev package, versions <3.49.1-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.52% (44th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-MINIMOSLATEST-SQLITEDEV-13316546
  • published6 Oct 2025
  • disclosed7 Apr 2025

Introduced: 7 Apr 2025

CVE-2025-29087  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Minimos:latest sqlite-dev to version 3.49.1-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream sqlite-dev package and not the sqlite-dev package as distributed by Minimos. See How to fix? for Minimos:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1