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-59868

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.0 allows excessive CPU consumption when parsing YAML documents with chained merge keys. This results in quadratic CPU time growth relative to the document size, potentially leading to denial of service. The issue is fixed in version 5.2.0. 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:33:09 UTC

Technical Analysis

The js-yaml JavaScript library versions 5.0.0 up to but not including 5.2.0 have a performance vulnerability triggered when merge keys are enabled. Parsing a YAML document with a chain of mappings that each merge the previous one causes the parser to spend quadratic CPU time, despite the document size growing only linearly. This can lead to denial of service conditions due to excessive CPU usage. The vulnerability is resolved in js-yaml version 5.2.0. The Ubuntu packages affected are specifically 3.9.1+dfsg-1, 3.10.0+dfsg-1, and 3.13.1+dfsg-2.

Potential Impact

The vulnerability causes a denial of service impact by allowing an attacker to craft a YAML document that consumes excessive CPU resources during parsing. There is no impact on confidentiality or integrity. No known exploits are reported in the wild.

Mitigation Recommendations

Upgrade js-yaml to version 5.2.0 or later where the issue is fixed. The affected Ubuntu package versions should be updated to versions that incorporate this fix. Patch status is not explicitly confirmed in the provided data; users should consult the Ubuntu security advisories for official patches.

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-59868
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: 6a58b45968715ace43d6bbce

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

Last enriched: 07/16/2026, 11:33:09 UTC

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

Views: 3

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