Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 70%

CVE-2026-53550: CWE-407: Inefficient Algorithmic Complexity in nodeca js-yaml

0
Medium
VulnerabilityCVE-2026-53550cvecve-2026-53550cwe-407
Published: 06/22/2026 (06/22/2026, 14:59:14 UTC)
Source: CVE Database V5
Vendor/Project: nodeca
Product: js-yaml

Description

js-yaml is a JavaScript YAML parser and dumper. Prior to 4.2.0 and 3.15.0, a crafted YAML document can trigger algorithmic CPU exhaustion in js-yaml merge-key processing (<<) by repeating the same alias many times in a merge sequence. This causes quadratic parse-time behavior relative to input size and can block a Node.js worker/event loop for seconds with a relatively small payload (tens of KB), resulting in denial of service. The issue is in merge handling inside lib/loader.js. This vulnerability is fixed in 4.2.0 and 3.15.0.

CVSS v3.1

Score 5.3medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected software

js-yaml
pkg:npm/js-yaml
Affected versions
<4.2.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/29/2026, 21:02:23 UTC

Technical Analysis

The vulnerability in js-yaml (CVE-2026-53550) arises from inefficient algorithmic complexity (CWE-407) in the handling of merge keys (<<) within lib/loader.js. Specifically, repeating the same alias multiple times in a merge sequence triggers quadratic parse-time behavior relative to input size, causing CPU exhaustion and blocking the Node.js worker/event loop for several seconds with a relatively small payload. This results in a denial of service condition. The issue affects versions prior to 4.2.0 and 3.15.0 and has been addressed in those fixed releases.

Potential Impact

An attacker can cause denial of service by submitting a crafted YAML document that exploits the quadratic CPU consumption during merge-key processing. This can block the Node.js event loop, potentially disrupting applications relying on js-yaml parsing. There is no impact on confidentiality or integrity, only availability is affected.

Mitigation Recommendations

This vulnerability is fixed in js-yaml versions 4.2.0 and 3.15.0. Users should upgrade to at least version 4.2.0 or 3.15.0 to remediate this issue. Patch status is confirmed by the version information in the description. No additional mitigations are specified.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-09T18:13:07.263Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a39572aeed863c81e05382e

Added to database: 06/22/2026, 15:39:22 UTC

Last enriched: 06/29/2026, 21:02:23 UTC

Last updated: 08/06/2026, 00:41:14 UTC

Views: 93

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses