CVE-2026-33532
Description
yaml is a YAML parser and serialiser for JavaScript. Parsing a YAML document with a version of yaml on the 1.x branch prior to 1.10.3 or on the 2.x branch prior to 2.8.3 may throw a RangeError due to a stack overflow. The node resolution/composition phase uses recursive function calls without a depth bound. An attacker who can supply YAML for parsing can trigger a RangeError: Maximum call stack size exceeded with a small payload (~2–10 KB). The RangeError is not a YAMLParseError, so applications that only catch YAML-specific errors will encounter an unexpected exception type. Depending on the host application's exception handling, this can fail requests or terminate the Node.js process. Flow sequences allow deep nesting with minimal bytes (2 bytes per level: one [ and one ]). On the default Node.js stack, approximately 1,000–5,000 levels of nesting (2–10 KB input) exhaust the call stack. The exact threshold is environment-dependent (Node.js version, stack size, call stack depth at invocation). Note: the library's Parser (CST phase) uses a stack-based iterative approach and is not affected. Only the compose/resolve phase uses actual call-stack recursion. All three public parsing APIs are affected: YAML.parse(), YAML.parseDocument(), and YAML.parseAllDocuments(). Versions 1.10.3 and 2.8.3 contain a patch.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
yamlnpm | >= 2.0.0, < 2.8.3 | 2.8.3 |
yamlnpm | >= 1.0.0, < 1.10.3 | 1.10.3 |
Affected products
53- osv-coords52 versionspkg:apk/chainguard/argo-workflows-ui-3.6pkg:apk/chainguard/argo-workflows-ui-4.0pkg:apk/chainguard/gemini-clipkg:apk/chainguard/kibana-8.17pkg:apk/chainguard/kibana-8.17-bitnamipkg:apk/chainguard/kibana-8.17-iamguardedpkg:apk/chainguard/kibana-8.19pkg:apk/chainguard/kibana-8.19-bitnamipkg:apk/chainguard/kibana-8.19-iamguardedpkg:apk/chainguard/kibana-9.0pkg:apk/chainguard/kibana-9.0-bitnamipkg:apk/chainguard/kibana-9.0-iamguardedpkg:apk/chainguard/kibana-9.1pkg:apk/chainguard/kibana-9.1-iamguardedpkg:apk/chainguard/kibana-9.2pkg:apk/chainguard/kibana-9.2-iamguardedpkg:apk/chainguard/kibana-9.3pkg:apk/chainguard/kibana-9.3-iamguardedpkg:apk/chainguard/kibana-9.4pkg:apk/chainguard/kibana-9.4-iamguardedpkg:apk/chainguard/langfuse-2-workerpkg:apk/chainguard/langfuse-3-workerpkg:apk/chainguard/langfuse-fips-2-workerpkg:apk/chainguard/lernapkg:apk/chainguard/nextcloud-server-33pkg:apk/chainguard/opensearch-dashboards-2-dashboards-reportingpkg:apk/chainguard/opensearch-dashboards-2-fips-dashboards-reportingpkg:apk/chainguard/opensearch-dashboards-3-dashboards-reportingpkg:apk/chainguard/opensearch-dashboards-3-fips-dashboards-reportingpkg:apk/chainguard/opentelemetry-auto-instrumentations-nodepkg:apk/chainguard/prismpkg:apk/chainguard/redisinsightpkg:apk/chainguard/safpkg:apk/chainguard/semaphorepkg:apk/chainguard/tileserver-glpkg:apk/chainguard/tileserver-gl-fipspkg:apk/chainguard/vitess-22pkg:apk/chainguard/vitess-23pkg:apk/chainguard/wazuh-dashboard-dashboards-reportingpkg:apk/wolfi/argo-workflows-ui-4.0pkg:apk/wolfi/langfuse-3-workerpkg:apk/wolfi/lernapkg:apk/wolfi/nextcloud-server-33pkg:apk/wolfi/opensearch-dashboards-2-dashboards-reportingpkg:apk/wolfi/opensearch-dashboards-3-dashboards-reportingpkg:apk/wolfi/prismpkg:apk/wolfi/safpkg:apk/wolfi/tileserver-glpkg:apk/wolfi/vitess-22pkg:apk/wolfi/vitess-23pkg:npm/yamlpkg:rpm/opensuse/alloy&distro=openSUSE%20Tumbleweed
< 3.6.19-r5+ 51 more
- (no CPE)range: < 3.6.19-r5
- (no CPE)range: < 4.0.3-r2
- (no CPE)range: < 0.35.3-r0
- (no CPE)range: < 8.17.10-r16
- (no CPE)range: < 8.17.10-r16
- (no CPE)range: < 8.17.10-r16
- (no CPE)range: < 8.19.14-r1
- (no CPE)range: < 8.19.14-r1
- (no CPE)range: < 8.19.14-r1
- (no CPE)range: < 9.0.8-r17
- (no CPE)range: < 9.0.8-r17
- (no CPE)range: < 9.0.8-r17
- (no CPE)range: < 9.1.10-r10
- (no CPE)range: < 9.1.10-r10
- (no CPE)range: < 9.2.7-r3
- (no CPE)range: < 9.2.7-r3
- (no CPE)range: < 9.3.5-r0
- (no CPE)range: < 9.3.5-r0
- (no CPE)range: < 9.4.2-r1
- (no CPE)range: < 9.4.2-r1
- (no CPE)range: < 2.95.12-r17
- (no CPE)range: < 3.164.0-r7
- (no CPE)range: < 2.95.12-r20
- (no CPE)range: < 9.0.7-r2
- (no CPE)range: < 33.0.6-r0
- (no CPE)range: < 2.19.5-r4
- (no CPE)range: < 2.19.5-r3
- (no CPE)range: < 3.5.0-r11
- (no CPE)range: < 3.5.0-r8
- (no CPE)range: < 0.72.0-r0
- (no CPE)range: < 5.14.3-r13
- (no CPE)range: < 3.2.0-r4
- (no CPE)range: < 1.6.0-r0
- (no CPE)range: < 2.18.12-r2
- (no CPE)range: < 5.5.0-r11
- (no CPE)range: < 5.5.0-r11
- (no CPE)range: < 22.0.4-r9
- (no CPE)range: < 23.0.3-r12
- (no CPE)range: < 4.14.4-r1
- (no CPE)range: < 4.0.3-r2
- (no CPE)range: < 3.164.0-r7
- (no CPE)range: < 9.0.7-r2
- (no CPE)range: < 33.0.6-r0
- (no CPE)range: < 2.19.5-r4
- (no CPE)range: < 3.5.0-r11
- (no CPE)range: < 5.14.3-r13
- (no CPE)range: < 1.6.0-r0
- (no CPE)range: < 5.5.0-r11
- (no CPE)range: < 22.0.4-r9
- (no CPE)range: < 23.0.3-r12
- (no CPE)range: >= 2.0.0, < 2.8.3
- (no CPE)range: < 1.17.0-1.1
Patches
Vulnerability mechanics
References
6- github.com/eemeli/yaml/commit/1e84ebbea7ec35011a4c61bbb820a529ee4f359bnvdPatchWEB
- github.com/eemeli/yaml/security/advisories/GHSA-48c2-rrv3-qjmpnvdExploitVendor AdvisoryWEB
- github.com/advisories/GHSA-48c2-rrv3-qjmpghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-33532ghsaADVISORY
- github.com/eemeli/yaml/releases/tag/v1.10.3nvdProductWEB
- github.com/eemeli/yaml/releases/tag/v2.8.3nvdRelease NotesWEB
News mentions
0No linked articles in our index yet.