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 66%

UBUNTU-CVE-2026-59870

0
Medium
Published: 07/08/2026 (07/08/2026, 16:16:00 UTC)
Source: GCVE Database
Product: node-js-yaml

Description

A vulnerability in js-yaml versions from 5.0.0 before 5.2.1 causes excessive CPU consumption due to a quadratic time complexity in processing the !!omap tag. This occurs because the YAML11_SCHEMA support uses a linear duplicate-key scan on every insertion, leading to O(n^2) CPU usage when parsing crafted ordered-map documents. The issue is fixed in version 5.2.1. The affected Ubuntu package versions include 3.9.1+dfsg-1, 3.10.0+dfsg-1, and 3.13.1+dfsg-2.

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

Ubuntu:18.04:LTSmore threats →ghsa
node-js-yaml
pkg:deb/ubuntu/[email protected]+dfsg-1?arch=source&distro=bionic
Affected versions
=3.9.1+dfsg-1=3.10.0+dfsg-1
Ubuntu:20.04:LTSmore threats →ghsa
node-js-yaml
pkg:deb/ubuntu/[email protected]+dfsg-2?arch=source&distro=focal
Affected versions
=3.13.1+dfsg-2
Ubuntu:22.04:LTSmore threats →ghsa
node-js-yaml
pkg:deb/ubuntu/[email protected]+dfsg+~4.0.5-6?arch=source&distro=jammy
Affected versions
=3.14.1+dfsg+~3.12.6-2=4.1.0+dfsg+~4.0.5-4ubuntu1=4.1.0+dfsg+~4.0.5-5=4.1.0+dfsg+~4.0.5-6
Ubuntu:24.04:LTSmore threats →ghsa
node-js-yaml
pkg:deb/ubuntu/[email protected]+dfsg+~4.0.5-7?arch=source&distro=noble
Affected versions
=4.1.0+dfsg+~4.0.5-7
Ubuntu:25.10more threats →ghsa
node-js-yaml
pkg:deb/ubuntu/[email protected]+dfsg+~4.0.5-7?arch=source&distro=questing
Affected versions
=4.1.0+dfsg+~4.0.5-7
Ubuntu:26.04:LTSmore threats →ghsa
node-js-yaml
pkg:deb/ubuntu/[email protected]+dfsg+~4.0.9-1?arch=source&distro=resolute
Affected versions
=4.1.0+dfsg+~4.0.5-7=4.1.1+dfsg+~4.0.9-1

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: 07/16/2026, 11:32:42 UTC

Technical Analysis

The js-yaml JavaScript library versions from 5.0.0 up to but not including 5.2.1 contain a performance vulnerability in the YAML11_SCHEMA implementation for the !!omap tag. Specifically, the omapTag.addItem() function performs a linear duplicate-key scan on every insertion, resulting in O(n^2) CPU consumption when yaml.load() parses a specially crafted ordered-map document. This can lead to denial of service via resource exhaustion. The vulnerability is resolved in version 5.2.1. The Ubuntu packages affected are 3.9.1+dfsg-1, 3.10.0+dfsg-1, and 3.13.1+dfsg-2.

Potential Impact

This vulnerability causes high CPU usage (denial of service) when parsing maliciously crafted YAML documents containing ordered maps. There is no impact on confidentiality or integrity. The vulnerability can be exploited remotely without authentication and requires no user interaction.

Mitigation Recommendations

Upgrade js-yaml to version 5.2.1 or later where this issue is fixed. The affected Ubuntu package versions 3.9.1+dfsg-1, 3.10.0+dfsg-1, and 3.13.1+dfsg-2 should be updated to versions that include the fix. Patch status is confirmed fixed in 5.2.1 upstream; check Ubuntu vendor advisories for updated package versions.

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

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-59870
Osv Schema Version
1.7.0
Aliases
[]
Ecosystems
["Ubuntu:18.04:LTS","Ubuntu:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:25.10","Ubuntu:26.04:LTS"]
Database Specific Severity
null
Cvss Version
3.1

Threat ID: 6a58b45968715ace43d6bbc4

Added to database: 07/16/2026, 10:37:13 UTC

Last enriched: 07/16/2026, 11:32:42 UTC

Last updated: 07/31/2026, 19:24:49 UTC

Views: 5

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