Skip to content
Heist/ feed
Back to feed
Critical

libxml-bare-perl — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-57074

XML::Bare versions through 0.53 for Perl have an unbounded character lookahead. The parserc_parse function attempts to check for multicharacter strings such as "" without checking that the offsets are within the buffer. Truncated strings such as "

Products
libxml-bare-perl
Affected versions
0.53-1build1, 0.53-1build2, 0.53-1build4, 0.53-1build5, 0.53-1build6, 0.53-1build7, 0.53-1build8, 0.53-2build1, 0.53-2build2, 0.53-2build3, 0.53-2build4, 0.53-4build1, 0.53-5, 0.53-5build1
Fixed versions
Not specified
CVEs
CVE-2026-57074
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:47 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-57074

core-osv · Original source

Published 16 Jul 2026, 17:16 UTC

XML::Bare versions through 0.53 for Perl have an unbounded character lookahead. The parserc_parse function attempts to check for multicharacter strings such as "" without checking that the offsets are within the buffer. Truncated strings such as "

osv:UBUNTU-CVE-2026-57074

libxml-bare-perl

Fixed versions: Not specified

libxml-bare-perl

Fixed versions: Not specified

libxml-bare-perl

Fixed versions: Not specified

libxml-bare-perl

Fixed versions: Not specified

libxml-bare-perl

Fixed versions: Not specified

libxml-bare-perl

Fixed versions: Not specified

libxml-bare-perl

Fixed versions: Not specified

Complete source record
{
  "id": "fd33a76b80429dad896eae6e114405825bb9be0b4394f06007bbbfecbf8f2553",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-57074",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-57074",
    "summary": "XML::Bare versions through 0.53 for Perl have an unbounded character lookahead. The parserc_parse function attempts to check for multicharacter strings such as \"\" without checking that the offsets are within the buffer. Truncated strings such as \"",
    "evidence": "osv:UBUNTU-CVE-2026-57074",
    "products": [
      {
        "name": {
          "value": "libxml-bare-perl",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.53-1build1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.53-1build2",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libxml-bare-perl",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.53-1build4",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libxml-bare-perl",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.53-1build5",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.53-1build6",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libxml-bare-perl",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.53-1build7",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "0.53-1build8",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libxml-bare-perl",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.53-2build1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "0.53-2build2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "0.53-2build3",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "0.53-2build4",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libxml-bare-perl",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.53-4build1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "0.53-5",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "0.53-5build1",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libxml-bare-perl",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.53-4build1",
            "evidence": "/affected/6/versions"
          }
        ]
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "UBUNTU-CVE-2026-57074",
      "aliases": [
        "UBUNTU-CVE-2026-57074"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/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": "libxml-bare-perl",
            "purl": "pkg:deb/ubuntu/libxml-bare-perl?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "0.53-1build1",
            "0.53-1build2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-57074.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libxml-bare-perl",
                "binary_version": "0.53-1build2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libxml-bare-perl",
            "purl": "pkg:deb/ubuntu/libxml-bare-perl?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "0.53-1build4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-57074.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libxml-bare-perl",
                "binary_version": "0.53-1build4"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libxml-bare-perl",
            "purl": "pkg:deb/ubuntu/libxml-bare-perl?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "0.53-1build5",
            "0.53-1build6"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-57074.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libxml-bare-perl",
                "binary_version": "0.53-1build6"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libxml-bare-perl",
            "purl": "pkg:deb/ubuntu/libxml-bare-perl?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "0.53-1build7",
            "0.53-1build8"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-57074.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libxml-bare-perl",
                "binary_version": "0.53-1build8"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libxml-bare-perl",
            "purl": "pkg:deb/ubuntu/libxml-bare-perl?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "0.53-2build1",
            "0.53-2build2",
            "0.53-2build3",
            "0.53-2build4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-57074.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libxml-bare-perl",
                "binary_version": "0.53-2build4"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libxml-bare-perl",
            "purl": "pkg:deb/ubuntu/libxml-bare-perl?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "0.53-4build1",
            "0.53-5",
            "0.53-5build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-57074.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libxml-bare-perl",
                "binary_version": "0.53-5build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libxml-bare-perl",
            "purl": "pkg:deb/ubuntu/libxml-bare-perl?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "0.53-4build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-57074.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libxml-bare-perl",
                "binary_version": "0.53-4build1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:59:11.398210783Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-57074"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-57074",
        "https://www.cve.org/CVERecord?id=CVE-2026-57074",
        "https://lists.security.metacpan.org/cve-announce/msg/41876806/",
        "https://github.com/nanoscopic/perl-XML-Bare/pull/1",
        "https://security.metacpan.org/patches/X/XML-Bare/0.53/CVE-2026-57074-r1.patch"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-57074",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 359406,
  "published_at": "2026-07-16T17:16:00+00:00"
}