BlackTreeIndependent security intelligence
← Back to the CVE catalogue
Full vulnerability report · 2025
CVE-2025-3277High confidence

An integer overflow can be triggered in SQLite’s `concat_ws()` function

SQLite · sqlite

6.9MediumCVSS 4.0
Recommended action
Scheduled

Medium technical severity with no CISA KEV confirmation; remediate through the normal risk-based patch cycle unless local exposure raises the priority.

Patch available
Distribution package intelligence

Ubuntu vendor package status

Canonical’s release and source-package findings are shown separately from local repository availability.

1 package state
Repository candidate not checked

A published vendor fix does not prove that a matching update is enabled and installable on a particular asset. Confirm the local package candidate before scheduling remediation.

Ubuntu releaseSource packageVendor stateFixed versionEvidence
Ubuntu 24.04 LTSnoble · standard archivesqlite3Vendor fix publishedCanonical reports that a fixed source package version has been published. Repository candidate availability is not checked by BlackTree.3.45.1-1ubuntu2.3Canonical record ↗Source updated 9 Sept 2026
Direct vendor intelligence

Authoritative vendor CSAF and VEX advisories

Structured product status and remediation from the issuing vendor. Product-state explanations are always visible; large lists can be searched or downloaded.

5 current
CVE-2025-3277 · CSAF 2.0 · revision 3 · finalRed Hat Product SecuritySQLite: integer overflow in SQLite
155 fixed

The vendor explicitly identifies these products or versions as containing the fix.

  • lemon-debuginfo-0:3.46.1-4.el10_0.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • lemon-debuginfo-0:3.46.1-4.el10_0.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • lemon-debuginfo-0:3.46.1-4.el10_0.s390x as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • lemon-debuginfo-0:3.46.1-4.el10_0.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • sqlite-0:3.46.1-4.el10_0.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • sqlite-0:3.46.1-4.el10_0.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • sqlite-0:3.46.1-4.el10_0.s390x as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • sqlite-0:3.46.1-4.el10_0.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • sqlite-analyzer-debuginfo-0:3.46.1-4.el10_0.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • sqlite-analyzer-debuginfo-0:3.46.1-4.el10_0.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • sqlite-analyzer-debuginfo-0:3.46.1-4.el10_0.s390x as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • sqlite-analyzer-debuginfo-0:3.46.1-4.el10_0.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 10)
Summary
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.
Remediation
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
SA25P007 · CSAF 2.0 · revision 2 · finalABB Product Security Incident Response Team (PSIRT)B&R Automation Studio Update of SQLite version
1 known affected

The vendor explicitly identifies these products as affected by this CVE.

  • B&R Industrial Automation GmbH Automation Studio <6.5
Summary
An integer overflow vulnerability exists in SQLite's concat_ws() function that can lead to a massive heap buffer overflow. When triggered, the integer overflow results in a truncated size value being used for buffer allocation, while the original untruncated size is used for writing the resulting string, causing a heap buffer overflow of approximately 4GB.
Remediation
The problem is corrected in the following product versions: B&R Automation Studio 6.5 B&R recommends that customers apply the update at earliest convenience. The process to install updates is described in the user manual. The step to identify the installed product version is described in the user manual.
4HZM000604 · CSAF 2.0 · revision 1 · finalABB Product Security Incident Response Team (PSIRT)ABB Ability Camera Connect Vulnerabilities in outdated 3rd party component (SQLite 3.2.4)
1 known affected

The vendor explicitly identifies these products as affected by this CVE.

  • ABB Ability Camera Connect <=2.0.0.42
Summary
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.
Remediation
The problem is corrected in the following product versions: - ABB Ability Camera Connect 2.0.0.49. The easiest path to mitigate the problem is an update of ABB Ability Camera Connect system by the customer. ABB recommends that customers apply the update at earliest convenience.
SSA-398330 · CSAF 2.0 · revision 18 · interimSiemens ProductCERTSSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5
5 known affected

The vendor explicitly identifies these products as affected by this CVE.

  • SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)
  • SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)
  • SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)
  • SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)
  • SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0)
Summary
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.
Remediation
Update to V3.1.5 or later version
SSA-994087 · CSAF 2.0 · revision 1 · interimSiemens ProductCERTSSA-994087: Multiple SQLite Vulnerabilities in RUGGEDCOM CROSSBOW Station Access Controller Before V5.7
1 known affected

The vendor explicitly identifies these products as affected by this CVE.

  • RUGGEDCOM CROSSBOW Station Access Controller (SAC)
Summary
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.
Remediation
Update to V5.7 or later version
Optional official sources

