Integer Overflow or Wraparound The advisory has been revoked - it doesn't affect any version of package sqlite3  (opens in a new tab)


Threat Intelligence

EPSS
1.25% (69th 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-UBUNTU2504-SQLITE3-9789668
  • published23 Apr 2025
  • disclosed14 Apr 2025

Introduced: 14 Apr 2025

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

Amendment

The Ubuntu security team deemed this advisory irrelevant for Ubuntu:25.04.

NVD Description

Note: Versions mentioned in the description apply only to the upstream sqlite3 package and not the sqlite3 package as distributed by Ubuntu.

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.