{"id":"CVE-2026-13401","aliases":["DEBIAN-CVE-2026-13401","EUVD-2026-44964","GHSA-8299-xh3w-xhx5","MGASA-2026-0368","SUSE-SU-2026:3403-1","UBUNTU-CVE-2026-13401","openSUSE-SU-2026:11351-1","openSUSE-SU-2026:21435-1"],"status":"published","title":"XML::Bare versions through 0.53 for Perl will hang in an infinite loop when parsing malformed attributes","description":"XML::Bare versions through 0.53 for Perl will hang in an infinite loop when parsing malformed attributes.\n\nThe parserc_parse function never advances the attribute-parse state cursor on certain malformed attribute forms, looping forever.\n\nNameless attributes such as \"\u003ca ='c'\u003e\" or unbalanced quotes \"\u003ca b='''''''c'\u003e\" can trigger this condition.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-11","score":0.00609,"percentile":0.49624,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-835"],"published":"2026-07-16T16:14:50Z","modified":"2026-10-25T09:47:29Z","fixes":[{"ecosystem":"Debian:14","package":"libxml-bare-perl","fixed_in":["0.53-5"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"libxml-bare-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.53-2","0.53-3","0.53-4","0.53-5"]},{"source":"osv","ecosystem":"Debian:13","package":"libxml-bare-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.53-4","0.53-5"]},{"source":"osv","ecosystem":"Debian:14","package":"libxml-bare-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.53-5"}]}],"versions":["0.53-4"]},{"source":"osv","ecosystem":"Mageia:10","package":"perl-XML-Bare","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.530.0-26.mga10"}]}],"bundled":2},{"source":"osv","ecosystem":"Mageia:9","package":"perl-XML-Bare","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.530.0-22.mga9"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP7","package":"perl-XML-Bare","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.53-150000.3.3.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libxml-bare-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.53-1build1","0.53-1build2"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"libxml-bare-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.53-1build4"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"libxml-bare-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.53-1build5","0.53-1build6"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"libxml-bare-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.53-1build7","0.53-1build8"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"libxml-bare-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.53-2build1","0.53-2build2","0.53-2build3","0.53-2build4"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"libxml-bare-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.53-4build1","0.53-5","0.53-5build1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"libxml-bare-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.53-4build1"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"perl-XML-Bare","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.53-7.1"}]}],"bundled":2},{"source":"osv","ecosystem":"openSUSE:Leap 16.0","package":"perl-XML-Bare","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.53-bp160.2.1"}]}],"bundled":2}],"products":[{"vendor":"codechild","product":"xml::bare"}],"references":[{"url":"https://github.com/nanoscopic/perl-XML-Bare/pull/2","tags":["issue-tracking","report"]},{"url":"https://security.metacpan.org/patches/X/XML-Bare/0.53/CVE-2026-13401-r1.patch","tags":["patch","report"]},{"url":"http://www.openwall.com/lists/oss-security/2026/07/16/2","tags":["report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-13401"},{"url":"https://github.com/advisories/GHSA-8299-xh3w-xhx5"},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-13401","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2026-0368.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=35948","tags":["report"]},{"url":"https://www.openwall.com/lists/oss-security/2026/07/16/1","tags":["web"]},{"url":"https://www.openwall.com/lists/oss-security/2026/07/16/2","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2026/suse-su-20263403-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1271637","tags":["report"]},{"url":"https://bugzilla.suse.com/1271640","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2026-13401","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-57074","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2026-13401","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-13401","tags":["report"]},{"url":"https://lists.security.metacpan.org/cve-announce/msg/41876829/","tags":["report"]},{"url":"","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-13401","title":"XML::Bare versions through 0.53 for Perl will hang in an infinite loop when parsing malformed attributes","description":"XML::Bare versions through 0.53 for Perl will hang in an infinite loop when parsing malformed attributes.\n\nThe parserc_parse function never advances the attribute-parse state cursor on certain malformed attribute forms, looping forever.\n\nNameless attributes such as \"\u003ca ='c'\u003e\" or unbalanced quotes \"\u003ca b='''''''c'\u003e\" can trigger this condition.","status":"published","published":"2026-07-16T16:14:50.176Z","modified":"2026-07-17T12:51:52.55Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"adp"}],"cwes":["CWE-835"],"updated_at":"2026-11-02T14:19:50.24628Z"}],"euvd":[{"id":"EUVD-2026-44964","description":"XML::Bare versions through 0.53 for Perl will hang in an infinite loop when parsing malformed attributes.\n\nThe parserc_parse function never advances the attribute-parse state cursor on certain malformed attribute forms, looping forever.\n\nNameless attributes such as \"\u003ca ='c'\u003e\" or unbalanced quotes \"\u003ca b='''''''c'\u003e\" can trigger this condition.","status":"published","published":"2026-07-16T16:14:50Z","modified":"2026-07-17T12:51:52Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T18:19:50.846094Z"}],"ghsa":[{"id":"GHSA-8299-xh3w-xhx5","title":"XML::Bare versions through 0.53 for Perl will hang in an infinite loop when parsing malformed...","description":"XML::Bare versions through 0.53 for Perl will hang in an infinite loop when parsing malformed attributes.\n\nThe parserc_parse function never advances the attribute-parse state cursor on certain malformed attribute forms, looping forever.\n\nNameless attributes such as \"\u003ca ='c'\u003e\" or unbalanced quotes \"\u003ca b='''''''c'\u003e\" can trigger this condition.","status":"published","published":"2026-07-16T18:31:32Z","modified":"2026-07-17T15:33:27Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-835"],"updated_at":"2026-11-02T15:09:35.141236Z"}],"nvd":[{"id":"CVE-2026-13401","description":"XML::Bare versions through 0.53 for Perl will hang in an infinite loop when parsing malformed attributes.\n\nThe parserc_parse function never advances the attribute-parse state cursor on certain malformed attribute forms, looping forever.\n\nNameless attributes such as \"\u003ca ='c'\u003e\" or unbalanced quotes \"\u003ca b='''''''c'\u003e\" can trigger this condition.","status":"published","published":"2026-07-16T17:16:55.32Z","modified":"2026-10-24T20:10:00.137Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-835"],"updated_at":"2026-11-02T14:12:30.250437Z"}],"osv":[{"id":"DEBIAN-CVE-2026-13401","description":"XML::Bare versions through 0.53 for Perl will hang in an infinite loop when parsing malformed attributes.  The parserc_parse function never advances the attribute-parse state cursor on certain malformed attribute forms, looping forever.  Nameless attributes such as \"\u003ca ='c'\u003e\" or unbalanced quotes \"\u003ca b='''''''c'\u003e\" can trigger this condition.","status":"published","published":"2026-07-16T17:16:55.32Z","modified":"2026-10-25T09:47:29.630405776Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:51.374409Z"},{"id":"UBUNTU-CVE-2026-13401","description":"XML::Bare versions through 0.53 for Perl will hang in an infinite loop when parsing malformed attributes. The parserc_parse function never advances the attribute-parse state cursor on certain malformed attribute forms, looping forever. Nameless attributes such as \"\u003ca ='c'\u003e\" or unbalanced quotes \"\u003ca b='''''''c'\u003e\" can trigger this condition.","status":"published","published":"2026-07-16T17:16:00Z","modified":"2026-10-17T12:58:45.801305294Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T16:56:00.592716Z"},{"id":"MGASA-2026-0368","title":"Updated perl-XML-Bare packages fix security vulnerabilities","description":"XML::Bare versions through 0.53 for Perl have an unbounded character\nlookahead.\nXML::Bare versions through 0.53 for Perl will hang in an infinite loop\nwhen parsing malformed attributes.\n","status":"published","published":"2026-09-02T16:59:28Z","modified":"2026-09-02T17:11:17.862180031Z","updated_at":"2026-11-02T15:49:43.795591Z"},{"id":"openSUSE-SU-2026:11351-1","title":"perl-XML-Bare-0.53-7.1 on GA media","description":"These are all security issues fixed in the perl-XML-Bare-0.53-7.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2026-07-23T00:00:00Z","modified":"2026-07-24T17:16:08.649309757Z","updated_at":"2026-11-02T16:58:39.516824Z"},{"id":"openSUSE-SU-2026:21435-1","title":"Security update for perl-XML-Bare","description":"This update for perl-XML-Bare fixes the following issues:\n\nChanges in perl-XML-Bare:\n\n- CVE-2026-13401: XML:Bare would hang when parsing malformed attributes (bsc#1271640)\n- CVE-2026-57074: Fixed unbounded character lookahead (bsc#1271637)\n","status":"published","published":"2026-07-22T20:52:16Z","modified":"2026-07-24T17:16:09.868061268Z","updated_at":"2026-11-02T16:58:41.885092Z"},{"id":"SUSE-SU-2026:3403-1","title":"Security update for perl-XML-Bare","description":"This update for perl-XML-Bare fixes the following issues\n\n- CVE-2026-13401: infinite loop when parsing malformed attributes in `parserc_parse` function (bsc#1271640).\n- CVE-2026-57074: out-of-bounds read due to unbounded character lookahead in the `parserc_parse` function\n  (bsc#1271637).\n","status":"published","published":"2026-07-29T10:53:49Z","modified":"2026-07-30T17:15:10.470915601Z","updated_at":"2026-11-02T15:54:04.987808Z"}]}}
