CVE-2026-4177
published critical CVSS 3.1 · 9.1YAML::Syck versions through 1.36 for Perl has several potential security vulnerabilities including a high-severity heap buffer overflow in the YAML emitter
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| TODDR | — | YAML-SyckYAML::Syck · 0 through 1.36 · Other versions: unaffected | Affected | Not stated | CPANSec |
| Red Hat | — | perl-YAML-SyckRed Hat Enterprise Linux 7 Extended Lifecycle Support · 0:1.27-3.el7_9.1 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat Enterprise Linux | 8 | perl-YAML-Syck0:1.30-6.el8_10 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat Enterprise Linux | 6 | perl-YAML-Syck | Unknown | Not stated | redhat-SADP |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3216 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1517 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | perl-YAML-Syck | Advisory build | 1.30-6.el8_10 | ALSA-2026:6470 |
| Oracle Linux | 8 | perl-YAML-Syckaarch64 | Advisory build | 0:1.30-6.el8_10 | ELSA-2026-6470 |
Show 50 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-7 | perl-YAML-Syckppc64 | Advisory build | 1.27-3.el7_9.1 | RHSA-2026:8311 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | perl-YAML-Syckaarch64 | Advisory build | 1.450.0-bp160.1.1 | OPENSUSE-SU-2026:20771-1 |
| Alpine Linux | edge | perl-yaml-syck | Fixed | 1.45-r0 | Package fix record |
| Debian | bookworm | libyaml-syck-perl | Advisory build | 1.34-2+deb12u2 | DSA-6175-1 |
| Amazon Linux | AL2 | perl-YAML-Syckaarch64 | Listed in advisory | Not stated | ALAS2-2026-3216 |
| Rocky Linux | 8 | perl-YAML-Syckaarch64 | Listed in advisory | Not stated | RLSA-2026:6470 |
| Oracle Linux | 8 | perl-YAML-Syckx86_64 | Advisory build | 0:1.30-6.el8_10 | ELSA-2026-6470 |
| Red Hat Enterprise Linux | RHEL-7 | perl-YAML-Syckppc64le | Advisory build | 1.27-3.el7_9.1 | RHSA-2026:8311 |
| Red Hat Enterprise Linux | RHEL-7 | perl-YAML-Sycks390x | Advisory build | 1.27-3.el7_9.1 | RHSA-2026:8311 |
| Red Hat Enterprise Linux | RHEL-7 | perl-YAML-Sycksrc | Advisory build | 1.27-3.el7_9.1 | RHSA-2026:8311 |
| Red Hat Enterprise Linux | RHEL-7 | perl-YAML-Syckx86_64 | Advisory build | 1.27-3.el7_9.1 | RHSA-2026:8311 |
| Red Hat Enterprise Linux | RHEL-8 | perl-YAML-Syckaarch64 | Advisory build | 1.30-6.el8_10 | RHSA-2026:6470 |
| Red Hat Enterprise Linux | RHEL-8 | perl-YAML-Syckppc64le | Advisory build | 1.30-6.el8_10 | RHSA-2026:6470 |
| Red Hat Enterprise Linux | RHEL-8 | perl-YAML-Sycks390x | Advisory build | 1.30-6.el8_10 | RHSA-2026:6470 |
| Red Hat Enterprise Linux | RHEL-8 | perl-YAML-Sycksrc | Advisory build | 1.30-6.el8_10 | RHSA-2026:6470 |
| Red Hat Enterprise Linux | RHEL-8 | perl-YAML-Syckx86_64 | Advisory build | 1.30-6.el8_10 | RHSA-2026:6470 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | perl-YAML-Syckppc64le | Advisory build | 1.450.0-bp160.1.1 | OPENSUSE-SU-2026:20771-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | perl-YAML-Sycks390x | Advisory build | 1.450.0-bp160.1.1 | OPENSUSE-SU-2026:20771-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | perl-YAML-Syckx86_64 | Advisory build | 1.450.0-bp160.1.1 | OPENSUSE-SU-2026:20771-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-YAML-Syckaarch64 | Advisory build | 1.440.0-1.1 | OPENSUSE-SU-2026:10551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-YAML-Syckppc64le | Advisory build | 1.440.0-1.1 | OPENSUSE-SU-2026:10551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-YAML-Sycks390x | Advisory build | 1.440.0-1.1 | OPENSUSE-SU-2026:10551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-YAML-Syckx86_64 | Advisory build | 1.440.0-1.1 | OPENSUSE-SU-2026:10551-1 |
| Alpine Linux | v3.24 | perl-yaml-syck | Fixed | 1.45-r0 | Package fix record |
| Debian | bullseye | libyaml-syck-perl | Advisory build | 1.34-1+deb11u1 | DLA-4525-1 |
| Debian | trixie | libyaml-syck-perl | Advisory build | 1.34-2+deb13u2 | DSA-6175-1 |
| Red Hat Enterprise Linux | RHEL-7 | perl-YAML-Syck-debuginfoppc64 | Advisory build | 1.27-3.el7_9.1 | RHSA-2026:8311 |
| Red Hat Enterprise Linux | RHEL-7 | perl-YAML-Syck-debuginfoppc64le | Advisory build | 1.27-3.el7_9.1 | RHSA-2026:8311 |
| Red Hat Enterprise Linux | RHEL-7 | perl-YAML-Syck-debuginfos390x | Advisory build | 1.27-3.el7_9.1 | RHSA-2026:8311 |
| Red Hat Enterprise Linux | RHEL-7 | perl-YAML-Syck-debuginfox86_64 | Advisory build | 1.27-3.el7_9.1 | RHSA-2026:8311 |
| Red Hat Enterprise Linux | RHEL-8 | perl-YAML-Syck-debuginfoaarch64 | Advisory build | 1.30-6.el8_10 | RHSA-2026:6470 |
| Red Hat Enterprise Linux | RHEL-8 | perl-YAML-Syck-debuginfoppc64le | Advisory build | 1.30-6.el8_10 | RHSA-2026:6470 |
| Red Hat Enterprise Linux | RHEL-8 | perl-YAML-Syck-debuginfos390x | Advisory build | 1.30-6.el8_10 | RHSA-2026:6470 |
| Red Hat Enterprise Linux | RHEL-8 | perl-YAML-Syck-debuginfox86_64 | Advisory build | 1.30-6.el8_10 | RHSA-2026:6470 |
| Red Hat Enterprise Linux | RHEL-8 | perl-YAML-Syck-debugsourceaarch64 | Advisory build | 1.30-6.el8_10 | RHSA-2026:6470 |
| Red Hat Enterprise Linux | RHEL-8 | perl-YAML-Syck-debugsourceppc64le | Advisory build | 1.30-6.el8_10 | RHSA-2026:6470 |
| Red Hat Enterprise Linux | RHEL-8 | perl-YAML-Syck-debugsources390x | Advisory build | 1.30-6.el8_10 | RHSA-2026:6470 |
| Red Hat Enterprise Linux | RHEL-8 | perl-YAML-Syck-debugsourcex86_64 | Advisory build | 1.30-6.el8_10 | RHSA-2026:6470 |
| Amazon Linux | AL2 | perl-YAML-Sycki686 | Listed in advisory | Not stated | ALAS2-2026-3216 |
| Amazon Linux | AL2 | perl-YAML-Sycksrc | Listed in advisory | Not stated | ALAS2-2026-3216 |
| Amazon Linux | AL2 | perl-YAML-Syckx86_64 | Listed in advisory | Not stated | ALAS2-2026-3216 |
| Amazon Linux | AL2023 | perl-YAML-Syckaarch64 | Listed in advisory | Not stated | ALAS2023-2026-1517 |
| Amazon Linux | AL2023 | perl-YAML-Sycksrc | Listed in advisory | Not stated | ALAS2023-2026-1517 |
| Amazon Linux | AL2023 | perl-YAML-Syckx86_64 | Listed in advisory | Not stated | ALAS2023-2026-1517 |
| Rocky Linux | 8 | perl-YAML-Sycksrc | Listed in advisory | Not stated | RLSA-2026:6470 |
| Rocky Linux | 8 | perl-YAML-Syckx86_64 | Listed in advisory | Not stated | RLSA-2026:6470 |
| Rocky Linux | 8 | perl-YAML-Syck-debuginfoaarch64 | Listed in advisory | Not stated | RLSA-2026:6470 |
| Rocky Linux | 8 | perl-YAML-Syck-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2026:6470 |
| Rocky Linux | 8 | perl-YAML-Syck-debugsourceaarch64 | Listed in advisory | Not stated | RLSA-2026:6470 |
| Rocky Linux | 8 | perl-YAML-Syck-debugsourcex86_64 | Listed in advisory | Not stated | RLSA-2026:6470 |
Description
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.
Multiple security issues have been discovered in the perl YAML::Syck module. A heap overflow occurs when class names exceed the initial 512-byte allocation, a base64 decoder could read past the buffer end on trailing newlines. strtok mutated n->type_id in place, corrupting shared node data, and 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.3 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| TODDR | YAML::Syck | 0 through 1.36 (affected · custom)Default: unaffected | CPANSec · cna |
| Red Hat | Red Hat Enterprise Linux 7 Extended Lifecycle Support | 0:1.27-3.el7_9.1 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 8 | 0:1.30-6.el8_10 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unknown | redhat-SADP · adp |
Weaknesses
2- CWE-122 CWE-122 Heap-based Buffer Overflow
- CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
References
8- http://www.openwall.com/lists/oss-security/2026/03/16/6
- https://access.redhat.com/errata/RHSA-2026:6470
- https://access.redhat.com/errata/RHSA-2026:8311
- https://access.redhat.com/security/cve/CVE-2026-4177
- RHBZ#2448277 https://bugzilla.redhat.com/show_bug.cgi?id=2448277
- https://github.com/cpan-authors/YAML-Syck/commit/e8844a31c8cf0052914b198fc784ed4e6b8ae69e.patch
- https://metacpan.org/release/TODDR/YAML-Syck-1.37_01/changes#L21
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4177.json
Provider assertions
4CPANSec · cna
YAML::Syck versions through 1.36 for Perl has several potential security vulnerabilities including a high-severity heap buffer overflow in the YAML emitter
redhat-SADP · adp
perl-YAML-Syck: YAML::Syck versions through 1.36 for Perl has several potential security vulnerabilities including a high-severity heap buffer overflow in the YAML emitter
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 89aaa14d4f53d31fbc117cb4b7d04e351920410cea5356d4c9db7da1614e3c4e
- Ingested
- 23 Sep 2026, 09:18:17 UTC
- Source record
- Official CVE record