CVE-2026-4177YAML::Syck versions through 1.36 for Perl has several potential security vulnerabilities…
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.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libyaml-syck-perl | Fix pending | UBUNTU-CVE-2026-4177 | |
| Ubuntu 26.04 | libyaml-syck-perl | Under investigation | UBUNTU-CVE-2026-4177 | |
| Ubuntu 25.10 | libyaml-syck-perl | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-4177 | |
| Ubuntu 24.04 | libyaml-syck-perl | Fix pending | UBUNTU-CVE-2026-4177 | |
| Ubuntu 22.04 | libyaml-syck-perl | Fix pending | UBUNTU-CVE-2026-4177 | |
| Ubuntu 20.04 | libyaml-syck-perl | Fix pending | UBUNTU-CVE-2026-4177 | |
| Ubuntu 18.04 | libyaml-syck-perl | Fix pending | UBUNTU-CVE-2026-4177 | |
| Ubuntu 16.04 | libyaml-syck-perl | Fix pending | UBUNTU-CVE-2026-4177 | |
| Debian 14 | libyaml-syck-perl | Fixed | 1.36-2 | DEBIAN-CVE-2026-4177 |
| Debian 13 | libyaml-syck-perl | Fixed | 1.34-2+deb13u2 | DEBIAN-CVE-2026-4177 |
| Debian 12 | libyaml-syck-perl | Fixed | 1.34-2+deb12u2 | DEBIAN-CVE-2026-4177 |
| Red Hat Enterprise Linux 8 | perl-YAML-Syck | Fixed | 0:1.30-6.el8_10 | RHSA-2026:6470 |
| Red Hat Enterprise Linux 6 | perl-YAML-Syck | Will not fix Out of support scope | ||
| AlmaLinux 8 | perl-YAML-Syck | Fixed | 1.30-6.el8_10 | ALSA-2026:6470 |
| Rocky Linux 8 | perl-YAML-Syck | Fixed | 0:1.30-6.el8_10 | RLSA-2026:6470 |
| Alpine Linux 3.24 | perl-yaml-syck | Fixed | 1.45-r0 | ALPINE-CVE-2026-4177 |
What the vendor says
As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- TODDR YAML::Syck: affected: up to 1.36
Solution: Upgrade to version 1.37 or higher.
Vendor advisories:
- https://github.com/cpan-authors/YAML-Syck/commit/e8844a31c8cf0052914b198fc784ed4e6b8ae69e… (patch)
- https://metacpan.org/release/TODDR/YAML-Syck-1.37_01/changes#L21 (release-notes)
References
- https://github.com/cpan-authors/YAML-Syck/commit/e8844a31c8cf0052914b198fc784ed4e6b8ae69e.patch
- https://metacpan.org/release/TODDR/YAML-Syck-1.37_01/changes#L21
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.