What’s Vulnerable › Vulnerabilities

CVE-2026-7040: Text::Minify::XS versions from 0.3.0 before 0.7.8 for Perl have heap overflow when processing some malformed UTF-8 characters

Description

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.

Affected products

How to fix

Upgrade to a fixed version: RRWO Text::Minify::Xs 0.7.8. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-7040 or the next vulnerability affects your stack