#1149055 libfyaml: CVE-2026-88359

Package:
src:libfyaml
Source:
src:libfyaml
Submitter:
Salvatore Bonaccorso
Date:
2026-11-03 13:51:09 UTC
Severity:
normal
Tags:
#1149055#5
Date:
2026-09-26 11:46:06 UTC
From:
To:
Hi,

The following vulnerability was published for libfyaml.

CVE-2026-88359[0]:
| 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.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-88359
https://www.cve.org/CVERecord?id=CVE-2026-88359
[1] https://github.com/pantoniou/libfyaml/issues/315
[2] https://github.com/pantoniou/libfyaml/commit/12d903a5c9163d15edf2ef9d7311bd0d1505d902

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore

#1149055#12
Date:
2026-11-03 13:50:53 UTC
From:
To:
Hi,

The fix from the security tracker,

12d903a5c916 "atom: move pending line breaks to the heap"
(src/lib/fy-atom.c only)

is on master and in v1.0.0-beta1/beta2; no 0.9.x release has it. It
applies to the sources on
https://www.google.com/url?q=http://sources.debian.org&source=gmail&ust=1793800253663000&sa=E
as follows:
unstable 0.9.4-1: offsets -64/-70, no fuzz
trixie 0.8-1: offsets -71/-77, fuzz 1 on one hunk

Mechanical patch-applies check only; not built or tested.

Regards