Buffer Overflow Affecting perl-YAML-Syck package, versions *


Severity

Recommended
0.0
high
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.45% (39th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS7-PERLYAMLSYCK-15690489
  • published19 Mar 2026
  • disclosed16 Mar 2026

Introduced: 16 Mar 2026

CVE-2026-4177  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

There is no fixed version for Centos:7 perl-YAML-Syck.

NVD Description

Note: Versions mentioned in the description apply only to the upstream perl-YAML-Syck package and not the perl-YAML-Syck package as distributed by Centos. See How to fix? for Centos:7 relevant fixed versions and status.

YAML::Syck versions through 1.36 for Perl has several potential security vulnerabilities including a high-severity heap buffer overflow in the YAML emitter.

The heap overflow occurs when class names exceed the initial 512-byte allocation.

The base64 decoder could read past the buffer end on trailing newlines.

strtok mutated n->type_id in place, corrupting shared node data.

A memory leak occurred in syck_hdlr_add_anchor when a node already had an anchor. The incoming anchor string 'a' was leaked on early return.

CVSS Base Scores

version 3.1