CPANSA-Text-Minify-XS-2026-7040: Text-Minify-XS vulnerability
| Publisher | giterlizzi | Document category | csaf_security_advisory |
|---|---|---|---|
| Initial release date | 2026-04-27T00:00:00 | Engine | CSAF Perl Toolkit 0.26 |
| Current release date | 2026-04-27T00:00:00 | Build Date | |
| Current version | 1 | Status | final |
| CVSS v3.1 Base Score | 7.5 | Severity | |
| Original language | Language | en | |
| Also referred to | |||
Vulnerability Description
Text::Minify::XS versions from v0.3.0 before v0.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.
Vulnerabilities
CVE-2026-7040
Vulnerability DescriptionText::Minify::XS versions from v0.3.0 before v0.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.
| Weakness | CWE-122 : Heap-based Buffer Overflow |
|---|
Product status
Known affected
| Product | Score | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Text-Minify-XS greater than or equal v0.3.0 and less than v0.7.8 |
|
Fixed
- Text-Minify-XS greater than or equal v0.7.8
giterlizzi
Namespace: https://github.com/giterlizzi/
gdt@cpan.org
References
- CPANSA-Text-Minify-XS-2026-7040 JSON self
https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-text-minify-xs-2026-7040.json - https://github.com/robrwo/Text-Minify-XS/security/advisories/GHSA-jqhf-vv4h-77h2 external
https://github.com/robrwo/Text-Minify-XS/security/advisories/GHSA-jqhf-vv4h-77h2 - https://metacpan.org/release/RRWO/Text-Minify-XS-v0.7.8/changes external
https://metacpan.org/release/RRWO/Text-Minify-XS-v0.7.8/changes - http://www.openwall.com/lists/oss-security/2026/04/27/5 external
http://www.openwall.com/lists/oss-security/2026/04/27/5 - CVE-2026-7040 (NVD) external
https://nvd.nist.gov/vuln/detail/CVE-2026-7040
Revision history
| Version | Date of the revision | Summary of the revision |
|---|---|---|
| 1 | Mon Apr 27 00:00:00 2026 | First release |
Sharing rules
TLP:WHITE
For the TLP version see: https://www.first.org/tlp/