Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 65%

CVE-2026-4177: CWE-122 Heap-based Buffer Overflow in TODDR YAML::Syck

0
Critical
VulnerabilityCVE-2026-4177cvecve-2026-4177cwe-122
Published: 03/16/2026 (03/16/2026, 22:30:25 UTC)
Source: CVE Database V5
Vendor/Project: TODDR
Product: YAML::Syck

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.

CVSS v3.1

Score 9.1critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Affected software

Affected versions
=0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 09:24:59 UTC

Technical Analysis

YAML::Syck versions through 1.36 for Perl contain multiple security vulnerabilities, including a high-severity heap buffer overflow triggered when class names exceed a 512-byte buffer allocation in the YAML emitter. Other vulnerabilities include a base64 decoder that can read beyond buffer boundaries on trailing newlines, in-place mutation of node type IDs corrupting shared data, and a memory leak in the anchor handling function when duplicate anchors are added. These issues collectively pose risks of memory corruption and resource leaks. The vulnerabilities are tracked under CVE-2026-4177 with a CVSS 3.1 score of 9.1 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H).

Potential Impact

The heap buffer overflow can lead to memory corruption, potentially causing application crashes or denial of service. The base64 decoder flaw risks reading out-of-bounds memory, which may lead to crashes or data leakage. Corruption of shared node data can destabilize application behavior. The memory leak may cause resource exhaustion over time. The CVSS score of 9.1 reflects critical impact on confidentiality and availability, with no privileges or user interaction required for exploitation.

Mitigation Recommendations

Red Hat has released security updates addressing CVE-2026-4177 in perl-YAML-Syck packages for Red Hat Enterprise Linux 7 Extended Lifecycle Support. Users should apply these official patches promptly to remediate the vulnerabilities. Refer to Red Hat advisories RHSA-2026:8311 and RHSA-2026:6470 for update instructions. Patch status is confirmed with official fixes available. No additional mitigations are indicated beyond applying the vendor-provided updates.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
CPANSec
Date Reserved
2026-03-14T19:36:56.710Z
Cvss Version
null
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-4177","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:8311","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:6470","vendor":"Red Hat"}]

Threat ID: 69b96182771bdb1749b5a612

Added to database: 03/17/2026, 14:13:22 UTC

Last enriched: 07/15/2026, 09:24:59 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 183

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses