CVE-2025-59037 Details
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.
A malware injection has been identified in the DuckDB distribution for Node.js, specifically in versions 1.3.3 of the packages '@duckdb/node-api', '@duckdb/node-bindings', 'duckdb', and version 1.29.2 of '@duckdb/duckdb-wasm'. The malicious code, introduced through a phishing attack that compromised the maintainer's npm account, was designed to disrupt cryptocoin transactions by hijacking wallet interactions and redirecting funds to attacker-controlled accounts. This incident occurred on September 8, 2025, and was part of a broader compromise affecting several popular npm packages.
Users can upgrade to DuckDB Node.js packages version 1.3.4, 1.30.0, or a higher version. If they need to revert to a previous version, they can downgrade to 1.3.2 or 1.29.1.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 9, 2025CISA-ADP
Assessed Sep 10, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/duckdb/duckdb-node/releases/tag/v1.3.4 | [email protected] | Release NotesVendor |
| https://github.com/duckdb/duckdb-node/security/advisories/GHSA-w62p-hx95-gf2c | [email protected] | AdvisoryRemedyVendor |
| https://www.aikido.dev/blog/npm-debug-and-chalk-packages-compromised | [email protected] | BundleMedia CoverageRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-506 | Embedded Malicious Code | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| DuckDB | 1.3.3 (semver) |
CPE
Remediation
| |
| @duckdb/node-api | All versions |
CPE
Remediation
| |
| @duckdb/node-bindings | All versions |
CPE
Remediation
| |
| duckdb | All versions |
CPE
Remediation
| |
| @duckdb/duckdb-wasm | All versions |
CPE
Remediation
| |
| backslash | All versions |
CPE
Remediation
| |
| chalk-template | All versions |
CPE
Remediation
| |
| supports-hyperlinks | All versions |
CPE
Remediation
| |
| has-ansi | All versions |
CPE
Remediation
| |
| simple-swizzle | All versions |
CPE
Remediation
| |
| color-string | All versions |
CPE
Remediation
| |
| error-ex | All versions |
CPE
Remediation
| |
| color-name | All versions |
CPE
Remediation
| |
| is-arrayish | All versions |
CPE
Remediation
| |
| slice-ansi | All versions |
CPE
Remediation
| |
| color-convert | All versions |
CPE
Remediation
| |
| wrap-ansi | All versions |
CPE
Remediation
| |
| ansi-regex | All versions |
CPE
Remediation
| |
| supports-color | All versions |
CPE
Remediation
| |
| strip-ansi | All versions |
CPE
Remediation
| |
| chalk | All versions |
CPE
Remediation
| |
| debug | All versions |
CPE
Remediation
| |
| ansi-styles | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 9, 2025 | New CVE Received | [email protected] |
Volerion