6.9Medium

CVE-2025-3277

SQLite sqlite; Siemens RUGGEDCOM CROSSBOW Station Access Controller (SAC); Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP; Siemens SIMATIC S7-1500 CPU 1518F-4 PN… Published: (1 year ago)

Description

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.

Weakness (CWE): CWE-122CWE-190

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Siemens RUGGEDCOM CROSSBOW Station Access Controller (SAC) < V5.7
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.0 – < V3.1.5
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.0 – < V3.1.5
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.0 – < V3.1.5
SQLite sqlite < 3.49.1

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:* ≥ 3.44.0 < 3.49.1