Bug 2359553 (CVE-2025-3277)

Summary: CVE-2025-3277 SQLite: integer overflow in SQLite
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: it.vidhyadharan
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in SQLite’s `concat_ws()` function, where an integer overflow can be triggered. The resulting truncated integer can allocate a buffer. When SQLite writes the resulting string to the buffer, it uses the original, untruncated size, and a wild heap buffer overflow size of around 4GB can occur. This issue can result in arbitrary code execution.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2359637, 2359638, 2359639, 2359646, 2359647, 2359648, 2359649, 2359650, 2359640, 2359641, 2359642, 2359643, 2359644, 2359645    
Bug Blocks:    

Description OSIDB Bzimport 2025-04-14 17:01:13 UTC
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.

Comment 3 vidhyadharan 2025-04-21 06:30:33 UTC
When do we fix this issue. ?

Comment 5 errata-xmlrpc 2025-05-05 10:32:00 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2025:4459 https://access.redhat.com/errata/RHSA-2025:4459

Comment 6 errata-xmlrpc 2025-05-13 11:57:06 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:7433 https://access.redhat.com/errata/RHSA-2025:7433

Comment 7 errata-xmlrpc 2025-05-13 16:02:13 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2025:7517 https://access.redhat.com/errata/RHSA-2025:7517