Skip to content
Heist/ feed
Back to feed
Unrated

CVE-2026-57077 affecting package perl-YAML 1.30-2

Type: advisorySources: OSV

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
perl-YAML
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-57077
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 17:25 UTC · Revision 1

Source evidence

CVE-2026-57077 affecting package perl-YAML 1.30-2

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:AZL-109505

perl-YAML

Fixed versions: Not specified

Complete source record
{
  "id": "2a7af1e1df0220bd3a277b53913e70eec41a764f2179ba28029da7f7f14fe285",
  "url": "https://osv.dev/vulnerability/AZL-109505",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2026-57077 affecting package perl-YAML 1.30-2",
    "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:AZL-109505",
    "products": [
      {
        "name": {
          "value": "perl-YAML",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "AZL-109505",
      "aliases": [
        "AZL-109505"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "1.30-2"
                }
              ]
            }
          ],
          "package": {
            "name": "perl-YAML",
            "purl": "pkg:rpm/azure-linux/perl-YAML",
            "ecosystem": "Azure Linux:3"
          },
          "database_specific": {
            "source": "https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-109505.json"
          }
        }
      ],
      "modified": "2026-10-27T05:36:16Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-57077"
      ],
      "references": [
        "https://nvd.nist.gov/vuln/detail/CVE-2026-57077"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-57077",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 460461,
  "published_at": "2026-07-16T22:17:43+00:00"
}