Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-12644 EUVD-2026-37991GHSA-87mf-gv2c-c62c

ts-deepmerge: Prototype Method Override leads to DoS

Published Jun 19, 2026 · Updated Jun 22, 2026 · Assigned by snyk

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.

Affected products

VendorProductAffectedFixed
— ts-deepmerge < 8.0.0 8.0.0

Affected packages

EcosystemPackageAffectedFixedRecord
npm ts-deepmerge < 8.0.0 8.0.0 GHSA-87mf-gv2c-c62c

References