GHSA-87mf-gv2c-c62c

Suggest an improvement
Source
https://github.com/advisories/GHSA-87mf-gv2c-c62c
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-87mf-gv2c-c62c/GHSA-87mf-gv2c-c62c.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-87mf-gv2c-c62c
Aliases
  • CVE-2026-12644
Published
2026-06-19T06:31:56Z
Modified
2026-06-19T21:45:16.383267909Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
  • 5.5 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
ts-deepmerge: Prototype Method Override leads to DoS
Details

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.

Database specific
{
    "github_reviewed": true,
    "github_reviewed_at": "2026-06-19T21:41:52Z",
    "nvd_published_at": "2026-06-19T06:17:01Z",
    "severity": "MODERATE",
    "cwe_ids": [
        "CWE-248"
    ]
}
References

Affected packages

npm / ts-deepmerge

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.0.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-87mf-gv2c-c62c/GHSA-87mf-gv2c-c62c.json"