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…

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 versions prior to 4.2.0 contain an inefficient algorithmic complexity vulnerability in merge-key processing. A crafted YAML document with repeated aliases in a merge sequence can cause quadratic CPU usage, leading to denial of service by blocking the Node.js event loop. This issue is fixed in version 4.2.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/22/2026, 15:57:25 UTC

Technical Analysis

CVE-2026-53550 describes an algorithmic complexity vulnerability (CWE-407) in the nodeca js-yaml JavaScript YAML parser and dumper. Specifically, before version 4.2.0, processing a crafted YAML document that repeats the same alias many times in a merge sequence (<<) triggers quadratic parse-time behavior in the merge-key handling code within lib/loader.js. This results in CPU exhaustion that can block the Node.js worker/event loop for several seconds with a relatively small payload (tens of KB), causing a denial of service condition. The vulnerability is resolved in js-yaml version 4.2.0.

Potential Impact

An attacker can cause denial of service by submitting a specially crafted YAML document that exploits the quadratic CPU usage in merge-key processing. This leads to blocking of the Node.js event loop for seconds, impacting availability. There is no impact on confidentiality or integrity. The CVSS v3.1 base score is 5.3 (medium severity), reflecting network attack vector, low complexity, no privileges required, no user interaction, and impact limited to availability.

Mitigation Recommendations

Upgrade js-yaml to version 4.2.0 or later, where this vulnerability is fixed. No other mitigation or workaround is indicated. Patch status is confirmed fixed in 4.2.0.

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/22/2026, 15:57:25 UTC

Last updated: 06/22/2026, 21:51:00 UTC

Views: 6

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