# CVE-2026-12644: ts-deepmerge: Prototype Method Override leads to DoS

- Severity: Medium 6.9 (CVSS:4.0, scored by snyk) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-19T05:00:00.666Z
- Modified: 2026-06-23T15:42:30.483Z
- Also known as: GHSA-87mf-gv2c-c62c
- Weaknesses: CWE-248
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- ts-deepmerge: before 8.0.0
- ts-deepmerge (npm): before 8.0.0

## Every score

- snyk: CVSS:4.0 6.9 Medium `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: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://gist.github.com/igorg1312/775fa00114c4d47df6ae0551779ab407> (exploit, web)
- <https://security.snyk.io/vuln/SNYK-JS-TSDEEPMERGE-17339141> (web)
- <https://github.com/voodoocreation/ts-deepmerge/commit/305a05831a462fb2c353d3cbbff55a0733286f8c> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-12644> (advisory)
- <https://github.com/voodoocreation/ts-deepmerge> (package)

## Sources

- CVE List: [CVE-2026-12644](https://www.cve.org/CVERecord?id=CVE-2026-12644), CVE Terms of Use, modified 2026-06-22
- GitHub Advisory Database: [GHSA-87mf-gv2c-c62c](https://github.com/advisories/GHSA-87mf-gv2c-c62c), CC-BY-4.0, modified 2026-06-19
- NVD: [CVE-2026-12644](https://nvd.nist.gov/vuln/detail/CVE-2026-12644), Public domain, modified 2026-06-23

---

Page: https://cve.day/CVE-2026-12644 · Whole record: https://cve.day/CVE-2026-12644.json · Rebuilt by cve.day 2026-11-25T22:59:25.219Z
