cve.bz

CVE-2025-59037 duckdb duckdb-node: Embedded Malicious Code

8.6 highEPSS 0.4%Fix available

High (8.6) in duckdb duckdb-node. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in duckdb 1.3.4.

On this page
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.

Severity

CVSS 4.0

8.6 high
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
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 33rd percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-09-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-506 Embedded Malicious Code
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • duckdb (npm): fixed in 1.3.4
  • @duckdb/node-api (npm): fixed in 1.3.4-alpha.27
  • @duckdb/node-bindings (npm): fixed in 1.3.4-alpha.27
  • @duckdb/duckdb-wasm (npm): fixed in 1.30.0

Ask an AI about this CVE

Show the promptExplain CVE-2025-59037 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-59037?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-59037?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-59037 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
duckdb-node= 1.3.3
duckdb-node= 1.29.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-w62p-hx95-gf2cnpmduckdb>=1.3.3 <1.3.41.3.4
GHSA-w62p-hx95-gf2cnpm@duckdb/node-api>=1.3.3 <1.3.4-alpha.271.3.4-alpha.27
GHSA-w62p-hx95-gf2cnpm@duckdb/node-bindings>=1.3.3 <1.3.4-alpha.271.3.4-alpha.27
GHSA-w62p-hx95-gf2cnpm@duckdb/duckdb-wasm>=1.29.2 <1.30.01.30.0

Red Hat

Red Hat rates this Important.

Red Hat's statement

No Red Hat products use any compromised version of the impacted package(s). For more details see https://access.redhat.com/security/supply-chain-attacks-NPM-packages

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-59037.

Attack patterns (CAPEC)

  • CAPEC-442 Infected Software Likelihood: Medium · Severity: High
  • CAPEC-448 Embed Virus into DLL Likelihood: Medium · Severity: High
  • CAPEC-636 Hiding Malicious Data or Code within Files Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON