YAML::Syck Use-After-Free and Double-Free Flaw Exposes Perl Apps to DoS
Vulnerability Disclosure · 2 sources · Updated 5mo ago · First seen Jul 17, 2026

A security advisory disclosed CVE-2026-13713 in YAML::Syck for Perl, affecting versions before 1.47. The flaw stems from bundled libsyck handling of anchor nodes that can be freed while still referenced on the parser value stack, creating both use-after-free and double-free conditions during YAML parsing.
A specially crafted YAML document that redefines an anchor while being parsed can crash the Perl interpreter through the default Load path, causing denial of service. Applications that process untrusted YAML with Load or LoadFile are exposed, and the project’s GitHub repository reflects the maintained codebase for YAML::Syck and JSON::Syck; users are advised to upgrade to YAML::Syck 1.47 or later.
Why it matters
Impact assessment
YAML::Syck for Perl is affected by a denial-of-service vulnerability that can crash the Perl interpreter when parsing malicious YAML. The exposed population is any application or service using YAML::Syck versions before 1.47 with Load or LoadFile on untrusted input, including web applications, automation tooling, and backend services that ingest YAML from users or external systems.
The immediate impact is operational disruption rather than confirmed code execution or data theft. Scope is potentially broad across Perl environments still using YAML::Syck, but exploitation requires attacker-controlled YAML input; the story does not report confirmed exploitation in the wild.
Supporting details
- Affected product:
YAML::Syckfor Perl - Affected versions: all versions before
1.47 - Impact type: denial of service via Perl interpreter crash
- Exposure condition: parsing untrusted YAML through
LoadorLoadFile - Root cause location: bundled
libsyckcomponent - Known exploitation: no in-the-wild exploitation reported in the provided references
- Severity context: service instability or outage is plausible for internet-facing or batch-processing applications that accept attacker-supplied YAML


