libyaml v0.2.5 is vulnerable to Buffer Overflow. Affected by this issue is the function yaml_emitter_emit of the file /src/libyaml/src/emitter.c. The manipulation leads to a double-free. https://github.com/idhyt/pocs/blob/main/libyaml/CVE-2024-35326.c
Created R-yaml tracking bugs for this issue: Affects: fedora-all [bug 2292354] Created ghc-yaml tracking bugs for this issue: Affects: epel-all [bug 2292353] Created libyaml tracking bugs for this issue: Affects: fedora-all [bug 2292352] Created python-ruamel-yaml-clib tracking bugs for this issue: Affects: fedora-all [bug 2292355]
Upstream report: https://github.com/yaml/libyaml/issues/301
Per the upstream developer, this involves a misuse of the underlying C API which is not necessary and not documented: https://github.com/yaml/libyaml/issues/297#issuecomment-2161577994