CVE-2026-12644 Details
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.
A denial-of-service vulnerability has been identified in the ts-deepmerge package, affecting versions prior to 8.0.0. The issue arises from improper handling of built-in Object.prototype methods, such as toString and valueOf. When user-controlled input includes these keys with non-function values, the merged object becomes dysfunctional. Any operation that requires string context triggers a TypeError, leading to a crash of the application.
Upgrade ts-deepmerge to version 8.0.0 or higher.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 19, 2026CISA-ADP
Assessed Jun 22, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/igorg1312/775fa00114c4d47df6ae0551779ab407 | CISA-ADP | ExploitTechnical Description |
| https://gist.github.com/igorg1312/775fa00114c4d47df6ae0551779ab407 | [email protected] | ExploitTechnical Description |
| https://github.com/voodoocreation/ts-deepmerge/commit/305a05831a462fb2c353d3cbbff55a0733286f8c | [email protected] | Source CodeVendor |
| https://security.snyk.io/vuln/SNYK-JS-TSDEEPMERGE-17339141 | [email protected] | AdvisoryExploitRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-248 | Uncaught Exception | CISA-ADP |
| CWE-248 | Uncaught Exception | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| ts-deepmerge | <= 7.0.3 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 22, 2026 | CVE Modified | CISA-ADP |
| Jun 19, 2026 | New CVE Received | [email protected] |
Volerion