CVE-2026-57074: CWE-125 Out-of-bounds Read in CODECHILD XML::Bare
XML::Bare versions up to 0.53 for Perl contain an out-of-bounds read vulnerability due to unbounded character lookahead in the parserc_parse function. This occurs when the parser checks for multicharacter strings or element terminators without verifying buffer boundaries, allowing truncated XML strings to trigger the issue. The vulnerability has a critical severity with a CVSS score of 9.1.
AI Analysis
Technical Summary
CVE-2026-57074 is an out-of-bounds read vulnerability (CWE-125) in XML::Bare versions up to 0.53 for Perl. The parserc_parse function performs lookahead checks for specific XML constructs such as "<![CDATA" or ">" without ensuring that the offsets accessed are within the buffer limits. This can lead to reading memory beyond the intended buffer when processing truncated XML input like "<a/". The vulnerability is rated critical with a CVSS 3.1 score of 9.1, indicating high impact on confidentiality and availability.
Potential Impact
Successful exploitation can cause an out-of-bounds read, potentially leading to application crashes or exposure of sensitive memory contents. The CVSS vector indicates no required privileges or user interaction, and the attack can be performed remotely over the network, impacting confidentiality and availability with high severity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround is currently documented. Users should monitor the vendor's communications for updates and avoid processing untrusted or truncated XML inputs with affected versions until a fix is available.
CVE-2026-57074: CWE-125 Out-of-bounds Read in CODECHILD XML::Bare
Description
XML::Bare versions up to 0.53 for Perl contain an out-of-bounds read vulnerability due to unbounded character lookahead in the parserc_parse function. This occurs when the parser checks for multicharacter strings or element terminators without verifying buffer boundaries, allowing truncated XML strings to trigger the issue. The vulnerability has a critical severity with a CVSS score of 9.1.
CVSS v3.1
Score 9.1critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-57074 is an out-of-bounds read vulnerability (CWE-125) in XML::Bare versions up to 0.53 for Perl. The parserc_parse function performs lookahead checks for specific XML constructs such as "<![CDATA" or ">" without ensuring that the offsets accessed are within the buffer limits. This can lead to reading memory beyond the intended buffer when processing truncated XML input like "<a/". The vulnerability is rated critical with a CVSS 3.1 score of 9.1, indicating high impact on confidentiality and availability.
Potential Impact
Successful exploitation can cause an out-of-bounds read, potentially leading to application crashes or exposure of sensitive memory contents. The CVSS vector indicates no required privileges or user interaction, and the attack can be performed remotely over the network, impacting confidentiality and availability with high severity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround is currently documented. Users should monitor the vendor's communications for updates and avoid processing untrusted or truncated XML inputs with affected versions until a fix is available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-06-23T17:59:40.467Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a5907ce68715ace4356ca8d
Added to database: 07/16/2026, 16:33:18 UTC
Last enriched: 07/23/2026, 22:40:49 UTC
Last updated: 08/30/2026, 22:52:12 UTC
Views: 144
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.