CVE-2026-7040

Severity CVSS v4.0:
Pending analysis
Type:
CWE-122 Heap-based Buffer Overflow
Publication date:
27/04/2026
Last modified:
07/05/2026

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.<br /> <br /> The minify functions mishandled some malformed UTF-8 characters, leading to heap corruption.<br /> <br /> Note that the minify_utf8 function is an alias for minify.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:rrwo:text\:\:minify\:\:xs:*:*:*:*:*:perl:*:* 0.3.0 (including) 0.7.8 (excluding)