AI description
CVE-2025-29087 affects SQLite versions 3.44.0 through 3.49.0 before 3.49.1. The vulnerability lies within the `concat_ws()` SQL function. Specifically, the `concat_ws()` function is susceptible to an integer overflow when handling a separator argument controlled by an attacker. If the separator is a large string (e.g., 2MB or more), the integer overflow occurs during the calculation of the result buffer size, potentially leading to `malloc` allocating insufficient memory. This can then cause memory to be written beyond the allocated buffer.
- Description
- 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.
- Source
- cve@mitre.org
- NVD status
- Analyzed
CVSS 3.1
- Type
- Primary
- Base score
- 7.5
- Impact score
- 3.6
- Exploitability score
- 3.9
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Severity
- HIGH
- Hype score
- Not currently trending
🚨 Critical SQLite3 update for #SUSE/#openSUSE! CVE-2025-29087 (RCE) + CVE-2025-29088 (memory corruption) = Patch NOW. 👉 https://t.co/pJqpuodjwh #SUSE #Linux https://t.co/bxyhCY6Yd0
@Cezar_H_Linux
7 May 2025
35 Impressions
0 Retweets
0 Likes
0 Bookmarks
0 Replies
0 Quotes
Released go-sqlite3 v1.14.28 #golang Fixed CVE-2025-29087 https://t.co/vSMfoRy9fl
@mattn_jp
16 Apr 2025
3005 Impressions
2 Retweets
8 Likes
0 Bookmarks
1 Reply
0 Quotes
[
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "42F127F3-9545-4944-86C7-38FE88E9DEBA",
"versionEndExcluding": "3.49.1",
"versionStartIncluding": "3.44.0"
}
],
"operator": "OR"
}
]
}
]