CVE-2026-7040
Last modified
CVE-2026-7040 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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.. EPSS estimates a 0.44% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Rrwo | Text\ | >= 0.3.0, < 0.7.8 | Minify\ |
References
- https://github.com/robrwo/Text-Minify-XS/security/advisories/GHSA-jqhf-vv4h-77h2Third Party Advisory
- https://metacpan.org/release/RRWO/Text-Minify-XS-v0.7.8/changesProduct, Release Notes
- http://www.openwall.com/lists/oss-security/2026/04/27/5Mailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-7040?
How severe is CVE-2026-7040?
How do I fix CVE-2026-7040?
Are you affected by CVE-2026-7040?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
