Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <f2d5af94-77ff-4a00-b1cb-471ca7cb3b12@cpansec.org>
Date: Sat, 30 May 2026 16:36:25 +0100
From: Robert Rothenberg <rrwo@...nsec.org>
To: cve-announce@...urity.metacpan.org, oss-security@...ts.openwall.com
Subject: CVE-2026-8594: Text::LineFold versions through 2019.001 for Perl
 duplicate the output based on the number of special break characters

========================================================================
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



Powered by blists - more mailing lists

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.