Security Advisories (1)
CVE-2026-8594 (2026-05-30)

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.

Changes for version 2012.003_13

  • Tests building on Win32 are appreciated. ! LineBreak.xs:
    • Cast ref_func() according to strict prototyping.
  • ! Makefile.PL
    • requires sombok 2.1.1.
    • Now configure script won't be used to build bundled sombok.
  • Makefile.PL.sombok
    • To make bundled sombok static library.
  • sombok/configure, etc.
    • No longer shipped with full package of sombok.
  • t/00GraphemeBreakTest.t
    • Added test suite provided by Unicode Consortium.
    • Cases including single surrogates will be skipped.

Changes for version 2012.003_11

Documentation

プレインテキストの行折り
UAX #29 書記素クラスタの列としての文字列
UAX #14 Unicode 行分割アルゴリズム

Modules

Line Folding for Plain Text
String as Sequence of UAX #29 Grapheme Clusters
UAX #14 Unicode Line Breaking Algorithm

Provides

in lib/Unicode/LineBreak/Constants.pm