CVE-2026-7040
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| RRWO | Text::Minify::XS | 0.3.0 < 0.7.8 | affected |
Weaknesses
- CWE-176: CWE-176 Improper Handling of Unicode Encoding
- CWE-122: CWE-122 Heap-based Buffer Overflow
Workarounds
Validate that all strings passed to the minify and minify_utf8 functions.
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: yes
- Technical Impact: partial
CVE Program Container
Additional References
References
- 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
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.