YAML::Syck CVE-2025-11683
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft YAML document with block scalar at document boundary
-
DeliveryDeliver to Perl application calling Load() or LoadFile()
-
ExploitTrigger newline_len scan in libsyck lexer
-
ExecutionRead one byte past heap buffer end
-
ImpactPotential 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
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.
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
4Description PRE-NVD
Executive ViewAI
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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
Uncaught Exception in GitHub repository eemeli/yaml prior to 2.0.0-5. Rated high severity (CVSS 7.5), this vulnerability
An issue in the Unmarshal function in Go-Yaml v3 causes the program to crash when attempting to deserialize invalid inpu
Out-of-bounds read in the Perl module YAML::Syck before 1.47 lets a remote attacker leak adjacent process memory by feed
A critical heap buffer overflow vulnerability exists in YAML::Syck through version 1.36 for Perl, allowing remote attack
Heap use-after-free in YAML::Syck for Perl before version 1.47 lets a crafted YAML document corrupt parser memory when i
Out-of-bounds heap read in YAML::Syck before 1.47 for Perl lets an attacker who controls a parsed YAML document trigger
Parsing malicious or large YAML documents can consume excessive amounts of CPU or memory. Rated high severity (CVSS 7.5)
Buffer underflow in YAML::Syck for Perl versions before 1.38 allows remote unauthenticated attackers to trigger out-of-b
YAML::Syck before version 1.47 crashes the Perl interpreter when parsing a YAML document that redefines an anchor name,
Multiple format string vulnerabilities in the error reporting functionality in the YAML::LibYAML (aka YAML-LibYAML and p
Same weakness CWE-119 – Buffer Overflow
View allSame technique Buffer Overflow
View allVendor 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 |
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB