CVE-2026-88359
Received Received - Intake

Stack Exhaustion in libfyaml via Malicious YAML Document

Vulnerability report for CVE-2026-88359, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-24

Last updated on: 2026-09-24

Assigner: MITRE

Description

libfyaml 0.9.6 contains a stack exhaustion vulnerability in fy_atom_iter_format(). When processing a specially crafted YAML document containing a very large literal or folded block scalar, the function repeatedly grows an internal buffer using alloca() inside a loop. The allocated stack memory is not released until the function returns, causing cumulative stack growth that can exceed the process stack limit and result in SIGSEGV and denial of service.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-24
Last Modified
2026-09-24
Generated
2026-09-24
AI Q&A
2026-09-24
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
pantoniou libfyaml 0.9.6
pantoniou libfyaml 1.0.0-alpha8

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-88359 is a stack exhaustion vulnerability in libfyaml 0.9.6's fy_atom_iter_format() function. When processing a specially crafted YAML document with very large literal or folded block scalars, the function repeatedly grows an internal buffer using alloca() inside a loop. Since alloca() memory is only freed when the function returns, cumulative stack growth can exceed the process stack limit, causing SIGSEGV and denial of service.

Detection Guidance

To detect this vulnerability, monitor for crashes in applications using libfyaml 0.9.6 when processing large YAML files. Check for SIGSEGV errors during YAML parsing or text extraction. Use tools like strace or gdb to trace stack usage during processing of malformed YAML inputs with excessive empty lines or large block scalars.

Impact Analysis

This vulnerability can cause denial of service by crashing applications that use libfyaml 0.9.6 when processing malicious YAML inputs. The crash occurs either during parsing or text extraction, depending on the build type. Exploitable remotely and unauthenticated, it may disrupt services relying on libfyaml for YAML processing.

Mitigation Strategies

Upgrade libfyaml to a patched version (post-fix commits) that replaces alloca() with heap allocation or enforces size limits. If upgrading is not possible, restrict YAML parsing to trusted inputs and implement size limits for block scalars. Monitor for crashes in affected applications.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-88359. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart