Skip to content
OpenAdvisories
Critical USN-9249-1 7 CVEs

libyaml-syck-perl vulnerabilities

Published Nov 30, 2026 · Updated Dec 2, 2026

Summary

It was discovered that YAML::Syck did not properly handle parsing YAML
files. An attacker could possibly use this issue to expose sensitive
information. This issue only affected Ubuntu 22.04 LTS and Ubuntu 24.04
LTS. (CVE-2025-11683)

It was discovered that YAML::Syck incorrectly handled long class names when
emitting YAML, leading to a heap buffer overflow. An attacker could
possibly use this issue to cause applications using YAML::Syck to crash,
resulting in a denial of service, or possibly execute arbitrary code.
(CVE-2026-4177)

It was discovered that YAML::Syck incorrectly parsed certain base 60
(sexagesimal) values, leading to an out-of-bounds read. An attacker could
possibly use this issue to cause applications using YAML::Syck to crash,
resulting in a denial of service. (CVE-2026-5089)

It was discovered that YAML::Syck incorrectly handled anchors that were
redefined or removed while parsing, leading to a double free. An attacker
could possibly use this issue to cause applications using YAML::Syck to
crash, resulting in a denial of service. (CVE-2026-13713)

It was discovered that YAML::Syck incorrectly decoded certain binary
values, leading to an out-of-bounds read. An attacker could possibly use
this issue to obtain sensitive information. (CVE-2026-57075)

It was discovered that YAML::Syck incorrectly handled anchor names when
anchors were redefined, leading to a use-after-free. An attacker could
possibly use this issue to cause applications using YAML::Syck to crash,
resulting in a denial of service. (CVE-2026-57076)

It was discovered that YAML::Syck did not properly check bounds when
scanning for newlines in certain block scalars, leading to an out-of-bounds
read. This issue was caused by an incomplete fix for CVE-2025-11683. An
attacker could possibly use this issue to cause applications using
YAML::Syck to crash, resulting in a denial of service, or obtain sensitive
information. (CVE-2026-57077)

Fixed packages 6

ReleasePackageFixed in
Ubuntu · 22.04 LTS 22.04:LTS libyaml-syck-perl 1.34-1+deb11u2build0.22.04.1
Ubuntu · 24.04 LTS 24.04:LTS libyaml-syck-perl 1.34-2+deb13u3build0.24.04.1
Ubuntu · Pro 16.04 LTS Pro:16.04:LTS libyaml-syck-perl 1.29-1ubuntu0.16.04.1~esm2
Ubuntu · Pro 18.04 LTS Pro:18.04:LTS libyaml-syck-perl 1.29-1ubuntu0.18.04.1~esm2
Ubuntu · Pro 20.04 LTS Pro:20.04:LTS libyaml-syck-perl 1.31-1ubuntu0.1~esm2
Ubuntu · Pro 26.04 LTS Pro:26.04:LTS libyaml-syck-perl 1.36-1ubuntu0.1~esm1

Vulnerabilities 7

  • Critical 9.1

    YAML::Syck versions through 1.36 for Perl has several potential security vulnerabilities including a high-severity heap buffer overflow in the YAML emitter

    YAML::Syck versions through 1.36 for Perl has several potential security vulnerabilities including a high-severity heap buffer overflow in the YAML emitter. The heap overflow occurs when class names exceed the initial 512-byte allocation. The base64 decoder c…

  • Critical 9.1

    YAML::Syck versions before 1.47 for Perl allow an out-of-bounds read via a signed-char lookup-table index in syck_base64dec

    YAML::Syck versions before 1.47 for Perl allow an out-of-bounds read via a signed-char lookup-table index in syck_base64dec. The base64 decoder in the bundled libsyck indexes the 256-entry static table b64_xtable with a signed char, so any !!binary byte >= 0x…

  • High 7.8

    YAML::Syck versions before 1.47 for Perl allow a heap use-after-free via an anchor name reused as an anchors-table key in syck_hdlr_add_anchor

    YAML::Syck versions before 1.47 for Perl allow a heap use-after-free via an anchor name reused as an anchors-table key in syck_hdlr_add_anchor. In the bundled libsyck an anchor name allocated by syck_strndup is stored both as node->anchor, freed when the node…

  • High 7.7

    YAML::Syck versions before 1.47 for Perl allow an out-of-bounds read via an unbounded newline scan in newline_len

    YAML::Syck versions before 1.47 for Perl allow an out-of-bounds read via an unbounded newline scan in newline_len. In the bundled libsyck newline_len and is_newline dereference the scan pointer, and the following byte for a "\r\n" pair, with no NUL-terminator…

  • High 7.3

    YAML::Syck versions before 1.38 for Perl has an out-of-bounds read

    YAML::Syck versions before 1.38 for Perl has an out-of-bounds read. The base60 (sexagesimal) parsing code in perl_syck.h has a buffer underflow bug in both int#base60 and float#base60 handlers. When processing the leftmost segment of a colon-separated value (…

  • Medium 6.5

    YAML::Syck versions before 1.36 for Perl has missing Null-Terminators which causes Out-of-Bounds Read and potential Information Disclosure

    YAML::Syck versions before 1.36 for Perl has missing null-terminators which causes out-of-bounds read and potential information disclosure Missing null terminators in token.c leads to but-of-bounds read which allows adjacent variable to be read The issue is s…

  • Medium 6.2

    YAML::Syck versions before 1.47 for Perl allow a use-after-free and double-free via an anchor node freed while still on the parser value stack

    YAML::Syck versions before 1.47 for Perl allow a use-after-free and double-free via an anchor node freed while still on the parser value stack. In the bundled libsyck, when an anchor name is redefined or removed, syck_hdlr_add_anchor and syck_hdlr_remove_anch…

References

  • report
    https://ubuntu.com/security/CVE-2025-11683
  • report
    https://ubuntu.com/security/CVE-2026-4177
  • report
    https://ubuntu.com/security/CVE-2026-5089
  • report
    https://ubuntu.com/security/CVE-2026-13713
  • report
    https://ubuntu.com/security/CVE-2026-57075
  • report
    https://ubuntu.com/security/CVE-2026-57076
  • report
    https://ubuntu.com/security/CVE-2026-57077