CVE-2026-13713: CWE-416 Use After Free in TODDR YAML::Syck
YAML::Syck versions prior to 1.47 for Perl contain a use-after-free and double-free vulnerability triggered by redefinition or removal of an anchor node during parsing. This flaw causes the interpreter to crash, resulting in a denial of service when processing untrusted YAML documents that redefine anchors mid-parse.
AI Analysis
Technical Summary
The vulnerability in YAML::Syck (before version 1.47) arises from improper memory management in the bundled libsyck library. When an anchor name is redefined or removed, the associated node is freed while it may still reside on the parser's value stack. Subsequent parser operations attempt to free this node again, causing a double-free and use-after-free condition. This leads to interpreter aborts and crashes during the Load or LoadFile operations on maliciously crafted YAML documents containing anchor redefinitions.
Potential Impact
This vulnerability causes a denial of service by crashing the Perl interpreter when processing specially crafted YAML documents that redefine anchors during parsing. There is no indication of code execution or data corruption beyond the interpreter crash. No known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid parsing untrusted YAML documents that redefine anchors mid-parse to prevent interpreter crashes.
CVE-2026-13713: CWE-416 Use After Free in TODDR YAML::Syck
Description
YAML::Syck versions prior to 1.47 for Perl contain a use-after-free and double-free vulnerability triggered by redefinition or removal of an anchor node during parsing. This flaw causes the interpreter to crash, resulting in a denial of service when processing untrusted YAML documents that redefine anchors mid-parse.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in YAML::Syck (before version 1.47) arises from improper memory management in the bundled libsyck library. When an anchor name is redefined or removed, the associated node is freed while it may still reside on the parser's value stack. Subsequent parser operations attempt to free this node again, causing a double-free and use-after-free condition. This leads to interpreter aborts and crashes during the Load or LoadFile operations on maliciously crafted YAML documents containing anchor redefinitions.
Potential Impact
This vulnerability causes a denial of service by crashing the Perl interpreter when processing specially crafted YAML documents that redefine anchors during parsing. There is no indication of code execution or data corruption beyond the interpreter crash. No known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid parsing untrusted YAML documents that redefine anchors mid-parse to prevent interpreter crashes.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-06-29T13:57:19.498Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a59519868715ace43c2e2c5
Added to database: 07/16/2026, 21:48:08 UTC
Last enriched: 07/16/2026, 22:03:31 UTC
Last updated: 07/17/2026, 00:36:02 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.