CVE-2026-12644
JSON

6.9medium

ts-deepmerge: Prototype Method Override leads to DoS

Severity
6.9medium CVSS:4.0 by snyk
Exploit likelihood
0.31% (higher than 25% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
snyk
Also known as
GHSA-87mf-gv2c-c62c

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

Product or packageVersionsReported by
ts-deepmergebefore 8.0.0CVE List
ts-deepmerge (npm)before 8.0.0GitHub Advisory Database

All scores

snyk6.9medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
snyk5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P
GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P

Classification

CWE-248

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-12644 changed 2026-06-22CVE Terms of Use
GitHub Advisory DatabaseGHSA-87mf-gv2c-c62c changed 2026-06-19CC-BY-4.0
NVDCVE-2026-12644 changed 2026-06-23Public domain