CVE-2025-29087 Affecting sqlite package, versions <3.44.2-r1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.02% (3rd 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-ALPINE319-SQLITE-9712341
  • published16 Apr 2025
  • disclosed7 Apr 2025

Introduced: 7 Apr 2025

NewCVE-2025-29087  (opens in a new tab)

How to fix?

Upgrade Alpine:3.19 sqlite to version 3.44.2-r1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream sqlite package and not the sqlite package as distributed by Alpine. See How to fix? for Alpine:3.19 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