CVE-2026-57076
YAML-Syck: YAML::Syck: Heap use-after-free via anchor name reuse
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · July 17, 2026
Updated · July 17, 2026
Description
A flaw was found in YAML::Syck. An attacker could exploit a heap use-after-free vulnerability by providing a specially crafted YAML document that reuses an anchor name as an anchors-table key. This flaw causes the software to read freed heap memory, which may lead to information disclosure or denial of service.
Statement
This Important heap use-after-free vulnerability in perl-YAML-Syck can be triggered by processing a specially crafted YAML document. The flaw, exploitable through the default YAML loading mechanism, may lead to information disclosure or a denial of service in applications handling untrusted YAML input.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
To reduce the risk associated with this vulnerability, avoid processing untrusted YAML documents with applications that use perl-YAML-Syck. Restricting the source of YAML input to trusted origins is an operational control that can limit exposure.
CVSS / CWE
CVSS 3.1 · 6.3CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:H
CWE-825 · Expired Pointer Dereference