National CERT insights
?CERT means Computer Emergency Response Team; CSIRT is the closely related term Computer Security Incident Response Team.

Select the national-authority views to include. The exact source language is shown on each matched advisory. Your choice is remembered on this device and encoded in the shareable URL.

Official European source

ENISA European Vulnerability Database

Official EUVD identifiers, advisory evidence and known-exploited context. Missing fields are not treated as evidence of low risk.

1 current
ENISA EUVD identifier

EUVD-2025-15064

No EUVD known-exploited evidence

ENISA has published the identifier mapping but no EUVD description has been stored yet.

EUVD state
Present in the current official mapping
Known exploitation
Not present in the current ENISA EUVD known-exploited dataset. This is not proof of no exploitation.
ENISA score
Not supplied in the stored EUVD record
Advisory evidence
No linked advisory details stored yet
Recommended actionScheduled

Medium technical severity with no CISA KEV confirmation; remediate through the normal risk-based patch cycle unless local exposure raises the priority.

Patch available
01

What, why and how

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.

What

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.

Why

A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().

How

An attacker operating through a network path may attempt exploitation without authentication or user interaction. If successful, the issue may execute code or commands in the affected security context.

What

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.

Why

A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().

How

An attacker operating through a network path may attempt exploitation without authentication or user interaction. If successful, the issue may execute code or commands in the affected security context.

02

Exploit reality and attack path

CVSS severity, EPSS forecast probability, public exploit material and CISA-confirmed exploitation are separate signals.

Observed exploitation
?Confirmed exploitation and public exploit material are separate signals. Attacks can occur without public proof-of-concept or exploit code.
No confirmed evidence

No CISA KEV match was present at the last successful refresh. This means no confirmation from that source, not proof of no exploitation.

Public PoC / exploit material
?Confirmed exploitation and public exploit material are separate signals. Attacks can occur without public proof-of-concept or exploit code.
None recorded

No exploit-tagged reference or CISA SSVC proof-of-concept state is currently recorded. Research may still exist outside the structured feeds.

Likely attack path
a network path → Heap-based Buffer Overflow → execute code or commands in the affected security context
Attack surface
Network
Privileges required
None: unauthenticated exploitation is possible
User interaction
None
Attack complexity
Low: no specialised conditions are recorded
Security boundary
Not a CVSS 4.0 base metric
Weakness
?CWE means Common Weakness Enumeration: a standard category for the underlying weakness.
CWE-122

CWE-122: Heap-based Buffer Overflow. A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().

CVSS vector
?CVSS means Common Vulnerability Scoring System. The vector records the metric values used to calculate technical severity.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L

Common Vulnerability Scoring System 4.0: the compact vector below is decoded into plain language.

AVNetworkAttack vector: The vulnerable component can be reached over a network.ACLowAttack complexity: No specialised conditions are required beyond attacker-controlled input.ATNoneAttack requirements: No additional deployment or execution condition is required.PRNonePrivileges required: The attacker does not need an account or existing privileges.UINoneUser interaction: No action by another user is required.VCLowVulnerable-system confidentiality: A successful attack can cause a limited loss.VILowVulnerable-system integrity: A successful attack can cause a limited loss.VALowVulnerable-system availability: A successful attack can cause a limited loss.SCLowSubsequent-system confidentiality: A successful attack can cause a limited loss.SILowSubsequent-system integrity: A successful attack can cause a limited loss.SALowSubsequent-system availability: A successful attack can cause a limited loss.
Post-exploitation / living off the land
After compromise, an attacker may use built-in shells, scripting engines, scheduled tasks and native network utilities for discovery, persistence or movement. This is a plausible LoTL path, not evidence that it has occurred for every attack.
NetworkUnauthenticatedRemote code executionCWE-122
A

Official authority intelligence

Only matched European and national findings are included. Language selectors and unavailable sources are omitted.

BSI · German · WID-SEC-W-2025-1595IBM AIX und VIOS (SQLite): Mehrere Schwachstellen

Ein entfernter anonymer oder lokaler Angreifer kann mehrere Schwachstellen in IBM AIX und IBM VIOS ausnutzen, um einen Denial of Service Angriff durchzuführen oder um Code auszuführen.

Official advisory
BSI · German · WID-SEC-W-2025-0943Red Hat Enterprise Linux (node.js): Mehrere Schwachstellen

Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in Red Hat Enterprise Linux ausnutzen, um einen Denial of Service Angriff durchzuführen, oder beliebigen Programmcode auszuführen.

Official advisory
CERT-FR · French · CERTFR-2026-AVI-0592Multiples vulnérabilités dans Tenable Network Monitor

De multiples vulnérabilités ont été découvertes dans Tenable Network Monitor. Certaines d'entre elles permettent à un attaquant de provoquer un déni de service à distance, un contournement de la politique de sécurité et un problème de sécurité non spécifié par l'éditeur.

Official advisory
CERT-FR · French · CERTFR-2025-AVI-0756Multiples vulnérabilités dans les produits VMware

cord?id=CVE-2025-3073 Référence CVE CVE-2025-3074 https://www.cve.org/CVERecord?id=CVE-2025-3074 Référence CVE CVE-2025-30749 https://www.cve.org/CVERecord?id=CVE-2025-30749 Référence CVE CVE-2025-30754 https://www.cve.org/CVERecord?id=CVE-2025-30754 Référence CVE CVE-2025-31115 https://www.cve.org/CVERecord?id=CVE-2025-31115 Référence CVE CVE-2025-31672 https://www.cve.org/CVERecord?id=CVE-2025-31672 Référence CVE CVE-2025-32414 https://www.cve.org/CVERecord?id=CVE-2025-32414 Référence CVE CVE-2025-32415 https://www.cve.org/CVERecord?id=CVE-2025-32415 Référence CVE CVE-2025-32462 https://www.cve.org/CVERecord?id=CVE-2025-32462 Référence CVE CVE-2025-3277 https://www.cve.org/CVERecord?id=CVE-2025-3277 Référence CVE CVE-2025-32988 https://www.cve.org/CVERecord?id=CVE-2025-32988 Référence CVE CVE-2025-32989 https://www.cve.org/CVERecord?id=CVE-2025-32989 Référence CVE CVE-2025-32990 https://www.cve.org/CVERecord?id=CVE-2025-32990 Référence CVE CVE-2025-3576 https://www.cve.org/CVERecord?id=CVE-2025-3576 Référence CVE CVE-2025-3608 https://www.cve.org/CVERecord?id=CVE-2025-3608 Référence CVE CVE-2025-3619 https://www.cve.org/CVERecord?id=CVE-2025-3619 Référence CVE CVE-2025-3620 https://www.cve.org/CVERecord?id=CVE-2025-3620 Référence CVE CVE-2025-37738 https://www.cve.org/CVERecord?id=CVE-2025-

Official advisory
CERT-FR · French · CERTFR-2025-AVI-0550Multiples vulnérabilités dans les produits Tenable

De multiples vulnérabilités ont été découvertes dans les produits Tenable. Certaines d'entre elles permettent à un attaquant de provoquer une exécution de code arbitraire à distance, un déni de service à distance et un problème de sécurité non spécifié par l'éditeur.

Official advisory
CERT-FR · French · CERTFR-2025-AVI-0374Multiples vulnérabilités dans Tenable Security Center

De multiples vulnérabilités ont été découvertes dans Tenable Security Center. Elles permettent à un attaquant de provoquer une exécution de code arbitraire à distance et un déni de service à distance.

Official advisory
NCSC-NL · Dutch · NCSC-2025-0246Kwetsbaarheden verholpen in Siemens producten

De kwetsbaarheden stellen een kwaadwillende mogelijk in staat aanvallen uit te voeren die kunnen leiden tot de volgende categorieën schade: * Denial-of-Service (DoS) * Cross-Site Scripting * Manipulatie van gegevens * Omzeilen van een beveiligingsmaatregel * (Remote) code execution (SYSTEM rechten) * (Remote) code execution (Gebruikersrechten) * Toegang tot gevoelige gegevens * Verhogen van rechten De kwaadwillende heeft hiervoor toegang nodig tot de productieomgeving. Het is goed gebruik een dergelijke omgeving niet publiek toegankelijk te hebben.

Official advisory
03

Patch and workaround

Operational remediation based on structured source evidence.

