CVE catalog

CVE-2026-13713

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 redefine

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.18% · Oct 25, 2026

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_anchor free the node stored under that name with syck_free_node. That node can still be live on the parser's value stack, so syck_hdlr_add_node reaches it again and frees it a second time. On a normal build the 48-byte node chunk is freed twice and the interpreter aborts. Anchors need no special flags, so this is reached on the default Load path, and a 7-byte document that redefines an anchor triggers it. Any caller that runs Load or LoadFile on an untrusted document that redefines an anchor mid-parse crashes the interpreter, a denial of service.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlibyaml-syck-perlsid1.47-1fixed
Debianlibyaml-syck-perlforky1.47-1fixed
Debianlibyaml-syck-perltrixie1.34-2+deb13u3fixed
Debianlibyaml-syck-perltrixie-security1.34-2+deb13u3fixed
Debianlibyaml-syck-perlbookworm1.34-2+deb12u2vulnerable
Debianlibyaml-syck-perlbookworm-security1.34-2+deb12u3fixed
Cpelibyaml-syck-perlNot reportedNot reportedvulnerable
Alpineperl-yaml-syck3.241.47-r0fixed
Opensuseperl-YAML-Sycktumbleweed1.470.0-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibyaml-syck-perlsourcesid1.47-1not yet assignedNot reported[1142267]
Debianlibyaml-syck-perlsourceforky1.47-1not yet assignedNot reported[1142267]
Debianlibyaml-syck-perlsourcetrixie1.34-2+deb13u3not yet assignedNot reported[1142267]
Debianlibyaml-syck-perlsourcebookworm1.34-2+deb12u3not yet assignedNot reported[1142267]
Alpineperl-yaml-syckapk3.241.47-r0Not reportedALPINE-CVE-2026-13713Not reported
Opensuseperl-YAML-Syckrpmtumbleweed1.470.0-1.1Not reportedOPENSUSE-SU-2026:11299-1Not reported

[Debian bug #1142267]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (4)
    • 1.34-2+deb12u2 · amd64 · bookworm

      Affected · Fixed: 1.34-2+deb12u3

      nvd · libyaml-syck-perl · debian · bookworm; nvd · libyaml-syck-perl · debian · 12

    • 1.34-2+deb12u2 · arm64 · bookworm

      Affected · Fixed: 1.34-2+deb12u3

      nvd · libyaml-syck-perl · debian · bookworm; nvd · libyaml-syck-perl · debian · 12

    • 1.34-2+deb12u3 · amd64 · bookworm-security

      Fixed · Fixed: 1.34-2+deb12u3

      nvd · libyaml-syck-perl · debian · bookworm; nvd · libyaml-syck-perl · debian · 12

    • 1.34-2+deb12u3 · arm64 · bookworm-security

      Fixed · Fixed: 1.34-2+deb12u3

      nvd · libyaml-syck-perl · debian · bookworm; nvd · libyaml-syck-perl · debian · 12

[Debian 13 (Trixie)]

  • Details (5)
    • 1.34-2+deb13u2 · amd64 · trixie

      Affected · Fixed: 1.34-2+deb13u3

      nvd · libyaml-syck-perl · debian · 13

    • 1.34-2+deb13u2 · arm64 · trixie

      Affected · Fixed: 1.34-2+deb13u3

      nvd · libyaml-syck-perl · debian · 13

    • 1.34-2+deb13u2 · amd64 · trixie-security · Historical version

      Affected · Fixed: 1.34-2+deb13u3

      nvd · libyaml-syck-perl · debian · 13

    • 1.34-2+deb13u3 · amd64 · trixie-security

      Fixed · Fixed: 1.34-2+deb13u3

      nvd · libyaml-syck-perl · debian · 13

    • 1.34-2+deb13u3 · arm64 · trixie-security

      Fixed · Fixed: 1.34-2+deb13u3

      nvd · libyaml-syck-perl · debian · 13

[openSUSE Tumbleweed]

  • Source package: [perl-YAML-Syck]

    Details (1)
    • 1.470.0-1.3 · x86_64 · tumbleweed

      Fixed · Fixed: 1.470.0-1.1

      nvd · perl-YAML-Syck · opensuse · tumbleweed

Observed:

References