CVE Explorer
CVE-2026-13397
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","packageName":"HTML-Bare","product":"HTML::Bare","programFiles":["parser.c"],"programRoutines":[{"name":"parserc_parse"}],"repo":"https://github.com/nanoscopic/perl-HTML-Bare","vendor":"CODECHILD","versions":[{"lessThanOrEqual":"0.04","status":"affected","version":"0","versionType":"custom"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:5a239e432d3a287fe240a2ed825759b7f183b4f41a7afedb6c81ee97c98e1c5f · sha256:52c781eb9d2b16d0… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:5a239e432d3a287fe240a2ed825759b7f183b4f41a7afedb6c81ee97c98e1c5f · sha256:52c781eb9d2b16d0… · /containers/adp/1/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-835","description":"CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:5a239e432d3a287fe240a2ed825759b7f183b4f41a7afedb6c81ee97c98e1c5f · sha256:52c781eb9d2b16d0… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"url":"http://www.openwall.com/lists/oss-security/2026/07/16/4"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5a239e432d3a287fe240a2ed825759b7f183b4f41a7afedb6c81ee97c98e1c5f · sha256:52c781eb9d2b16d0… · /containers/adp/0/references/0
{"tags":["issue-tracking"],"url":"https://github.com/nanoscopic/perl-HTML-Bare/pull/1"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5a239e432d3a287fe240a2ed825759b7f183b4f41a7afedb6c81ee97c98e1c5f · sha256:52c781eb9d2b16d0… · /containers/cna/references/0
{"tags":["patch"],"url":"https://security.metacpan.org/patches/H/HTML-Bare/0.02/CVE-2026-13397-r1.patch"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5a239e432d3a287fe240a2ed825759b7f183b4f41a7afedb6c81ee97c98e1c5f · sha256:52c781eb9d2b16d0… · /containers/cna/references/1
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.