GitHub Advisoryadvisory · npm

GHSA-87mf-gv2c-c62c ts-deepmerge: Prototype Method Override leads to DoS

MEDIUM Published 2026-06-19 Modified 2026-06-19 Official page ↗
Aliases
CVE-2026-12644
Ecosystem
npm
Packages
ts-deepmerge
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weaknesses
CWE-248
Reviewed
2026-06-19

Affected packages

• npm ts-deepmerge: < 8.0.0 → fixed in 8.0.0

Description

Versions of the package ts-deepmerge before 8.0.0 are vulnerable to Uncaught Exception due to the improper handling of built-in Object.prototype methods (such as toString, valueOf). When user-controlled input contains these keys with non-function values, the resulting merged object becomes broken — any string context operation throws a TypeError, crashing the application.

Related

Alias · CVE (1)

  • CVE-2026-12644 Versions of the package ts-deepmerge before 8.0.0 are vulnerable to Uncaught Exception due to the improper handling of built-in… vulnerability

Weakness · CWE (1)

  • CWE-248 Uncaught Exception weakness

References