Skip to content

CVE-2025-59037 DuckDB NPM packages 1.3.3 and 1.29.2 briefly compromised with malware

HighCVSS 8.6 EPSS 0.39%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
Debian

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/node-api@1.3.3, @duckdb/node-bindings@1.3.3, duckdb@1.3.3, and @duckdb/duckdb-wasm@1.29.2 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.

Upgrade path

5 packages: 4 fixed.

PackageAffectedFixed inStatus
duckdb @duckdb/duckdb-wasm(npm) = 1.29.2; >= 1.29.2, < 1.30.0 1.30.0 Fixed
duckdb @duckdb/node-api(npm) = 1.3.3; >= 1.3.3, < 1.3.4-alpha.27 1.3.4-alpha.27 Fixed
duckdb @duckdb/node-bindings(npm) = 1.3.3; >= 1.3.3, < 1.3.4-alpha.27 1.3.4-alpha.27 Fixed
npm duckdb(npm) = 1.3.3; >= 1.3.3, < 1.3.4 1.3.4 Fixed
duckdb-node = = 1.3.3; = = 1.29.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm duckdb(npm) = 1.3.3 No fix listed
duckdb @duckdb/node-api(npm) = 1.3.3 No fix listed
duckdb @duckdb/node-bindings(npm) = 1.3.3 No fix listed
duckdb @duckdb/duckdb-wasm(npm) = 1.29.2 No fix listed
duckdb-node = = 1.3.3 No fix listed
duckdb-node = = 1.29.2 No fix listed
npm duckdb(npm) >= 1.3.3, < 1.3.4 1.3.4
duckdb @duckdb/node-api(npm) >= 1.3.3, < 1.3.4-alpha.27 1.3.4-alpha.27
duckdb @duckdb/node-bindings(npm) >= 1.3.3, < 1.3.4-alpha.27 1.3.4-alpha.27
duckdb @duckdb/duckdb-wasm(npm) >= 1.29.2, < 1.30.0 1.30.0

References