YAML::Syck versions before 1.47 for Perl allow an out-of-bounds read via a signed-char lookup-table index in syck_base64dec
Summary
| CVE | CVE-2026-57075 |
|---|---|
| State | PUBLISHED |
| Assigner | CPANSec |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-16 22:17:43 UTC |
| Updated | 2026-07-17 04:16:50 UTC |
| Description | YAML::Syck versions before 1.47 for Perl allow an out-of-bounds read via a signed-char lookup-table index in syck_base64dec. The base64 decoder in the bundled libsyck indexes the 256-entry static table b64_xtable with a signed char, so any !!binary byte >= 0x80 sign-extends to a negative index and reads before the table. The decoder receives the raw bytes of any !!binary node, a standard YAML type not gated by $LoadBlessed or $LoadCode, so it is reached on the default Load path. Any caller that runs Load or LoadFile on an untrusted document containing a !!binary scalar with a high-bit byte triggers the read, and the value read can surface in the decoded result. |
Risk And Classification
Problem Types: CWE-125 | CWE-125 CWE-125 Out-of-bounds Read
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| metacpan.org/release/TODDR/YAML-Syck-1.47/changes | 9b29abf9-4ab0-4765-b253-1875cd9b441e | metacpan.org | |
| www.openwall.com/lists/oss-security/2026/07/17/2 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| github.com/toddr/YAML-Syck/commit/44c90a109ec3215ee7ce747bd11209835e123d... | 9b29abf9-4ab0-4765-b253-1875cd9b441e | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Additional Advisory Data
Solutions
CNA: Upgrade to YAML-Syck 1.47 or later.
There are currently no legacy QID mappings associated with this CVE.