CVE-2025-59037 json
DuckDB NPM packages 1.3.3 and 1.29.2 briefly compromised with malware
published last yr. modified 4mo ago also GHSA-w62p-hx95-gf2c , EUVD-2025-33981
- cvss
- 8.6
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 33%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm duckdb 1.3.4
- npm @duckdb/node-api 1.3.4-alpha.27
- npm @duckdb/node-bindings 1.3.4-alpha.27
- npm @duckdb/duckdb-wasm 1.30.0
Is CVE-2025-59037 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-59037 updated
duckdb: DuckDB NPM packages 1.3.3 and 1.29.2 briefly compromised with malware
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- last yr.
Exploit prediction
0.39% chance of exploitation in the next 30 days, higher than 33% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.6 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| CNA | 4.0 | 8.6 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | duckdb | >=1.3.3, <1.3.4 |
1.3.4 |
| npm | @duckdb/node-api | >=1.3.3, <1.3.4-alpha.27 |
1.3.4-alpha.27 |
| npm | @duckdb/node-bindings | >=1.3.3, <1.3.4-alpha.27 |
1.3.4-alpha.27 |
| npm | @duckdb/duckdb-wasm | >=1.29.2, <1.30.0 |
1.30.0 |
Affected products
- duckdb duckdb-node
Classification
- Weakness
-
- CWE-506 Embedded Malicious Code
References
Sources
- CVE List CVE-2025-59037
- GitHub Advisory GHSA-w62p-hx95-gf2c
- NVD CVE-2025-59037
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.