{"id":"UBUNTU-CVE-2026-57074","details":"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 \"\u003c![CDATA\" or element terminators such as \"\u003e\" without checking that the offsets are within the buffer. Truncated strings such as \"\u003ca/\" can trigger an out-of-bounds read.","modified":"2026-07-29T07:59:16Z","published":"2026-07-16T17:16:00Z","upstream":["CVE-2026-57074"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-57074"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-57074"},{"type":"REPORT","url":"https://lists.security.metacpan.org/cve-announce/msg/41876806/"},{"type":"REPORT","url":"https://github.com/nanoscopic/perl-XML-Bare/pull/1"},{"type":"REPORT","url":"https://security.metacpan.org/patches/X/XML-Bare/0.53/CVE-2026-57074-r1.patch"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2026/07/16/1"}],"affected":[{"package":{"name":"libxml-bare-perl","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libxml-bare-perl?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.53-1build1","0.53-1build2"],"ecosystem_specific":{"binaries":[{"binary_name":"libxml-bare-perl","binary_version":"0.53-1build2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-57074.json"}},{"package":{"name":"libxml-bare-perl","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libxml-bare-perl?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.53-1build4"],"ecosystem_specific":{"binaries":[{"binary_version":"0.53-1build4","binary_name":"libxml-bare-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-57074.json"}},{"package":{"name":"libxml-bare-perl","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libxml-bare-perl?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.53-1build5","0.53-1build6"],"ecosystem_specific":{"binaries":[{"binary_name":"libxml-bare-perl","binary_version":"0.53-1build6"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-57074.json"}},{"package":{"name":"libxml-bare-perl","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libxml-bare-perl?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.53-1build7","0.53-1build8"],"ecosystem_specific":{"binaries":[{"binary_name":"libxml-bare-perl","binary_version":"0.53-1build8"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-57074.json"}},{"package":{"name":"libxml-bare-perl","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libxml-bare-perl?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.53-2build1","0.53-2build2","0.53-2build3","0.53-2build4"],"ecosystem_specific":{"binaries":[{"binary_version":"0.53-2build4","binary_name":"libxml-bare-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-57074.json"}},{"package":{"name":"libxml-bare-perl","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libxml-bare-perl?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.53-4build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libxml-bare-perl","binary_version":"0.53-4build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-57074.json"}}],"schema_version":"1.7.5","severity":[{"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"}]}