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.6 - 2025-05-18

  • Documentation
    • Added How to Contribute document.
    • Fixed minor typos.
    • Updated the security policy.
    • Update copyright year.
  • Security
    • Increase the minimum version of Encode used for tests [CVE-2021-36770].
  • Tests
    • Added more author tests.

Modules

Remove indentation and trailing whitespace from multi-line text

Examples