YAML::Syck 1.47 Fixes Multiple Memory-Safety Flaws in Perl YAML Parsing
Vulnerability Disclosure · 5 sources · Updated 5mo ago · First seen Jul 17, 2026

YAML::Syck version 1.47 has been released to fix multiple memory-safety vulnerabilities in the Perl module’s bundled libsyck library, all reachable through the default Load or LoadFile parsing path when handling untrusted YAML. The disclosed issues include CVE-2026-57075, an out-of-bounds read in syck_base64dec caused by indexing a 256-entry lookup table with a signed char; CVE-2026-57076, a heap use-after-free in syck_hdlr_add_anchor when an anchor name is reused as an anchors-table key; and CVE-2026-57077, an out-of-bounds read in newline_len during block-scalar lexing at a document boundary. Advisories say affected versions are those before 1.47, and note that CVE-2026-57077 is an incomplete-fix follow-on to CVE-2025-11683.
Project maintainers also patched CVE-2026-13713, described in the code and release notes as a use-after-free/double-free involving anchor nodes that can cause a remote crash denial of service. The remediation adds targeted code fixes, changes anchor-table key ownership, introduces deferred cleanup for retired parser nodes, adds regression tests for each CVE, and expands AddressSanitizer-based CI to reproduce the vulnerable behavior and verify the fixes. The 1.47 release further hardens syck_base64dec() with bounds checks and sets a default Load maximum depth of 512 to reduce the risk of C-stack exhaustion from deeply nested YAML or JSON input.
Why it matters
Impact assessment
YAML::Syck versions before 1.47 expose Perl applications to multiple memory-safety flaws in the bundled libsyck parser when processing untrusted YAML through the default Load or LoadFile path. Affected organizations are any teams running Perl software, services, automation, or data-processing pipelines that ingest attacker-controlled YAML or JSON via YAML::Syck/JSON::Syck, with impact ranging from memory disclosure and parser instability to remote crash denial of service.
The exposure is broad across legacy Perl environments rather than tied to a specific sector, but practical risk is highest for internet-facing services, CI/CD tooling, package-processing workflows, and back-end jobs that parse untrusted documents. No in-the-wild exploitation is reported in the references, but the vulnerabilities are low-friction to reach because they require no special parser flags and are triggered through standard YAML features.
Supporting facts
- Affected product: YAML::Syck for Perl, including bundled libsyck.
- Affected versions: all versions before 1.47; patch notes state flaws are present through 1.46.
- Reachability: default YAML::Syck::Load() and LoadFile() paths on untrusted input.
- User populations at risk: applications parsing untrusted YAML, including services, automation, and file-ingestion workflows.
- Impact types:
- CVE-2026-57075: out-of-bounds read with potential leakage of adjacent memory values into decoded !!binary output.
- CVE-2026-57076: heap use-after-free during anchor redefinition, causing unsafe memory access.
- CVE-2026-57077: one-byte out-of-bounds read during block-scalar lexing at a document boundary.
- CVE-2026-13713: use-after-free/double-free that can cause remote crash denial of service from a 7-byte input.
- Scope: potentially widespread in environments still using YAML::Syck, especially older Perl stacks and embedded dependencies.
- Exploitation status: no known active exploitation cited in the provided references.


