Skip to content
Heist/ feed
Back to feed
HighFix available

libyaml-syck-perl — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2026-57076

YAML::Syck versions before 1.47 for Perl allow a heap use-after-free via an anchor name reused as an anchors-table key in syck_hdlr_add_anchor. In the bundled libsyck an anchor name allocated by syck_strndup is stored both as node->anchor, freed when the node is freed, and as the key in the parser's anchors table. Freeing the node frees the shared key, and a later anchor redefinition makes st_delete compare against the freed key, so st_strcmp reads freed heap memory. Anchors are a standard YAML feature and need no special flags, so this is reached on the default Load path. Any caller that runs Load or LoadFile on an untrusted document that redefines an anchor reaches the read of freed memory.

Products
libyaml-syck-perl
Affected versions
1.34-2, 1.34-2+deb12u1, 1.34-2+deb12u2, 1.34-2+deb13u1, 1.34-2+deb13u2, 1.34-3, 1.34-4, 1.36-1, 1.36-2, 1.36-3
Fixed versions
1.34-2+deb12u3, 1.34-2+deb13u3, 1.47-1
CVEs
CVE-2026-57076
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 09:53 UTC · Revision 2

Source evidence

DEBIAN-CVE-2026-57076

core-osv · Original source

Published 16 Jul 2026, 22:17 UTC

YAML::Syck versions before 1.47 for Perl allow a heap use-after-free via an anchor name reused as an anchors-table key in syck_hdlr_add_anchor. In the bundled libsyck an anchor name allocated by syck_strndup is stored both as node->anchor, freed when the node is freed, and as the key in the parser's anchors table. Freeing the node frees the shared key, and a later anchor redefinition makes st_delete compare against the freed key, so st_strcmp reads freed heap memory. Anchors are a standard YAML feature and need no special flags, so this is reached on the default Load path. Any caller that runs Load or LoadFile on an untrusted document that redefines an anchor reaches the read of freed memory.

osv:DEBIAN-CVE-2026-57076

libyaml-syck-perl

Fixed versions: 1.34-2+deb12u3

libyaml-syck-perl

Fixed versions: 1.34-2+deb13u3

libyaml-syck-perl

Fixed versions: 1.47-1

Complete source record
{
  "id": "f3630391fe7bf4220f608d14c33a87bc3f1b2e6f229e00d3bbdff0ee0941464b",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-57076",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-57076",
    "summary": "YAML::Syck versions before 1.47 for Perl allow a heap use-after-free via an anchor name reused as an anchors-table key in syck_hdlr_add_anchor. In the bundled libsyck an anchor name allocated by syck_strndup is stored both as node->anchor, freed when the node is freed, and as the key in the parser's anchors table. Freeing the node frees the shared key, and a later anchor redefinition makes st_delete compare against the freed key, so st_strcmp reads freed heap memory. Anchors are a standard YAML feature and need no special flags, so this is reached on the default Load path. Any caller that runs Load or LoadFile on an untrusted document that redefines an anchor reaches the read of freed memory.",
    "evidence": "osv:DEBIAN-CVE-2026-57076",
    "products": [
      {
        "name": {
          "value": "libyaml-syck-perl",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.34-2+deb12u3",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "1.34-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.34-2+deb12u1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.34-2+deb12u2",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libyaml-syck-perl",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.34-2+deb13u3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "1.34-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.34-2+deb13u1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.34-2+deb13u2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libyaml-syck-perl",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.47-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "1.34-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.34-3",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.34-4",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.36-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.36-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.36-3",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2026-57076",
      "aliases": [
        "DEBIAN-CVE-2026-57076"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.34-2+deb12u3"
                }
              ]
            }
          ],
          "package": {
            "name": "libyaml-syck-perl",
            "purl": "pkg:deb/debian/libyaml-syck-perl?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "1.34-2",
            "1.34-2+deb12u1",
            "1.34-2+deb12u2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-57076.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.34-2+deb13u3"
                }
              ]
            }
          ],
          "package": {
            "name": "libyaml-syck-perl",
            "purl": "pkg:deb/debian/libyaml-syck-perl?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "1.34-2",
            "1.34-2+deb13u1",
            "1.34-2+deb13u2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-57076.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.47-1"
                }
              ]
            }
          ],
          "package": {
            "name": "libyaml-syck-perl",
            "purl": "pkg:deb/debian/libyaml-syck-perl?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "1.34-2",
            "1.34-3",
            "1.34-4",
            "1.36-1",
            "1.36-2",
            "1.36-3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-57076.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-25T09:47:35.524392825Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-57076"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-57076"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-57076",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 445177,
  "published_at": "2026-07-16T22:17:43.55+00:00"
}