Skip to main content

YAML::Syck EUVDEUVD-2026-45056

| CVE-2026-57077 HIGH
Out-of-bounds Read (CWE-125)
2026-07-16 CPANSec GHSA-5wqv-8x52-77q2
7.7
CVSS 3.1 · Vendor: CPANSec
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft YAML with boundary block scalar
  2. Delivery
    Deliver to app parsing via Load/LoadFile
  3. Exploit
    newline_len scans past buffer end
  4. Execution
    One-byte out-of-bounds heap read
  5. Impact
    Adjacent data leak or process crash

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the target application to call YAML::Syck::Load or LoadFile on an attacker-controlled document (versions before 1.47) that contains a block scalar placed at a document boundary - this is the exact trigger, matching the '\r\n' newline-scan path in newline_len/is_newline where the lexer buffer lacks a NUL terminator and bounds check. Limiting factors: the impact is a single-byte over-read past the heap lexer buffer, so confidentiality disclosure is small and the more likely observable effect is a crash; the flaw only fires when untrusted YAML is actually parsed by this specific module; and NVD scores it AV:L, implying local delivery of the document, though a service that ingests remote YAML would face a network-reachable path. No authentication is indicated by the vector (PR:N) and no user interaction is required beyond the application ingesting the document.

Impact

Signals are largely consistent and point to a real-but-modest priority rather than an emergency. CVSS 3.1 is 7.7 (AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H), EPSS is low at 0.19% (8th percentile), and CISA SSVC records Exploitation: none, Automatable: no, Technical Impact: total - so the high base score is driven by 'total' technical impact rather than by any observed exploitation. Two caveats deserve emphasis: first, the CVSS vector uses AV:L, yet the description says any caller that runs Load/LoadFile on an untrusted document is affected, so if a network-facing service parses remote YAML the practical vector is closer to network - verify against your deployment. Second, C:H likely overstates impact for what the description characterizes as a single-byte over-read at a document boundary; realistic confidentiality disclosure is limited to a small amount of adjacent heap data, while the more reproducible outcome is a crash (availability) as demonstrated under AddressSanitizer. No KEV listing and low EPSS suggest this is not being mass-exploited.

Exploit ScenarioDerived

An attacker submits a specially crafted YAML document containing a block scalar positioned at a document boundary to a Perl application that parses it with YAML::Syck::Load or LoadFile. When libsyck lexes the block scalar, newline_len reads one byte past the end of the heap lexer buffer, potentially leaking an adjacent heap byte into the parse result or crashing the process. No public weaponized exploit is identified, but CPANSec has documented trigger inputs and the over-read is reproducible under AddressSanitizer.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 22, 2026

Out-of-bounds heap read in YAML::Syck before 1.47 for Perl lets an attacker who controls a parsed YAML document trigger a one-byte over-read in the bundled libsyck lexer, with a total (per SSVC) technical impact of information disclosure or process crash. The flaw sits in newline_len/is_newline, which dereference the scan pointer (and the following byte for a "\r\n" pair) with no NUL-terminator or bounds check, so a block scalar sitting at a document boundary runs one byte past the heap lexer buffer. There is no public exploit identified at time of analysis and it is not in CISA KEV, but CPANSec-documented trigger inputs exist and it is explicitly an incomplete fix of CVE-2025-11683 on a lexer path the earlier patch missed.

RemediationAI

