CVE-2025-59037

High

Description

DuckDB is an analytical in-process SQL database management system. On 08 September 2025, the DuckDB distribution for Node.js on npm was compromised with malware (along with several other packages). An attacker published new versions of four of DuckDB's packages that included malicious code to interfere with cryptocoin transactions* According to the npm statistics, nobody has downloaded these packages before they were deprecated. The packages and versions `@duckdb/[email protected]`, `@duckdb/[email protected]`, `[email protected]`, and `@duckdb/[email protected]` were affected. DuckDB immediately deprecated the specific versions, engaged npm support to delete the affected verions, and re-released the node packages with higher version numbers (1.3.4/1.30.0). Users may upgrade to versions 1.3.4, 1.30.0, or a higher version to protect themselves. As a workaround, they may also downgrade to 1.3.2 or 1.29.1.

SeverityHigh
CVSS8.6
Exploit probability—
ProductDuckdb
PublishedSep 9, 2025
First seenSep 9, 2025
Weakness typeCWE-506CWE-506

How to fix

Update
  • duckdb1.3.4 or later
  • @duckdb/node-api1.3.4-alpha.27 or later
  • @duckdb/node-bindings1.3.4-alpha.27 or later
  • @duckdb/duckdb-wasm1.30.0 or later

Affected products

ProductAffected versionsFixed in
duckdbnpm1.3.3 ≤ v < 1.3.41.3.4
@duckdb/node-apinpm1.3.3 ≤ v < 1.3.4-alpha.271.3.4-alpha.27
@duckdb/node-bindingsnpm1.3.3 ≤ v < 1.3.4-alpha.271.3.4-alpha.27
@duckdb/duckdb-wasmnpm1.29.2 ≤ v < 1.30.01.30.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.