CVE-2026-88359
mediumlibfyaml 0.9.6 contains a stack exhaustion vulnerability in fy_atom_iter_format().
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:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/pantoniou/libfyaml/commit/20502068902d58c076da873117985798df2c7e74 cve@mitre.org
- https://github.com/pantoniou/libfyaml/commit/93741a7c9331da9da65ef7a25f2d7d6a817a1c29 cve@mitre.org
- https://github.com/pantoniou/libfyaml/issues/315 cve@mitre.org
- https://github.com/pantoniou/libfyaml/issues/315 134c704f-9b21-4f2e-91b3-4a467353bcc0