Vendor-released patch: upgrade to YAML::Syck 1.47 or later, which adds the missing bounds checks in the libsyck newline scan (fix commit https://github.com/toddr/YAML-Syck/commit/44c90a109ec3215ee7ce747bd11209835e123d8b.patch, release notes https://metacpan.org/release/TODDR/YAML-Syck-1.47/changes). Because this is an incomplete-fix follow-up to CVE-2025-11683, do not assume an earlier patched build is sufficient - confirm the installed version is >= 1.47. If you cannot upgrade immediately, the effective compensating control is to avoid parsing untrusted YAML with this module: stop calling Load/LoadFile on attacker-controlled documents, or route untrusted parsing to an alternative parser (e.g., YAML::PP or YAML::XS) as a temporary measure, accepting the behavioral/compatibility differences between parsers; where feasible, validate or reject inputs containing block scalars at document boundaries, though this is brittle and not a reliable filter. Consult the oss-security advisory at https://seclists.org/oss-sec/2026/q3/161 for details.

Affected VersionsENISA

YAML::Syck 0 <1.47

Affected Packages

euvd yaml_syck fix: 1.47

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

YAML::Syck is a Perl XS binding around the C 'libsyck' YAML/JSON parser, which is vendored into the distribution. The root cause is CWE-125 (out-of-bounds read): during block-scalar lexing, the helper routines newline_len and is_newline dereference the lexer's scan pointer and, when detecting a Windows-style "\r\n" sequence, also the byte immediately after it. libsyck's lexer buffer is not guaranteed NUL-terminated and these helpers perform no end-of-buffer check, so at a document boundary the scan advances one byte past the allocated heap buffer. Because this is the same libsyck newline-scanning weakness family as CVE-2025-11683, the 1.47 release (commit 44c90a1) is a follow-up hardening; the same commit also addresses sibling libsyck defects (base64 signed-char table indexing in emitter.c, and anchor-node use-after-free handling via a new syck_retire_node/retired-table mechanism in handler.c), indicating a coordinated CPANSec memory-safety sweep rather than a single isolated bug.

Know when Yaml gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (CPANSec) PRIMARY 7.7 HIGH
AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
vuln.today AI 6.8 MEDIUM

Triggered by parsing an untrusted document (AV:L, PR:N, UI:N); a single-byte over-read gives limited disclosure (C:L) but a reliable crash (A:H), with no integrity impact.

3.1 AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE HIGH
Red Hat 4.3 MEDIUM

Primary rating from Vendor (CPANSec).

CVSS VectorVendor: CPANSec

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High

Lifecycle Timeline

2
CVE Published
Jul 16, 2026 - 21:41 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 16, 2026 - 21:41 cve.org
HIGH 7.7

DescriptionCVE.org

YAML::Syck versions before 1.47 for Perl allow an out-of-bounds read via an unbounded newline scan in newline_len.

In the bundled libsyck newline_len and is_newline dereference the scan pointer, and the following byte for a "\r\n" pair, with no NUL-terminator or bounds check. During block-scalar lexing at a document boundary the scan runs one byte past the heap lexer buffer. This is an incomplete fix of CVE-2025-11683, on a lexer path the earlier fix did not cover.

Any caller that runs Load or LoadFile on an untrusted document with a block scalar at a document boundary reaches the over-read.

Executive ViewAI

Why It Matters

YAML::Syck for Perl versions before 1.47 contain a vulnerability allowing disclosure of sensitive information or application crashes when processing untrusted YAML input. Organizations using this library should prioritize patching to prevent data breaches and service interruptions.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Low
aging Perl CPAN YAML parser, niche and declining use
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Yaml

View all
CVE-2023-2251 HIGH POC
7.5 Apr 24

Uncaught Exception in GitHub repository eemeli/yaml prior to 2.0.0-5. Rated high severity (CVSS 7.5), this vulnerability

CVE-2022-28948 HIGH POC
7.5 May 19

An issue in the Unmarshal function in Go-Yaml v3 causes the program to crash when attempting to deserialize invalid inpu

CVE-2026-57075 CRITICAL
9.1 Jul 16

Out-of-bounds read in the Perl module YAML::Syck before 1.47 lets a remote attacker leak adjacent process memory by feed

CVE-2026-4177 CRITICAL
9.1 Mar 16

A critical heap buffer overflow vulnerability exists in YAML::Syck through version 1.36 for Perl, allowing remote attack

CVE-2026-57076 HIGH
7.8 Jul 16

Heap use-after-free in YAML::Syck for Perl before version 1.47 lets a crafted YAML document corrupt parser memory when i

CVE-2022-3064 HIGH
7.5 Dec 27

Parsing malicious or large YAML documents can consume excessive amounts of CPU or memory. Rated high severity (CVSS 7.5)

CVE-2026-5089 HIGH
7.3 May 12

Buffer underflow in YAML::Syck for Perl versions before 1.38 allows remote unauthenticated attackers to trigger out-of-b

CVE-2025-11683 MEDIUM
6.5 Jul 17

Out-of-bounds memory read in YAML::Syck's bundled libsyck C library for Perl exposes any application calling Load() or L

CVE-2026-13713 MEDIUM
6.2 Jul 16

YAML::Syck before version 1.47 crashes the Perl interpreter when parsing a YAML document that redefines an anchor name,

CVE-2012-1152 MEDIUM
5.0 Sep 09

Multiple format string vulnerabilities in the error reporting functionality in the YAML::LibYAML (aka YAML-LibYAML and p

Vendor StatusVendor

SUSE

Severity: Important
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise Module for Development Tools 15 SP7 Affected
SUSE Linux Enterprise Server 15 SP7 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy