{"id":"CVE-2026-12644","aliases":["CVE-2026-12644","GHSA-87mf-gv2c-c62c"],"related":[],"kind":"vulnerability","state":"published","title":"ts-deepmerge: Prototype Method Override leads to DoS","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-06-19T05:00:00.666Z","modified":"2026-06-23T15:42:30.483Z","severity":{"scorer":"snyk","scheme":"CVSS:4.0","vector":"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","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"snyk","scheme":"CVSS:4.0","vector":"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","score":6.9,"rating":"MEDIUM"},{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"}],"cwes":["CWE-248"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"8.0.0","status":"affected"}],"product":"ts-deepmerge","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"8.0.0"}],"ecosystem":"npm","package":"ts-deepmerge","purl":"pkg:npm/ts-deepmerge","source":"ghsa"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-TSDEEPMERGE-17339141","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://gist.github.com/igorg1312/775fa00114c4d47df6ae0551779ab407","tags":["exploit","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/voodoocreation/ts-deepmerge/commit/305a05831a462fb2c353d3cbbff55a0733286f8c","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12644","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/voodoocreation/ts-deepmerge","tags":["package"],"sources":["ghsa"]}],"credits":["Igor Garofano"],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-06-22T15:02:41.594Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-12644","url":"https://www.cve.org/CVERecord?id=CVE-2026-12644","licence":"CVE Terms of Use","modified":"2026-06-22T15:03:43.502Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-87mf-gv2c-c62c","url":"https://github.com/advisories/GHSA-87mf-gv2c-c62c","licence":"CC-BY-4.0","modified":"2026-06-19T21:56:30.084Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-12644","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12644","licence":"Public domain","modified":"2026-06-23T15:42:30.483Z"}],"updatedAt":"2026-11-25T22:59:25.219Z","epss":{"score":0.00308,"percentile":0.25518,"date":"2026-12-01T12:00:22.000Z"}}