UBUNTU-CVE-2026-73643

Source
https://ubuntu.com/security/CVE-2026-73643
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73643.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-73643
Upstream
Published
2026-08-13T18:18:00Z
Modified
2026-08-19T13:34:34Z
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
  • Ubuntu - medium
Summary
[none]
Details

js-yaml is a JavaScript YAML parser and dumper. From 5.0.0 until 5.2.2, parsing a small YAML document can take exponential time when an application calls load() or loadAll() on untrusted input. In src/parser/parser.ts, readFlowCollection uses restoreState and calls parseNode a second time when a flow-sequence entry is recognized as a key: value pair. If the key is a nested flow sequence of the same shape, every level is parsed twice, causing O(2^n) work and allowing an input under 200 bytes to keep one CPU busy for minutes, block the Node.js event loop, and stall the process. No anchors, aliases, merges, tags, or nondefault options are required. This issue is fixed in version 5.2.2.

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-73643.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-73643.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-73643.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-73643.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-73643.json"