PatchSiren cyber security CVE debrief
CVE-2026-59870 nodeca CVE debrief
CVE-2026-59870 is a vulnerability in js-yaml, a JavaScript YAML parser and dumper. The vulnerability affects versions 5.0.0 to 5.2.0 and causes O(n^2) CPU consumption when parsing crafted ordered-map documents. This issue is fixed in version 5.2.1. The vulnerability has a CVSS score of 5.3 and a severity of MEDIUM. Developers and administrators should be aware of this vulnerability and take steps to mitigate it.
- Vendor
- nodeca
- Product
- js-yaml
- CVSS
- MEDIUM 5.3
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-07-08
- Original CVE updated
- 2026-07-10
- Advisory published
- 2026-07-08
- Advisory updated
- 2026-07-10
Who should care
Developers and administrators using js-yaml in their applications should be aware of this vulnerability and take steps to mitigate it. This includes updating js-yaml to version 5.2.1 or later, reviewing and validating input YAML data, and monitoring CPU consumption and performance of applications using js-yaml.
Technical summary
The vulnerability is caused by the use of omapTag.addItem() to perform a linear duplicate-key scan on every insertion in the !!omap tag in src/tag/sequence/omap.ts. This results in O(n^2) CPU consumption when yaml.load() parses a crafted ordered-map document. The vulnerability has been fixed in version 5.2.1. Affected products using js-yaml versions 5.0.0 to 5.2.0 should be updated to version 5.2.1 or later to mitigate this vulnerability. Developers and administrators should review and validate input YAML data to prevent crafted ordered-map documents and monitor CPU consumption and performance of applications using js-yaml.
Defensive priority
Medium
Recommended defensive actions
- Update js-yaml to version 5.2.1 or later
- Review and validate input YAML data to prevent crafted ordered-map documents
- Monitor CPU consumption and performance of applications using js-yaml
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
Evidence notes
The CVE record was published on 2026-07-08T16:16:33.580Z and last modified on 2026-07-10T18:01:31.563Z. The NVD entry is currently Awaiting Analysis. This information is based on the provided source corpus. Further verification is recommended to confirm affected scope and severity.
Official resources
-
CVE-2026-59870 CVE record
CVE.org
-
CVE-2026-59870 NVD detail
NVD
-
Source item URL
nvd_modified
-
Mitigation or vendor reference
[email protected] - Patch
-
Mitigation or vendor reference
[email protected] - Release Notes
-
Mitigation or vendor reference
[email protected] - Exploit, Vendor Advisory
AI-assisted PatchSiren debrief based on the supplied source corpus. The CVE record was published on 2026-07-08T16:16:33.580Z and has not been modified since then. The NVD entry is currently Awaiting Analysis.