{"id":"CVE-2026-57073","state":"PUBLISHED","title":"HTML::Bare versions through 0.04 for Perl have an unbounded character lookahead","description":"HTML::Bare versions through 0.04 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.\n\nNote that the latest version available on CPAN is version 0.02. Newer versions are available on the git repository.","publishedAt":"2026-07-16T16:15:16.551Z","updatedAt":"2026-07-17T12:44:26.715Z","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 HTML::Bare"],"affected":[{"vendor":"CODECHILD","product":"HTML::Bare","packageName":"HTML-Bare","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.04","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["parser.c"],"programRoutines":[{"name":"parserc_parse"}],"repo":"https://github.com/nanoscopic/perl-HTML-Bare"}],"references":["https://github.com/nanoscopic/perl-HTML-Bare/pull/2","https://security.metacpan.org/patches/H/HTML-Bare/0.02/CVE-2026-57073-r1.patch","https://security.metacpan.org/patches/H/HTML-Bare/0.04/CVE-2026-57073-r2.patch","http://www.openwall.com/lists/oss-security/2026/07/16/3"],"weaknesses":["CWE-125"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/57xxx/CVE-2026-57073.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-57073","state":"PUBLISHED","datePublished":"2026-07-16T16:15:16.551Z","dateUpdated":"2026-07-17T12:44:26.715Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2026-06-23T17:59:40.467Z"},"containers":{"cna":{"title":"HTML::Bare versions through 0.04 for Perl have an unbounded character lookahead","descriptions":[{"lang":"en","value":"HTML::Bare versions through 0.04 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.\n\nNote that the latest version available on CPAN is version 0.02. Newer versions are available on the git repository."}],"affected":[{"vendor":"CODECHILD","product":"HTML::Bare","packageName":"HTML-Bare","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.04","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["parser.c"],"programRoutines":[{"name":"parserc_parse"}],"repo":"https://github.com/nanoscopic/perl-HTML-Bare"}],"references":[{"url":"https://github.com/nanoscopic/perl-HTML-Bare/pull/2","tags":["issue-tracking"]},{"url":"https://security.metacpan.org/patches/H/HTML-Bare/0.02/CVE-2026-57073-r1.patch","tags":["patch"]},{"url":"https://security.metacpan.org/patches/H/HTML-Bare/0.04/CVE-2026-57073-r2.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:16.551Z"},"impacts":[{"capecId":"CAPEC-540","descriptions":[{"lang":"en","value":"CAPEC-540 Overread Buffers"}]}],"source":{"discovery":"UNKNOWN"},"workarounds":[{"lang":"en","value":"Apply the patch to version 0.02 (from CPAN) or version 0.04 (from the git repository)."}],"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/3"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-07-16T19:27:58.902Z"}},{"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-17T12:44:11.342365Z","id":"CVE-2026-57073","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-17T12:44:26.715Z"}}]}}}