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.
Published: 2026-09-24
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Apply Patch
AI Analysis

Impact

The flaw in libfyaml 0.9.6 occurs during parsing of YAML documents that contain a very large literal or folded block scalar. The parser function repeatedly grows an internal buffer using alloca() inside a loop and does not release the stack memory until the function returns. This cumulative stack growth can exceed the process stack limit, causing a segmentation fault and terminating the application. The vulnerability leads to a denial of service rather than code execution or data exposure.

Affected Systems

Any software that embeds libfyaml version 0.9.6 is susceptible. The vendor or product names are not listed, so any project or application using this specific library version, regardless of platform, is at risk. Up‑to‑date versions of libfyaml are not affected as the issue exists only in 0.9.6.

Risk and Exploitability

The EPSS score is less than 1% and the CVSS score is 6.5, indicating a medium severity. The vulnerability is not listed in CISA KEV, but the denial‑of‑service impact could be significant for production services that rely on YAML parsing. The likely attack vector involves an attacker supplying a crafted YAML file to a vulnerable application. Because the vulnerability is triggered by input size, an adversary can intentionally create a payload that forces stack exhaustion, causing the target process to crash. The denial‑of‑service risk remains high for impacted deployments.

Generated by OpenCVE AI on September 26, 2026 at 05:00 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade libfyaml to the latest release (0.9.7 or later) to remove the stack exhaustion flaw.
  • If upgrading is not immediately possible, implement input validation to limit the maximum size of literal and folded block scalars before passing them to the parser, or disable processing of these scalars in the application.
  • Consider increasing the system stack size or configuring stack guard mechanisms to reduce the likelihood that a stack overflow terminates the process.

Generated by OpenCVE AI on September 26, 2026 at 05:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 27 Sep 2026 12:15:00 +0000

Type Values Removed Values Added
First Time appeared Pantoniou
Pantoniou libfyaml
Vendors & Products Pantoniou
Pantoniou libfyaml

Sat, 26 Sep 2026 07:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sat, 26 Sep 2026 05:30:00 +0000

Type Values Removed Values Added
Title libfyaml 0.9.6 Stack Exhaustion Denial of Service

Fri, 25 Sep 2026 17:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-770
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}


Thu, 24 Sep 2026 14:15:00 +0000

Type Values Removed Values Added
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.
References

Subscriptions

Pantoniou Libfyaml
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-09-25T16:18:55.317Z

Reserved: 2026-09-10T00:00:00.000Z

Link: CVE-2026-88359

cve-icon Vulnrichment

Updated: 2026-09-25T16:18:08.105Z

cve-icon NVD

Status : Deferred

Published: 2026-09-24T14:18:18.320

Modified: 2026-09-25T17:17:17.490

Link: CVE-2026-88359

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-27T11:44:45Z

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling