CVE-2026-57074
XML::Bare versions through 0.53 for Perl have an unbounded character lookahead
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 "<![CDATA" or element terminators such as ">" without checking that the offsets are within the buffer.
Truncated strings such as "<a/" can trigger an out-of-bounds read.
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
- High
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
9.1
XML::Bare versions through 0.53 for Perl have an unbounded character lookahead
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 "<![CDATA" or element terminators such as ">" without checking that the offsets are within the buffer.
Truncated strings such as "<a/" can trigger an out-of-bounds read.
- Record
CVE-2026-57074- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
EUVDEUVD-2026-44966
9.1
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 "<![CDATA" or element terminators such as ">" without checking that the offsets are within the buffer.
Truncated strings such as "<a/" can trigger an out-of-bounds read.
- Record
EUVD-2026-44966- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-xm8x-vw7j-573w
9.1
XML::Bare versions through 0.53 for Perl have an unbounded character lookahead. The...
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 "<![CDATA" or element terminators such as ">" without checking that the offsets are within the buffer.
Truncated strings such as "<a/" can trigger an out-of-bounds read.
- Record
GHSA-xm8x-vw7j-573w- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
NVD
9.1
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 "<![CDATA" or element terminators such as ">" without checking that the offsets are within the buffer.
Truncated strings such as "<a/" can trigger an out-of-bounds read.
- Record
CVE-2026-57074- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2026-57074
9.1
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 "<![CDATA" or element terminators such as ">" without checking that the offsets are within the buffer. Truncated strings such as "<a/" can trigger an out-of-bounds read.
- Record
DEBIAN-CVE-2026-57074- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2026-57074
9.1
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 "<![CDATA" or element terminators such as ">" without checking that the offsets are within the buffer. Truncated strings such as "<a/" can trigger an out-of-bounds read.
- Record
UBUNTU-CVE-2026-57074- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/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_parsefunction (bsc#1271640). - CVE-2026-57074: out-of-bounds read due to unbounded character lookahead in the
parserc_parsefunction (bsc#1271637).
- Record
SUSE-SU-2026:3403-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libxml-bare-perlDebian:12 |
All versions, plus listed versions 0.53-20.53-30.53-40.53-5 |
None known |
libxml-bare-perlDebian:13 |
All versions, plus listed versions 0.53-40.53-5 |
None known |
libxml-bare-perlDebian:14 |
before 0.53-5, plus listed versions 0.53-4 |
0.53-5 |
perl-XML-BareMageia:10 |
before 0.530.0-26.mga10 | 0.530.0-26.mga10 |
perl-XML-BareMageia:9 |
before 0.530.0-22.mga9 | 0.530.0-22.mga9 |
perl-XML-BareSUSE:Linux Enterprise Module for Development Tools 15 SP7 |
before 0.53-150000.3.3.1 | 0.53-150000.3.3.1 |
libxml-bare-perlUbuntu:16.04:LTS |
All versions, plus listed versions 0.53-1build10.53-1build2 |
None known |
libxml-bare-perlUbuntu:18.04:LTS |
All versions, plus listed versions 0.53-1build4 |
None known |
libxml-bare-perlUbuntu:20.04:LTS |
All versions, plus listed versions 0.53-1build50.53-1build6 |
None known |
libxml-bare-perlUbuntu:22.04:LTS |
All versions, plus listed versions 0.53-1build70.53-1build8 |
None known |
Show 5 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libxml-bare-perlUbuntu:24.04:LTS |
All versions, plus listed versions 0.53-2build10.53-2build20.53-2build30.53-2build4 |
None known |
libxml-bare-perlUbuntu:26.10 |
All versions, plus listed versions 0.53-4build10.53-50.53-5build1 |
None known |
libxml-bare-perlUbuntu:26.04:LTS |
All versions, plus listed versions 0.53-4build1 |
None known |
perl-XML-BareopenSUSE:Tumbleweed |
before 0.53-7.1 | 0.53-7.1 |
perl-XML-BareopenSUSE:Leap 16.0 |
before 0.53-bp160.2.1 | 0.53-bp160.2.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-57074 is a critical vulnerability (CVSS 9.1) 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.63%, the 50th percentile. Fixed in libxml-bare-perl 0.53-5.
References
github.com/nanoscopic/perl-XML-Bare/pull/1
security.metacpan.org/patches/X/XML-Bare/0.53/CVE-2026-57074-r1.patch
openwall.com/lists/oss-security/2026/07/16/1
nvd.nist.gov/vuln/detail/CVE-2026-57074
github.com/advisories/GHSA-xm8x-vw7j-573w
security-tracker.debian.org/tracker/CVE-2026-57074
Show 11 moreShow less
advisories.mageia.org/MGASA-2026-0368.html
bugs.mageia.org/show_bug.cgi?id=35948
openwall.com/lists/oss-security/2026/07/16/2
suse.com/support/update/announcement/2026/suse-su-20263403-1
bugzilla.suse.com/1271637
bugzilla.suse.com/1271640
suse.com/security/cve/CVE-2026-13401
suse.com/security/cve/CVE-2026-57074
ubuntu.com/security/CVE-2026-57074
cve.org/CVERecord?id=CVE-2026-57074
lists.security.metacpan.org/cve-announce/msg/41876806