Status
?Patch availability is based on structured fixed-version fields and authoritative update references. If no fix is verified, check the vendor advisory before making a change.
Patch available
Affected
< 3.49.1
Fixed
lemon-debuginfo-0:3.46.1-4.el10_0.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 10); lemon-debuginfo-0:3.46.1-4.el10_0.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 10); lemon-debuginfo-0:3.46.1-4.el10_0.s390x as a component of Red Hat Enterprise Linux AppStream (v. 10); lemon-debuginfo-0:3.46.1-4.el10_0.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 10); sqlite-0:3.46.1-4.el10_0.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 10); sqlite-0:3.46.1-4.el10_0.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 10); sqlite-0:3.46.1-4.el10_0.s390x as a component of Red Hat Enterprise Linux AppStream (v. 10); sqlite-0:3.46.1-4.el10_0.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 10); sqlite-analyzer-debuginfo-0:3.46.1-4.el10_0.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 10); sqlite-analyzer-debuginfo-0:3.46.1-4.el10_0.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 10); sqlite-analyzer-debuginfo-0:3.46.1-4.el10_0.s390x as a component of Red Hat Enterprise Linux AppStream (v. 10); sqlite-analyzer-debuginfo-0:3.46.1-4.el10_0.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 10); sqlite-debuginfo-0:3.46.1-4.el10_0.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 10); sqlite-debuginfo-0:3.46.1-4.el10_0.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 10); sqlite-debuginfo-0:3.46.1-4.el10_0.s390x as a component of Red Hat Enterprise Linux AppStream (v. 10); sqlite-debuginfo-0:3.46.1-4.el10_0.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 10); sqlite-debugsource-0:3.46.1-4.el10_0.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 10); sqlite-debugsource-0:3.46.1-4.el10_0.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 10); sqlite-debugsource-0:3.46.1-4.el10_0.s390x as a component of Red Hat Enterprise Linux AppStream (v. 10); sqlite-debugsource-0:3.46.1-4.el10_0.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 10); sqlite-devel-0:3.46.1-4.el10_0.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 10); sqlite-devel-0:3.46.1-4.el10_0.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 10); sqlite-devel-0:3.46.1-4.el10_0.s390x as a component of Red Hat Enterprise Linux AppStream (v. 10); sqlite-devel-0:3.46.1-4.el10_0.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 10); sqlite-libs-debuginfo-0:3.46.1-4.el10_0.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 10); sqlite-libs-debuginfo-0:3.46.1-4.el10_0.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 10); sqlite-libs-debuginfo-0:3.46.1-4.el10_0.s390x as a component of Red Hat Enterprise Linux AppStream (v. 10); sqlite-libs-debuginfo-0:3.46.1-4.el10_0.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 10); sqlite-tcl-debuginfo-0:3.46.1-4.el10_0.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 10); sqlite-tcl-debuginfo-0:3.46.1-4.el10_0.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 10); and 125 more
Action
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
Workaround
No verified workaround is recorded. If business-safe, reduce exposure to the affected interface and allow only trusted sources until authoritative guidance is available.
04

Evidence and provenance

Published 14 Apr 2025 · Last source change 27 May 2025, 14:42 UTC · CWE-122 · Heap-based Buffer Overflow

CVE recordCVE.org · 5.1
CVSS sourceCNA
EPSS source
?The date BlackTree first stored a score for this CVE from the daily FIRST EPSS feed.
FIRST · tracked since 2026-08-14
European sourceENISA EUVD · EUVD-2025-15064
Product sourceCNA
Remediation sourceVendor CSAF · Red Hat Product Security
CWE sourceCNA
NVD statusNVD enriched

Core structured fields are present and their contributing authorities are shown above.

Material change intelligence

What changed after publication

View recent updates →
  1. Vendor guidanceAuthoritative vendor guidance changed from authoritative remediation link to authoritative remediation link.
    Before
    authoritative remediation link
    After
    authoritative remediation link
    ABB Product Security Incident Response Team (PSIRT)
  2. Vendor guidanceAuthoritative vendor guidance changed from authoritative remediation link to authoritative remediation link.
    Before
    authoritative remediation link
    After
    authoritative remediation link
    ABB Product Security Incident Response Team (PSIRT)
Material fields only · duplicate refreshes suppressed · history retained for the configured operational retention period
Technical terms and abbreviations used in this report
CVE
Common Vulnerabilities and Exposures: the public identifier for one disclosed vulnerability.
CVSS
Common Vulnerability Scoring System: a technical severity framework; it is not patching priority by itself.
EPSS
Exploit Prediction Scoring System: FIRST's estimate of the probability that exploitation activity will be observed in the next 30 days; it is a forecast, not confirmation.
CWE
Common Weakness Enumeration: the standard category describing the underlying software or hardware weakness.
CNA
CVE Numbering Authority: an organisation authorised to assign and publish CVE records.
CISA ADP
Cybersecurity and Infrastructure Security Agency Authorized Data Publisher: structured enrichment added to a CVE record.
NVD
National Vulnerability Database: NIST's enrichment service for CVE records.
CERT / CSIRT
A computer security incident response team that publishes warnings or coordinates incident response.
PoC
Proof of concept: public material that demonstrates or helps reproduce exploitation.
CSAF
Common Security Advisory Framework: a machine-readable format for security advisories.
LoTL
Living off the land: abuse of legitimate tools or system functions during an attack.
Free version - for non-commercial use only.CVE-2025-3277 · cve.blacktree.nl