CVE-2026-13713

EUVD-2026-45052
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
6.2 MEDIUM
LOCAL
LOW
NONE
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Awaiting analysis
This vulnerability is currently awaiting analysis.
Base Score
CVSS 3.x
EPSS Score
Percentile: 3.2%
Debian logo
Debian Releases
Debian Product
Codename
libyaml-syck-perl
bookworm
vulnerable
bookworm (security)
1.34-2+deb12u3
fixed
bullseye
vulnerable
bullseye (security)
1.34-1+deb11u2
fixed
forky
1.47-1
fixed
sid
1.47-1
fixed
trixie
vulnerable
trixie (security)
1.34-2+deb13u3
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
libyaml-syck-perl
bionic
needs-triage
focal
needs-triage
jammy
needs-triage
noble
needs-triage
resolute
needs-triage
xenial
needs-triage
Amazon Linux logo
Amazon Linux Releases
Amazon Package
Release
perl-YAML-Syck
Amazon Linux 2
0:1.27-3.amzn2.0.6
fixed
Amazon Linux 2023
0:1.37-1.amzn2023.0.4
fixed
perl-YAML-Syck-debuginfo
Amazon Linux 2
0:1.27-3.amzn2.0.6
fixed
Amazon Linux 2023
0:1.37-1.amzn2023.0.4
fixed
perl-YAML-Syck-debugsource
Amazon Linux 2023
0:1.37-1.amzn2023.0.4
fixed
perl-YAML-Syck-tests
Amazon Linux 2023
0:1.37-1.amzn2023.0.4
fixed