UBUNTU-CVE-2026-57076

Source
https://ubuntu.com/security/CVE-2026-57076
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-57076.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-57076
Upstream
Published
2026-07-17T00:00:00Z
Modified
2026-07-17T14:31:11.816241635Z
Severity
  • Ubuntu - medium
Summary
[none]
Details

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 syckhdlraddanchor. In the bundled libsyck an anchor name allocated by syckstrndup 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 stdelete compare against the freed key, so ststrcmp 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.

References

Affected packages

Ubuntu:26.04:LTS
libyaml-syck-perl

Package

Name
libyaml-syck-perl
Purl
pkg:deb/ubuntu/libyaml-syck-perl?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.34-3
1.34-4
1.36-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.36-1",
            "binary_name": "libyaml-syck-perl"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-57076.json"
Ubuntu:Pro:16.04:LTS
libyaml-syck-perl

Package

Name
libyaml-syck-perl
Purl
pkg:deb/ubuntu/libyaml-syck-perl?arch=source&distro=esm-apps%2Fxenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.27-2build2
1.29-1
1.29-1build1
1.29-1ubuntu0.16.04.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.29-1ubuntu0.16.04.1~esm1",
            "binary_name": "libyaml-syck-perl"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-57076.json"
Ubuntu:Pro:18.04:LTS
libyaml-syck-perl

Package

Name
libyaml-syck-perl
Purl
pkg:deb/ubuntu/libyaml-syck-perl?arch=source&distro=esm-apps%2Fbionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.29-1build3
1.29-1ubuntu0.18.04.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.29-1ubuntu0.18.04.1~esm1",
            "binary_name": "libyaml-syck-perl"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-57076.json"
Ubuntu:Pro:20.04:LTS
libyaml-syck-perl

Package

Name
libyaml-syck-perl
Purl
pkg:deb/ubuntu/libyaml-syck-perl?arch=source&distro=esm-apps%2Ffocal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.31-1
1.31-1build1
1.31-1ubuntu0.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.31-1ubuntu0.1~esm1",
            "binary_name": "libyaml-syck-perl"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-57076.json"
Ubuntu:Pro:22.04:LTS
libyaml-syck-perl

Package

Name
libyaml-syck-perl
Purl
pkg:deb/ubuntu/libyaml-syck-perl?arch=source&distro=esm-apps%2Fjammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.34-1build1
1.34-1build2
1.34-1ubuntu0.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.34-1ubuntu0.1~esm1",
            "binary_name": "libyaml-syck-perl"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-57076.json"
Ubuntu:Pro:24.04:LTS
libyaml-syck-perl

Package

Name
libyaml-syck-perl
Purl
pkg:deb/ubuntu/libyaml-syck-perl?arch=source&distro=esm-apps%2Fnoble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.34-2
1.34-2build1
1.34-2build2
1.34-2build3
1.34-2ubuntu0.24.04.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.34-2ubuntu0.24.04.1~esm1",
            "binary_name": "libyaml-syck-perl"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-57076.json"