UBUNTU-CVE-2026-59868
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.
AI Analysis
Technical Summary
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.
UBUNTU-CVE-2026-59868
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
Affected software
pkg:deb/ubuntu/[email protected]+dfsg-1?arch=source&distro=bionicpkg:deb/ubuntu/[email protected]+dfsg-2?arch=source&distro=focalpkg:deb/ubuntu/[email protected]+dfsg+~4.0.5-6?arch=source&distro=jammypkg:deb/ubuntu/[email protected]+dfsg+~4.0.5-7?arch=source&distro=noblepkg:deb/ubuntu/[email protected]+dfsg+~4.0.5-7?arch=source&distro=questingpkg:deb/ubuntu/[email protected]+dfsg+~4.0.9-1?arch=source&distro=resoluteRun 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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.