UBUNTU-CVE-2026-59870

Source
https://ubuntu.com/security/CVE-2026-59870
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-59870.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2026-59870
Upstream
Published
2026-07-08T16:16:00Z
Modified
2026-10-17T12:51:50Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

js-yaml is a JavaScript YAML parser and dumper. Prior to 3.15.1, 4.3.1, and 5.2.1, YAML11_SCHEMA support for the !!omap tag in src/tag/sequence/omap.ts uses omapTag.addItem() to perform a linear duplicate-key scan on every insertion, causing O(n^2) CPU consumption when yaml.load() parses a crafted ordered-map document. In v3 and v4, !!omap is active and exploitable by default. v5 doesn't use !!omap by default, and the chances of activating it are very low.This issue is fixed in 3.15.1, 4.3.1, and 5.2.1.

References

Affected packages

Ubuntu:18.04:LTS
node-js-yaml

Package

Name
node-js-yaml
Purl
pkg:deb/ubuntu/node-js-yaml?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.9.1+dfsg-1
3.10.0+dfsg-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-js-yaml",
            "binary_version": "3.10.0+dfsg-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-59870.json"
Ubuntu:20.04:LTS
node-js-yaml

Package

Name
node-js-yaml
Purl
pkg:deb/ubuntu/node-js-yaml?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.13.1+dfsg-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-js-yaml",
            "binary_version": "3.13.1+dfsg-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-59870.json"
Ubuntu:22.04:LTS
node-js-yaml

Package

Name
node-js-yaml
Purl
pkg:deb/ubuntu/node-js-yaml?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.14.1+dfsg+~3.12.6-2
4.*
4.1.0+dfsg+~4.0.5-4ubuntu1
4.1.0+dfsg+~4.0.5-5
4.1.0+dfsg+~4.0.5-6

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-js-yaml",
            "binary_version": "4.1.0+dfsg+~4.0.5-6"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-59870.json"
Ubuntu:24.04:LTS
node-js-yaml

Package

Name
node-js-yaml
Purl
pkg:deb/ubuntu/node-js-yaml?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.1.0+dfsg+~4.0.5-7

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-js-yaml",
            "binary_version": "4.1.0+dfsg+~4.0.5-7"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-59870.json"
Ubuntu:25.10
node-js-yaml

Package

Name
node-js-yaml
Purl
pkg:deb/ubuntu/node-js-yaml?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.1.0+dfsg+~4.0.5-7

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-js-yaml",
            "binary_version": "4.1.0+dfsg+~4.0.5-7"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-59870.json"
Ubuntu:26.04:LTS
node-js-yaml

Package

Name
node-js-yaml
Purl
pkg:deb/ubuntu/node-js-yaml?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.1.0+dfsg+~4.0.5-7
4.1.1+dfsg+~4.0.9-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-js-yaml",
            "binary_version": "4.1.1+dfsg+~4.0.9-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-59870.json"
Ubuntu:26.10
node-js-yaml

Package

Name
node-js-yaml
Purl
pkg:deb/ubuntu/node-js-yaml?arch=source&distro=stonking

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.1.1+dfsg+~4.0.9-1
4.2.0+~4.0.9-1
4.2.0+~4.0.9-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-js-yaml",
            "binary_version": "4.2.0+~4.0.9-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-59870.json"