CVE-2026-12644
MEDIUM 5.5CVSS 4.0ts-deepmerge: Prototype Method Override leads to DoS
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.
- Published
- 19 Jun 2026
- Last modified
- 23 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Deferred
- Weakness
- CWE-248
- Also known as
- GHSA-87mf-gv2c-c62c
- Sources
- NVDJSONOSV GHSA-87mf-gv2c-c62cJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 4.0 | MEDIUM 5.5 | 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | 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 | |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | ts-deepmerge | < 8.0.0 | 8.0.0 |
References
- https://gist.github.com/igorg1312/775fa00114c4d47df6ae0551779ab407 · WEB
- https://github.com/voodoocreation/ts-deepmerge/commit/305a05831a462fb2c353d3cbbff55a0733286f8c · WEB
- https://security.snyk.io/vuln/SNYK-JS-TSDEEPMERGE-17339141 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-12644 · ADVISORY
- https://github.com/voodoocreation/ts-deepmerge · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 19 Jun 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 19 Jun 2026)