{"id":"CVE-2026-13397","aliases":["CVE-2026-13397"],"related":[],"kind":"vulnerability","state":"published","title":"HTML::Bare versions through 0.04 for Perl will hang in an infinite loop when parsing malformed attributes","summary":"HTML::Bare versions through 0.04 for Perl will hang in an infinite loop when parsing malformed attributes.\n\nThe parserc_parse function never advances the attribute-parse state cursor on certain malformed attribute forms, looping forever.\n\nNameless attributes such as \"<a ='c'>\" or unbalanced quotes \"<a b='''''''c'>\" can trigger this condition.\n\nNote that the latest version available on CPAN is version 0.02. Newer versions are available on the git repository.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"HTML::Bare versions through 0.04 for Perl will hang in an infinite loop when parsing malformed attributes.\n\nThe parserc_parse function never advances the attribute-parse state cursor on certain malformed attribute forms, looping forever.\n\nNameless attributes such as \"<a ='c'>\" or unbalanced quotes \"<a b='''''''c'>\" can trigger this condition.\n\nNote that the latest version available on CPAN is version 0.02. Newer versions are available on the git repository.","source":"cvelist"},{"lang":"es","text":"Las versiones de HTML::Bare hasta la 0.04 para Perl se colgarán en un bucle infinito al analizar atributos mal formados.\n\nLa función parserc_parse nunca avanza el cursor de estado de análisis de atributos en ciertas formas de atributos mal formados, repitiéndose indefinidamente.\n\nAtributos sin nombre como ’<a =’c’>’ o comillas desequilibradas ’<a b=’’’’’’’c’>’ pueden desencadenar esta condición.\n\nTenga en cuenta que la última versión disponible en CPAN es la versión 0.02. Las versiones más recientes están disponibles en el repositorio git.","source":"nvd"}],"published":"2026-07-16T16:14:14.891Z","modified":"2026-10-24T20:10:00.137Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-835"],"affected":[{"ranges":[{"type":"custom","introduced":"0","lastAffected":"0.04","status":"affected"}],"vendor":"CODECHILD","product":"HTML::Bare","package":"HTML-Bare","repo":"https://github.com/nanoscopic/perl-HTML-Bare","source":"cvelist"}],"references":[{"url":"https://github.com/nanoscopic/perl-HTML-Bare/pull/1","tags":["issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://security.metacpan.org/patches/H/HTML-Bare/0.02/CVE-2026-13397-r1.patch","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/07/16/4","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"CPANSec","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-07-17T13:29:35.290Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-13397","url":"https://www.cve.org/CVERecord?id=CVE-2026-13397","licence":"CVE Terms of Use","modified":"2026-07-17T13:30:45.877Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-13397","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-13397","licence":"Public domain","modified":"2026-10-24T20:10:00.137Z"}],"updatedAt":"2026-11-25T22:59:28.399Z","epss":{"score":0.00393,"percentile":0.35614,"date":"2026-12-01T12:00:22.000Z"}}