Heap Buffer Overflow Vulnerability in YAML::Syck Affecting Perl by CPAN
CVE-2026-4177

9.1CRITICAL

Key Information:

Vendor

Toddr

Vendor
CVE Published:
16 March 2026

What is CVE-2026-4177?

The YAML::Syck module for Perl is vulnerable to several security issues, including a heap buffer overflow that can be triggered when class names exceed the allocated 512 bytes. Additionally, the base64 decoder functionality may read beyond the buffer's end when handling trailing newlines. There is also a mutation of shared node data causing corruption and a memory leak during node anchoring operations, particularly when an anchor already exists. These vulnerabilities pose significant risks and should be addressed promptly.

Affected Version(s)

YAML::Syck 0 <= 1.36

References

CVSS V3.1

Score:
9.1
Severity:
CRITICAL
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Todd Rinaldo
.