Bug 2501657

Summary: CVE-2026-13713 perl-YAML-Syck: YAML::Syck: Denial of Service via crafted YAML document [epel-all]
Product: [Fedora] Fedora EPEL Reporter: Ganesh <gnaik>
Component: perl-YAML-SyckAssignee: Paul Howarth <paul>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: epel10CC: paul, perl-devel, steve
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["b792cab2-16ee-4c9c-aba6-417aa7be4387"]}
Fixed In Version: perl-YAML-Syck-1.47-1.el9 perl-YAML-Syck-1.47-1.el10_2 perl-YAML-Syck-1.47-1.el10_3 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-07-23 00:30:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2501564    

Description Ganesh 2026-07-17 03:26:41 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Fedora Update System 2026-07-17 07:26:35 UTC
FEDORA-EPEL-2026-22c2f092d6 (perl-YAML-Syck-1.47-1.el10_3) has been submitted as an update to Fedora EPEL 10.3.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-22c2f092d6

Comment 2 Fedora Update System 2026-07-17 07:27:12 UTC
FEDORA-EPEL-2026-8b5b8778ee (perl-YAML-Syck-1.47-1.el10_2) has been submitted as an update to Fedora EPEL 10.2.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-8b5b8778ee

Comment 3 Fedora Update System 2026-07-17 07:27:49 UTC
FEDORA-EPEL-2026-57e759c14c (perl-YAML-Syck-1.47-1.el9) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-57e759c14c

Comment 4 Fedora Update System 2026-07-23 00:30:03 UTC
FEDORA-EPEL-2026-57e759c14c (perl-YAML-Syck-1.47-1.el9) has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Fedora Update System 2026-07-23 00:41:07 UTC
FEDORA-EPEL-2026-8b5b8778ee (perl-YAML-Syck-1.47-1.el10_2) has been pushed to the Fedora EPEL 10.2 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2026-07-23 00:52:43 UTC
FEDORA-EPEL-2026-22c2f092d6 (perl-YAML-Syck-1.47-1.el10_3) has been pushed to the Fedora EPEL 10.3 stable repository.
If problem still persists, please make note of it in this bug report.