Security Advisories (1)
CVE-2026-7040 (2026-04-27)

Text::Minify::XS versions from 0.3.0 before 0.7.8 for Perl have a heap overflow when processing some malformed UTF-8 characters. The minify functions mishandled some malformed UTF-8 characters, leading to heap corruption. Note that the minify_utf8 function is an alias for minify.

Changes for version v0.5.6 - 2022-02-14 (TRIAL RELEASE)

  • Bug Fixes
    • Fix parameter in _minify_ascii function, GH#9.

Changes for version v0.5.5 - 2022-02-13 (TRIAL RELEASE)

  • Bug Fixes
    • Remove incorrect const from parameter to _minify_ascii function, GH#9.
  • Documentation
    • Mention benchmarks.
  • Tests
    • Enable Perl::Critic author test.
  • Other
    • Included a sample benchmark script.

Changes for version v0.5.4 - 2022-02-12 (TRIAL RELEASE)

  • Documentation
    • Removed reference to UTF-8 from DESCRIPTION since there is now a separate minify_ascii function.
    • Fix incorrect text about newlines not being removed.

Changes for version v0.5.3 - 2022-02-12 (TRIAL RELEASE)

  • Enhancements
    • Add minify_ascii for minifying ASCII test, GH#6.
    • Add minify_utf8 as an alias for minify.
  • Bug Fixes
    • Use correct name of function in error message.
  • Documentation
    • Add an actual DESCRIPTION section.
    • Fix error in Changes.
    • Add note about handling of newlines.

Documentation

Modules

remove indentation and trailing whitespace

Examples