Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| CODECHILD | XML::Bare | ≤ 0.53 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libxml-bare-perl | 0.53-5 | — |
| Debian 13 | libxml-bare-perl | No fix yet | — |
| Debian 12 | libxml-bare-perl | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libxml-bare-perl | No fix yet | — |
| Ubuntu 26.04 LTS | libxml-bare-perl | No fix yet | — |
| Ubuntu 24.04 LTS | libxml-bare-perl | No fix yet | — |
| Ubuntu 22.04 LTS | libxml-bare-perl | No fix yet | — |
| Ubuntu 20.04 LTS | libxml-bare-perl | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | libxml-bare-perl | No fix yet | — |
| Ubuntu 16.04 LTS | libxml-bare-perl | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | perl-XML-Bare | 0.53-150000.3.3.1 | SUSE-SU-2026:3403-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | perl-XML-Bare | 0.53-7.1 | openSUSE-SU-2026:11351-1 |
| openSUSE Leap 16.0 | perl-XML-Bare | 0.53-bp160.2.1 | openSUSE-SU-2026:21435-1 |
Advisories 3
- SUSE-SU-2026:3403-1 Security update for perl-XML-Bare SUSE / openSUSE Security Updates · Jul 30, 2026
- openSUSE-SU-2026:21435-1 Security update for perl-XML-Bare SUSE / openSUSE Security Updates · Jul 24, 2026
- openSUSE-SU-2026:11351-1 perl-XML-Bare-0.53-7.1 on GA media SUSE / openSUSE Security Updates · Jul 24, 2026