{"id":"CVE-2026-57074","state":"PUBLISHED","title":"XML::Bare versions through 0.53 for Perl have an unbounded character lookahead","description":"XML::Bare versions through 0.53 for Perl have an unbounded character lookahead.\n\nThe 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.\n\nTruncated strings such as \"<a/\" can trigger an out-of-bounds read.","publishedAt":"2026-07-16T16:15:34.033Z","updatedAt":"2026-07-17T18:07:06.943Z","severity":{"score":9.1,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","source":"CISA-ADP"},"assigner":"CPANSec","products":["CODECHILD XML::Bare"],"affected":[{"vendor":"CODECHILD","product":"XML::Bare","packageName":"XML-Bare","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.53","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["parser.c"],"programRoutines":[{"name":"parserc_parse"}],"repo":"https://github.com/nanoscopic/perl-XML-Bare"}],"references":["https://github.com/nanoscopic/perl-XML-Bare/pull/1","https://security.metacpan.org/patches/X/XML-Bare/0.53/CVE-2026-57074-r1.patch","http://www.openwall.com/lists/oss-security/2026/07/16/1"],"weaknesses":["CWE-125"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/57xxx/CVE-2026-57074.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-57074","state":"PUBLISHED","datePublished":"2026-07-16T16:15:34.033Z","dateUpdated":"2026-07-17T18:07:06.943Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2026-06-23T17:59:40.467Z"},"containers":{"cna":{"title":"XML::Bare versions through 0.53 for Perl have an unbounded character lookahead","descriptions":[{"lang":"en","value":"XML::Bare versions through 0.53 for Perl have an unbounded character lookahead.\n\nThe 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.\n\nTruncated strings such as \"<a/\" can trigger an out-of-bounds read."}],"affected":[{"vendor":"CODECHILD","product":"XML::Bare","packageName":"XML-Bare","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.53","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["parser.c"],"programRoutines":[{"name":"parserc_parse"}],"repo":"https://github.com/nanoscopic/perl-XML-Bare"}],"references":[{"url":"https://github.com/nanoscopic/perl-XML-Bare/pull/1","tags":["issue-tracking"]},{"url":"https://security.metacpan.org/patches/X/XML-Bare/0.53/CVE-2026-57074-r1.patch","tags":["patch"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","description":"CWE-125 Out-of-bounds Read","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"CPANSec","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateUpdated":"2026-07-16T16:15:34.033Z"},"impacts":[{"capecId":"CAPEC-540","descriptions":[{"lang":"en","value":"CAPEC-540 Overread Buffers"}]}],"source":{"discovery":"UNKNOWN"},"workarounds":[{"lang":"en","value":"Apply the patch."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/07/16/1"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-07-16T19:27:59.991Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":9.1,"attackVector":"NETWORK","baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-07-17T17:19:28.282762Z","id":"CVE-2026-57074","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-17T18:07:06.943Z"}}]}}}