CVE-2026-59869

Source
https://cve.org/CVERecord?id=CVE-2026-59869
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-59869.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-59869
Aliases
  • GHSA-52cp-r559-cp3m
Downstream
Published
2026-07-08T15:15:54.675Z
Modified
2026-07-15T05:47:31.600623077Z
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
Summary
js-yaml: YAML merge-key chains can force quadratic CPU consumption
Details

js-yaml is a JavaScript YAML parser and dumper. From 3.0.0 before 3.15.0 and from 4.0.0 before 4.3.0, js-yaml can spend quadratic CPU time parsing a document whose size grows only linearly when a chain of mappings uses merge keys where each mapping merges the previous one. This issue is fixed in versions 3.15.0 and 4.3.0.

Database specific
{
    "cwe_ids": [
        "CWE-407"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59869.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/nodeca/js-yaml

Affected ranges

Type
GIT
Repo
https://github.com/nodeca/js-yaml
Events
Database specific
{
    "cpe": "cpe:2.3:a:nodeca:js-yaml:*:*:*:*:*:node.js:*:*",
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "3.0.0"
        },
        {
            "fixed": "3.15.0"
        },
        {
            "introduced": "4.0.0"
        },
        {
            "fixed": "4.3.0"
        }
    ]
}

Affected versions

3.*
3.0.0
3.0.1
3.0.2
3.1.0
3.10.0
3.11.0
3.12.0
3.12.1
3.12.2
3.13.0
3.13.1
3.14.0
3.14.1
3.14.2
3.2.0
3.2.1
3.2.2
3.2.3
3.2.4
3.2.5
3.2.6
3.2.7
3.3.0
3.3.1
3.4.0
3.4.1
3.4.2
3.4.3
3.4.4
3.4.5
3.4.6
3.5.0
3.5.1
3.5.2
3.5.3
3.5.4
3.5.5
3.6.0
3.6.1
3.7.0
3.8.0
3.8.1
3.8.2
3.8.3
3.8.4
3.9.0
3.9.1
4.*
4.0.0
4.1.0
4.1.1
4.2.0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-59869.json"