Home

Description

Text::LineFold versions through 2019.001 for Perl duplicate the output based on the number of special break characters. Text::LineFold splits the input string by specific line break characters (such as VT, FF and others) into segments, but applies the break function to the entire string, not just the segment. A side effect of this is that the full input can be duplicated for each segment. Besides being incorrect, this can lead to unexpected resource consumption and possible denial of service. Note that Text::LineFold is part of the Unicode-LineBreak distribution, which may have a higher version number than the module.

PUBLISHED Reserved 2026-05-14 | Published 2026-05-30 | Updated 2026-05-30 | Assigner CPANSec

Problem types

CWE-405 Asymmetric Resource Consumption (Amplification)

CWE-407 Inefficient Algorithmic Complexity

Product status

Default status
unaffected

Any version
affected

References

metacpan.org/...neBreak-2019.001/source/lib/Text/LineFold.pm

security.metacpan.org/...eak/2019.001/CVE-2026-8594-r1.patch patch

github.com/hatukanezumi/Unicode-LineBreak/pull/6 issue-tracking

cve.org (CVE-2026-8594)

nvd.nist.gov (CVE-2026-8594)

Download JSON