Integer Overflow or Wraparound Affecting sqlite3 package, versions <3.49.1-150000.3.27.1


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.13% (34th 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 Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-SLES153-SQLITE3-10559706
  • published28 Jun 2025
  • disclosed27 Jun 2025

Introduced: 27 Jun 2025

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

How to fix?

Upgrade SLES:15.3 sqlite3 to version 3.49.1-150000.3.27.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream sqlite3 package and not the sqlite3 package as distributed by SLES. See How to fix? for SLES:15.3 relevant fixed versions and status.

An integer overflow can be triggered in SQLite’s concat_ws() function. The resulting, truncated integer is then used to allocate a buffer. When SQLite then writes the resulting string to the buffer, it uses the original, untruncated size and thus a wild Heap Buffer overflow of size ~4GB can be triggered. This can result in arbitrary code execution.

CVSS Base Scores

version 3.1