CVE-2026-12644
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 package | Versions | Reported by |
|---|---|---|
| ts-deepmerge | before 8.0.0 | CVE List |
| ts-deepmerge (npm) | before 8.0.0 | GitHub Advisory Database |
All scores
| snyk | 6.9medium CVSS:4.0 | CVSS: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 |
| snyk | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P |
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| GitHub | medium CVSS:4.0 | CVSS: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
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-12644 changed 2026-06-22 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-87mf-gv2c-c62c changed 2026-06-19 | CC-BY-4.0 |
| NVD | CVE-2026-12644 changed 2026-06-23 | Public domain |