CVE-2026-8594: Text::LineFold versions through 2019.001 for Perl duplicate the output based on the number of special break characters
Robert Rothenberg 30 May 2026 15:36 UTC
========================================================================
CVE-2026-8594 CPAN Security Group
========================================================================
CVE ID: CVE-2026-8594
Distribution: Unicode-LineBreak
Versions: through 2019.001
MetaCPAN: https://metacpan.org/dist/Unicode-LineBreak
VCS Repo: https://github.com/hatukanezumi/Unicode-LineBreak/
Text::LineFold versions through 2019.001 for Perl duplicate the output
based on the number of special break characters
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.
Problem types
-------------
- CWE-405 Asymmetric Resource Consumption (Amplification)
- CWE-407 Inefficient Algorithmic Complexity
Workarounds
-----------
Apply the patch.
References
----------
https://metacpan.org/release/NEZUMI/Unicode-LineBreak-2019.001/source/lib/Text/LineFold.pm#L407-415
https://security.metacpan.org/patches/U/Unicode-LineBreak/2019.001/CVE-2026-8594-r1.patch