CVE catalog

CVE-2026-57077

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

[CVE catalog]

Severity
High · CVSS 7.7CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.19% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlibyaml-syck-perlsid1.47-1fixed
Debianlibyaml-syck-perlforky1.47-1fixed
Debianlibyaml-syck-perltrixie1.34-2+deb13u3fixed
Debianlibyaml-syck-perltrixie-security1.34-2+deb13u3fixed
Debianlibyaml-syck-perlbookworm1.34-2+deb12u2vulnerable
Debianlibyaml-syck-perlbookworm-security1.34-2+deb12u3fixed
Cpelibyaml-syck-perlNot reportedNot reportedvulnerable
Alpineperl-yaml-syck3.241.47-r0fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibyaml-syck-perlsourcesid1.47-1not yet assignedNot reported[1142267]
Debianlibyaml-syck-perlsourceforky1.47-1not yet assignedNot reported[1142267]
Debianlibyaml-syck-perlsourcetrixie1.34-2+deb13u3not yet assignedNot reported[1142267]
Debianlibyaml-syck-perlsourcebookworm1.34-2+deb12u3not yet assignedNot reported[1142267]
Alpineperl-yaml-syckapk3.241.47-r0Not reportedALPINE-CVE-2026-57077Not reported

[Debian bug #1142267]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (4)
    • 1.34-2+deb12u2 · amd64 · bookworm

      Affected · Fixed: 1.34-2+deb12u3

      nvd · libyaml-syck-perl · debian · bookworm; nvd · libyaml-syck-perl · debian · 12

    • 1.34-2+deb12u2 · arm64 · bookworm

      Affected · Fixed: 1.34-2+deb12u3

      nvd · libyaml-syck-perl · debian · bookworm; nvd · libyaml-syck-perl · debian · 12

    • 1.34-2+deb12u3 · amd64 · bookworm-security

      Fixed · Fixed: 1.34-2+deb12u3

      nvd · libyaml-syck-perl · debian · bookworm; nvd · libyaml-syck-perl · debian · 12

    • 1.34-2+deb12u3 · arm64 · bookworm-security

      Fixed · Fixed: 1.34-2+deb12u3

      nvd · libyaml-syck-perl · debian · bookworm; nvd · libyaml-syck-perl · debian · 12

[Debian 13 (Trixie)]

  • Details (5)
    • 1.34-2+deb13u2 · amd64 · trixie

      Affected · Fixed: 1.34-2+deb13u3

      nvd · libyaml-syck-perl · debian · 13

    • 1.34-2+deb13u2 · arm64 · trixie

      Affected · Fixed: 1.34-2+deb13u3

      nvd · libyaml-syck-perl · debian · 13

    • 1.34-2+deb13u2 · amd64 · trixie-security · Historical version

      Affected · Fixed: 1.34-2+deb13u3

      nvd · libyaml-syck-perl · debian · 13

    • 1.34-2+deb13u3 · amd64 · trixie-security

      Fixed · Fixed: 1.34-2+deb13u3

      nvd · libyaml-syck-perl · debian · 13

    • 1.34-2+deb13u3 · arm64 · trixie-security

      Fixed · Fixed: 1.34-2+deb13u3

      nvd · libyaml-syck-perl · debian · 13

Observed:

References