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.7.7 - 2025-07-24

  • Documentation
    • Noted a known issue with the Byte Order Mark.
    • Added a SUPPORT section and merged BUGS into it.
    • Added a SECURITY CONSIDERATIONS section.
    • Fixed typos.
  • Tests
    • Added author tests.

Modules

Remove indentation and trailing whitespace from multi-line text

Examples