Skip to content
Heist/ feed
Back to feed
High

libyaml-syck-perl — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-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 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.

Products
libyaml-syck-perl
Affected versions
1.27-2build2, 1.29-1, 1.29-1build1, 1.29-1build3, 1.29-1ubuntu0.16.04.1~esm1, 1.29-1ubuntu0.18.04.1~esm1, 1.31-1, 1.31-1build1, 1.31-1ubuntu0.1~esm1, 1.34-1build1, 1.34-1build2, 1.34-1ubuntu0.1~esm1, 1.34-2, 1.34-2build1, 1.34-2build2, 1.34-2build3, 1.34-2ubuntu0.24.04.1~esm1, 1.34-3, 1.34-4, 1.36-1, 1.36-3, 1.47-1, 1.47-1build1
Fixed versions
Not specified
CVEs
CVE-2026-57077
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:47 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-57077

core-osv · Original source

Published 16 Jul 2026, 22:17 UTC

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.

osv:UBUNTU-CVE-2026-57077

libyaml-syck-perl

Fixed versions: Not specified

libyaml-syck-perl

Fixed versions: Not specified

libyaml-syck-perl

Fixed versions: Not specified

libyaml-syck-perl

Fixed versions: Not specified

libyaml-syck-perl

Fixed versions: Not specified

libyaml-syck-perl

Fixed versions: Not specified

libyaml-syck-perl

Fixed versions: Not specified

Complete source record
{
  "id": "7d0c53f044fd1171a05e1d0873257d3c0b512c17b2491fa9883f2d9ef50a8776",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-57077",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-57077",
    "summary": "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.",
    "evidence": "osv:UBUNTU-CVE-2026-57077",
    "products": [
      {
        "name": {
          "value": "libyaml-syck-perl",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.27-2build2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.29-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.29-1build1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.29-1ubuntu0.16.04.1~esm1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libyaml-syck-perl",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.29-1build3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.29-1ubuntu0.18.04.1~esm1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libyaml-syck-perl",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.31-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.31-1build1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.31-1ubuntu0.1~esm1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libyaml-syck-perl",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.34-1build1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.34-1build2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.34-1ubuntu0.1~esm1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libyaml-syck-perl",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.34-2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.34-2build1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.34-2build2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.34-2build3",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.34-2ubuntu0.24.04.1~esm1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libyaml-syck-perl",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.36-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1.36-3",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1.47-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1.47-1build1",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libyaml-syck-perl",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.34-3",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "1.34-4",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "1.36-1",
            "evidence": "/affected/6/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2026-57077",
      "aliases": [
        "UBUNTU-CVE-2026-57077"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libyaml-syck-perl",
            "purl": "pkg:deb/ubuntu/libyaml-syck-perl?arch=source&distro=esm-apps%2Fxenial",
            "ecosystem": "Ubuntu:Pro:16.04:LTS"
          },
          "versions": [
            "1.27-2build2",
            "1.29-1",
            "1.29-1build1",
            "1.29-1ubuntu0.16.04.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-57077.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libyaml-syck-perl",
                "binary_version": "1.29-1ubuntu0.16.04.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libyaml-syck-perl",
            "purl": "pkg:deb/ubuntu/libyaml-syck-perl?arch=source&distro=esm-apps%2Fbionic",
            "ecosystem": "Ubuntu:Pro:18.04:LTS"
          },
          "versions": [
            "1.29-1build3",
            "1.29-1ubuntu0.18.04.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-57077.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libyaml-syck-perl",
                "binary_version": "1.29-1ubuntu0.18.04.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libyaml-syck-perl",
            "purl": "pkg:deb/ubuntu/libyaml-syck-perl?arch=source&distro=esm-apps%2Ffocal",
            "ecosystem": "Ubuntu:Pro:20.04:LTS"
          },
          "versions": [
            "1.31-1",
            "1.31-1build1",
            "1.31-1ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-57077.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libyaml-syck-perl",
                "binary_version": "1.31-1ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libyaml-syck-perl",
            "purl": "pkg:deb/ubuntu/libyaml-syck-perl?arch=source&distro=esm-apps%2Fjammy",
            "ecosystem": "Ubuntu:Pro:22.04:LTS"
          },
          "versions": [
            "1.34-1build1",
            "1.34-1build2",
            "1.34-1ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-57077.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libyaml-syck-perl",
                "binary_version": "1.34-1ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libyaml-syck-perl",
            "purl": "pkg:deb/ubuntu/libyaml-syck-perl?arch=source&distro=esm-apps%2Fnoble",
            "ecosystem": "Ubuntu:Pro:24.04:LTS"
          },
          "versions": [
            "1.34-2",
            "1.34-2build1",
            "1.34-2build2",
            "1.34-2build3",
            "1.34-2ubuntu0.24.04.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-57077.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libyaml-syck-perl",
                "binary_version": "1.34-2ubuntu0.24.04.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libyaml-syck-perl",
            "purl": "pkg:deb/ubuntu/libyaml-syck-perl?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.36-1",
            "1.36-3",
            "1.47-1",
            "1.47-1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-57077.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libyaml-syck-perl",
                "binary_version": "1.47-1build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libyaml-syck-perl",
            "purl": "pkg:deb/ubuntu/libyaml-syck-perl?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1.34-3",
            "1.34-4",
            "1.36-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-57077.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libyaml-syck-perl",
                "binary_version": "1.36-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:59:11.881556989Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-57077"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-57077",
        "https://www.cve.org/CVERecord?id=CVE-2026-57077",
        "https://www.openwall.com/lists/oss-security/2026/07/17/4",
        "https://github.com/toddr/YAML-Syck/commit/44c90a109ec3215ee7ce747bd11209835e123d8b.patch",
        "https://metacpan.org/release/TODDR/YAML-Syck-1.47/changes",
        "https://www.cve.org/CVERecord?id=CVE-2025-11683"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-57077",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 359414,
  "published_at": "2026-07-16T22:17:00+00:00"
}