CVE-2026-7040: Text::Minify::XS versions from 0.3.0 before 0.7.8 for Perl have a heap overflow when processing some malformed
CVE-2026-7040 is a high-severity flaw (CVSS 7.5) affecting text\. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-7040?
text\: upgrade to 0.7.8. Exact commands for each OS are on this page.
Is CVE-2026-7040 being exploited?
CVE-2026-7040 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-7040 affect?
CVE-2026-7040 affects text\. Severity is high (CVSS 7.5). 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 mi
How urgent is CVE-2026-7040?
Priority 41/100. High severity; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2026-7111 HIGH 8.4 UPGRADE Text::CSV_XS versions before 1.62 for Perl have a use-after-free when registered callbacks extend the Perl arg