Every CVE Search/ Get API key

CVE-2026-13401

XML::Bare versions through 0.53 for Perl will hang in an infinite loop when parsing malformed attributes

7.5 HighFix available

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 "<a ='c'>" or unbalanced quotes "<a b='''''''c'>" can trigger this condition.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

0.61%Up 0.4 points since Jul 17, 2026
90%50%10%1%

What each source reports

CVE List Score used 7.5

XML::Bare versions through 0.53 for Perl will hang in an infinite loop when parsing malformed attributes

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 "<a ='c'>" or unbalanced quotes "<a b='''''''c'>" can trigger this condition.

Record
CVE-2026-13401
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-835
Updated
2026-11-02
EUVDEUVD-2026-44964 7.5

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 "<a ='c'>" or unbalanced quotes "<a b='''''''c'>" can trigger this condition.

Record
EUVD-2026-44964
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-8299-xh3w-xhx5 7.5

XML::Bare versions through 0.53 for Perl will hang in an infinite loop when parsing malformed...

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 "<a ='c'>" or unbalanced quotes "<a b='''''''c'>" can trigger this condition.

Record
GHSA-8299-xh3w-xhx5
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-835
Updated
2026-11-02
NVD 7.5

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 "<a ='c'>" or unbalanced quotes "<a b='''''''c'>" can trigger this condition.

Record
CVE-2026-13401
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-835
Updated
2026-11-02
OSVDEBIAN-CVE-2026-13401 7.5

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 "<a ='c'>" or unbalanced quotes "<a b='''''''c'>" can trigger this condition.

Record
DEBIAN-CVE-2026-13401
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2026-13401 7.5

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 "<a ='c'>" or unbalanced quotes "<a b='''''''c'>" can trigger this condition.

Record
UBUNTU-CVE-2026-13401
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 4 moreShow less
OSVMGASA-2026-0368 No score

Updated perl-XML-Bare packages fix security vulnerabilities

XML::Bare versions through 0.53 for Perl have an unbounded character lookahead. XML::Bare versions through 0.53 for Perl will hang in an infinite loop when parsing malformed attributes.

Record
MGASA-2026-0368
Updated
2026-11-02
OSVopenSUSE-SU-2026:11351-1 No score

perl-XML-Bare-0.53-7.1 on GA media

These are all security issues fixed in the perl-XML-Bare-0.53-7.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2026:11351-1
Updated
2026-11-02
OSVopenSUSE-SU-2026:21435-1 No score

Security update for perl-XML-Bare

This update for perl-XML-Bare fixes the following issues:

Changes in perl-XML-Bare:

  • CVE-2026-13401: XML:Bare would hang when parsing malformed attributes (bsc#1271640)
  • CVE-2026-57074: Fixed unbounded character lookahead (bsc#1271637)
Record
openSUSE-SU-2026:21435-1
Updated
2026-11-02
OSVSUSE-SU-2026:3403-1 No score

Security update for perl-XML-Bare

This update for perl-XML-Bare fixes the following issues

  • CVE-2026-13401: infinite loop when parsing malformed attributes in parserc_parse function (bsc#1271640).
  • CVE-2026-57074: out-of-bounds read due to unbounded character lookahead in the parserc_parse function (bsc#1271637).
Record
SUSE-SU-2026:3403-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libxml-bare-perl
Debian:12
All versions, plus listed versions
0.53-20.53-30.53-40.53-5
None known
libxml-bare-perl
Debian:13
All versions, plus listed versions
0.53-40.53-5
None known
libxml-bare-perl
Debian:14
before 0.53-5, plus listed versions
0.53-4
0.53-5
perl-XML-Bare
Mageia:10
before 0.530.0-26.mga10
0.530.0-26.mga10
perl-XML-Bare
Mageia:9
before 0.530.0-22.mga9
0.530.0-22.mga9
perl-XML-Bare
SUSE:Linux Enterprise Module for Development Tools 15 SP7
before 0.53-150000.3.3.1
0.53-150000.3.3.1
libxml-bare-perl
Ubuntu:16.04:LTS
All versions, plus listed versions
0.53-1build10.53-1build2
None known
libxml-bare-perl
Ubuntu:18.04:LTS
All versions, plus listed versions
0.53-1build4
None known
libxml-bare-perl
Ubuntu:20.04:LTS
All versions, plus listed versions
0.53-1build50.53-1build6
None known
libxml-bare-perl
Ubuntu:22.04:LTS
All versions, plus listed versions
0.53-1build70.53-1build8
None known
Show 5 moreShow less
Affected packages
PackageAffectedFixed
libxml-bare-perl
Ubuntu:24.04:LTS
All versions, plus listed versions
0.53-2build10.53-2build20.53-2build30.53-2build4
None known
libxml-bare-perl
Ubuntu:26.10
All versions, plus listed versions
0.53-4build10.53-50.53-5build1
None known
libxml-bare-perl
Ubuntu:26.04:LTS
All versions, plus listed versions
0.53-4build1
None known
perl-XML-Bare
openSUSE:Tumbleweed
before 0.53-7.1
0.53-7.1
perl-XML-Bare
openSUSE:Leap 16.0
before 0.53-bp160.2.1
0.53-bp160.2.1

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-13401 is a high vulnerability (CVSS 7.5) in Codechild Xml::bare, published July 16, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.61%, the 49th percentile. Fixed in libxml-bare-perl 0.53-5.

References

Show 11 moreShow less
MoveEnter Open