Skip to main content

YAML::Syck CVE-2025-11683

MEDIUM
Buffer Overflow (CWE-119)
2026-07-17
6.5
CVSS 3.1 · Vendor
View

Attack ChainAIDerived

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

  1. Access
    Craft YAML document with block scalar at document boundary
  2. Delivery
    Deliver to Perl application calling Load() or LoadFile()
  3. Exploit
    Trigger newline_len scan in libsyck lexer
  4. Execution
    Read one byte past heap buffer end
  5. Impact
    Potential one-byte memory disclosure or process crash

Vulnerability Assessment

Weakness
CWE
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

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

Exploitation Conditions

The vulnerable code path is reached when YAML::Syck::Load() or YAML::Syck::LoadFile() is called with a YAML document that contains a block scalar (introduced by '|' or '>') at a document boundary (adjacent to a '---' document separator). No special YAML::Syck configuration, feature flag, or non-default option is required - the default Load() path on untrusted input is sufficient to trigger the over-read. The critical limiting factor is that the over-read is exactly one byte and is silent on normal Perl/C builds, producing no exception, wrong output, or crash under typical heap layouts; exploitation for confidentiality or code-execution impact requires a highly controlled heap arrangement. Authentication requirements are not confirmed from available data, as no CVSS PR metric is provided; however, any application that exposes YAML parsing of attacker-controlled documents - authenticated or not - falls within the exploitable surface.

Impact

No vendor-provided CVSS score or EPSS probability score is available for CVE-2025-11683 in the supplied data. The one-byte nature of the over-read substantially constrains real-world exploitability. The project's own CLAUDE.md documentation explicitly characterizes this class of defect as 'silent (non-crashing) - cannot fail a normal build; the direct Load() just returns' and confirms it is detectable only under AddressSanitizer in CI. Heap layout would need to place a sensitive byte or an unmapped page immediately adjacent to the lexer buffer for any observable impact. The realistic outcomes are a one-byte information leak (low confidentiality impact) or, in rare heap configurations, a process crash (low availability). There is no evidence of integrity impact. The incomplete-fix history - a prior patch for CVE-2025-11683 that missed a second lexer path - indicates the code was not fully audited, which is a moderate process-level concern. However, the absence of a KEV listing, public exploit code, or EPSS data is consistent with low operational exploitation priority. CVSS vector, EPSS score, and KEV status are all absent from the supplied input and should not be assumed.

Exploit ScenarioDerived

An attacker supplies a crafted YAML document containing a block scalar (e.g., a literal '|' block) positioned immediately at a YAML document boundary ('---' separator) to a Perl application that passes user-controlled input to YAML::Syck::Load() or LoadFile(). The libsyck lexer's newline scan dereferences one byte past the end of the heap buffer; on a standard build this is silent, but if the adjacent heap region is unmapped, the process may receive a SIGSEGV and crash, causing a denial of service. No public exploit code has been identified for this vulnerability.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 17, 2026

Out-of-bounds memory read in YAML::Syck's bundled libsyck C library for Perl exposes any application calling Load() or LoadFile() on untrusted YAML to a one-byte heap over-read. The root flaw (CVE-2025-11683) resided in the libsyck block-scalar lexer's newline scanning logic; the patch issued for that CVE was incomplete, leaving a second lexer path uncovered - subsequently disclosed as CVE-2026-57077. Both are resolved in YAML-Syck 1.47 (released July 13, 2026). No public exploit has been identified and the vulnerability is not listed in the CISA KEV catalog.

RemediationAI

Upgrade to YAML-Syck 1.47 or later using cpanm (run: cpanm YAML::Syck) or the CPAN shell (perl -MCPAN -e 'install YAML::Syck'). Version 1.47 resolves CVE-2026-57077 and three additional memory-safety CVEs in the same bundled libsyck code: CVE-2026-57075 (OOB read in base64 decoder), CVE-2026-57076 (use-after-free of anchor key string), and CVE-2026-13713 (use-after-free/double-free of anchor node). The upstream fix commit is at https://github.com/toddr/YAML-Syck/commit/44c90a109ec3215ee7ce747bd11209835e123d8b. If immediate upgrade is not possible, the most effective compensating control is to avoid calling Load() or LoadFile() on any externally supplied or attacker-influenced YAML; applications that process only internally generated or cryptographically signed YAML documents are not exposed to this attack path. No configuration flag or runtime option within YAML::Syck disables the vulnerable block-scalar lexer path while preserving normal YAML parsing.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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 YAML module that wraps a bundled copy of the libsyck C library for parsing and emitting YAML documents. The flaw is classified CWE-125 (Out-of-bounds Read) and is located in the libsyck functions newline_len and is_newline, which scan forward through the input buffer looking for newline sequences, including CRLF pairs. During block-scalar lexing at a YAML document boundary (e.g., a '|' or '>' scalar adjacent to a '---' separator), the scan dereferences both the current byte and the immediately following byte to detect CRLF pairs, but performs no NUL-terminator check and no bounds verification against the heap lexer buffer's end. The result is a single byte read past the allocated buffer on the heap. The original CVE-2025-11683 fix addressed one such code path; the residual path - now documented as CVE-2026-57077 - was not covered by that patch. The vulnerable API surface is the default YAML::Syck::Load() and YAML::Syck::LoadFile() functions, which are the standard entry points for virtually all callers of this module.

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 (CNA) PRIMARY 6.5 MEDIUM
AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 6.5 MEDIUM

Network-reachable via any app accepting untrusted YAML; no auth or config required; one-byte OOB read yields low C and low A, no integrity impact.

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

Primary rating from Vendor (CNA).

CVSS VectorVendor

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

Lifecycle Timeline

4
Severity Changed
Oct 08, 2026 - 11:22 NVD
HIGH MEDIUM
CVSS changed
Oct 08, 2026 - 11:22 NVD
6.5 (HIGH) 6.5 (MEDIUM)
Patch released
Jul 17, 2026 - 04:02 NVD
CVE Published
Jul 17, 2026 - 00:47 oss-security
HIGH

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Executive ViewAI

Why It Matters

Perl applications using YAML::Syck library are vulnerable to information disclosure through out-of-bounds memory reads when processing untrusted YAML input. CVE-2025-11683 requires immediate upgrade to YAML-Syck 1.47 to prevent potential exposure of sensitive heap memory across affected systems.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Medium
widely used YAML parser within Perl ecosystem
Data Quality
6 sources
Confidence: High
NVD CVE.org EPSS Vulnrichment Vendor GitHub

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Controlled
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
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.

Affected Products (CPE)CVE.org

cpe:2.3:a:toddr:yaml\:\:syck:*:*:*:*:*:perl:*:*

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-2026-57077 HIGH
7.7 Jul 16

Out-of-bounds heap read in YAML::Syck before 1.47 for Perl lets an attacker who controls a parsed YAML document trigger

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-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: Moderate
Product Status
SUSE Package Hub 15 SP7 Fixed
openSUSE Leap 16.0 Fixed
openSUSE Tumbleweed Fixed
SUSE Package Hub 15 SP7 Affected

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