CVE-2026-12644: Uncaught Exception in ts-deepmerge
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.
AI Analysis
Technical Summary
CVE-2026-12644 affects ts-deepmerge versions before 8.0.0. The vulnerability arises from improper handling of Object.prototype methods such as toString and valueOf during object merging. When user-controlled input contains these keys with non-function values, the merged object becomes broken. Any string context operation on this object triggers a TypeError, causing an uncaught exception and crashing the application. This is classified under CWE-248 (Uncaught Exception). No official patch or remediation level has been published yet, and no known exploits are reported in the wild.
Potential Impact
Exploitation of this vulnerability can cause application crashes due to uncaught TypeErrors when string operations are performed on merged objects containing maliciously crafted keys. This can lead to denial of service conditions in applications using vulnerable versions of ts-deepmerge. There is no indication of privilege escalation, data disclosure, or code execution from the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid merging user-controlled input that may contain Object.prototype keys such as toString or valueOf with non-function values. Implement input validation or sanitization to prevent such keys from being processed by ts-deepmerge.
CVE-2026-12644: Uncaught Exception in ts-deepmerge
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.
CVSS v4.0
Score 6.9medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-12644 affects ts-deepmerge versions before 8.0.0. The vulnerability arises from improper handling of Object.prototype methods such as toString and valueOf during object merging. When user-controlled input contains these keys with non-function values, the merged object becomes broken. Any string context operation on this object triggers a TypeError, causing an uncaught exception and crashing the application. This is classified under CWE-248 (Uncaught Exception). No official patch or remediation level has been published yet, and no known exploits are reported in the wild.
Potential Impact
Exploitation of this vulnerability can cause application crashes due to uncaught TypeErrors when string operations are performed on merged objects containing maliciously crafted keys. This can lead to denial of service conditions in applications using vulnerable versions of ts-deepmerge. There is no indication of privilege escalation, data disclosure, or code execution from the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid merging user-controlled input that may contain Object.prototype keys such as toString or valueOf with non-function values. Implement input validation or sanitization to prevent such keys from being processed by ts-deepmerge.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- snyk
- Date Reserved
- 2026-06-18T18:00:17.870Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a34df96f198dc38c19de562
Added to database: 06/19/2026, 06:20:06 UTC
Last enriched: 06/26/2026, 13:11:32 UTC
Last updated: 08/03/2026, 07:17:55 UTC
Views: 58
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.