cve.bz

CVE-2026-4177 toddr yaml\: Heap-based Buffer Overflow

9.1 criticalEPSS 0.5%Fix available

Critical (9.1) in toddr yaml\. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 42nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-03-17. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-122 Heap-based Buffer Overflow
CWE-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-4177 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-4177?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-4177?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-4177 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

  • toddr:yaml\

Versions

From the CNA's record in the CVE List.

ProductAffected
TODDR YAML::Syckthrough 1.36

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11libyaml-syck-perl1.34-1+deb11u1DLA-4525-1
Debian12libyaml-syck-perl1.34-2+deb12u2DEBIAN-CVE-2026-4177 DSA-6175-1
Debian13libyaml-syck-perl1.34-2+deb13u2DEBIAN-CVE-2026-4177 DSA-6175-1
Debian14libyaml-syck-perl1.36-2DEBIAN-CVE-2026-4177
Ubuntu25.10, 26.04:LTS, 26.10 and 5 morelibyaml-syck-perlno fix listedUBUNTU-CVE-2026-4177
Red Hatenterprise_linux:8::crbperl-YAML-Syck, perl-YAML-Syck-debuginfo, perl-YAML-Syck-debugsource0:1.30-6.el8_10RHSA-2026:6470
Red Hatrhel_els:7perl-YAML-Syck, perl-YAML-Syck-debuginfo0:1.27-3.el7_9.1RHSA-2026:8311
openSUSETumbleweedperl-YAML-Syck1.440.0-1.1openSUSE-SU-2026:10551-1
AlmaLinux8perl-YAML-Syck1.30-6.el8_10ALSA-2026:6470
Rocky Linux8perl-YAML-Syck0:1.30-6.el8_10RLSA-2026:6470
Alpinev3.24perl-yaml-syck1.45-r0ALPINE-CVE-2026-4177
Azure Linux3perl-YAMLno fix listedAZL-109508
Azure Linux3perl-YAML-Syckno fix listedAZL-79977
Alpaquita23perl-yaml-syck1.34-r3BELL-CVE-2026-4177
Alpaquita25perl-yaml-syck1.34-r6BELL-CVE-2026-4177
Alpaquitastreamperl-yaml-syck1.37-r0BELL-CVE-2026-4177

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7 Extended Lifecycle Supportperl-YAML-Syck-0:1.27-3.el7_9.1Fixed 2026-04-15RHSA-2026:8311
Red Hat Enterprise Linux 8perl-YAML-Syck-0:1.30-6.el8_10Fixed 2026-04-02RHSA-2026:6470
Red Hat Enterprise Linux 6perl-YAML-SyckOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-4177.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).

References

Check your stackJSON