Bug 2501655 - CVE-2026-57076 perl-YAML-Syck: YAML::Syck: Heap use-after-free via anchor name reuse [epel-all]
Summary: CVE-2026-57076 perl-YAML-Syck: YAML::Syck: Heap use-after-free via anchor nam...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: perl-YAML-Syck
Version: epel10
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Paul Howarth
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["246724d5-b8da-4347-b2f7-7...
Depends On:
Blocks: CVE-2026-57076
TreeView+ depends on / blocked
 
Reported: 2026-07-17 03:17 UTC by Ganesh
Modified: 2026-07-23 00:52 UTC (History)
3 users (show)

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
Clone Of:
Environment:
Last Closed: 2026-07-23 00:30:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ganesh 2026-07-17 03:17:37 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 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 is freed, and as the key in the parser's anchors table. Freeing the node frees the shared key, and a later anchor redefinition makes st_delete compare against the freed key, so st_strcmp reads freed heap memory. Anchors are a standard YAML feature and need no special flags, so this is reached on the default Load path.

Any caller that runs Load or LoadFile on an untrusted document that redefines an anchor reaches the read of freed memory.

Comment 1 Fedora Update System 2026-07-17 07:26:29 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:06 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:44 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:00 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:05 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:41 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.


Note You need to log in before you can comment on or make changes to this bug.