CVE-2026-13397
published high CVSS 3.1 · 7.5HTML::Bare versions through 0.04 for Perl will hang in an infinite loop when parsing malformed attributes
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| CODECHILD | — | HTML-BareHTML::Bare · 0 through 0.04 · Other versions: unaffected | Affected | Not stated | CPANSec |
Description
HTML::Bare versions through 0.04 for Perl will hang in an infinite loop when parsing malformed attributes. The parserc_parse function never advances the attribute-parse state cursor on certain malformed attribute forms, looping forever. Nameless attributes such as "<a ='c'>" or unbalanced quotes "<a b='''''''c'>" can trigger this condition. Note that the latest version available on CPAN is version 0.02. Newer versions are available on the git repository.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| CODECHILD | HTML::Bare | 0 through 0.04 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
1- CWE-835 CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')
References
3Provider assertions
3CPANSec · cna
HTML::Bare versions through 0.04 for Perl will hang in an infinite loop when parsing malformed attributes
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- aa6d47bb0ccd91128a1ae805709f66ab9e5e3b78505969f3bcff6cbc7d949427
- Ingested
- 23 Sep 2026, 09:01:28 UTC
- Source record
- Official CVE record