CVE-2026-7040: Text::Minify::XS - Buffer Overflow
- Cve: CVE-2026-7040
- Name: Text::Minify::XS - Buffer Overflow
- 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.
- Impact: Attackers can cause heap corruption leading to potential code execution or denial of service.
- Remediation: Upgrade to version v0.7.8 or later.
- Vulnerability type: buffer_overflow
- Vulnerability impact: remote_code_execution, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.00436
- Epss percentile: 0.38643
- Assignee: 9b29abf9-4ab0-4765-b253-1875cd9b441e
- Published at: 2026-04-27T13:16:02Z
- Age in days: 211
- Modified at: 2026-10-26T21:10:00Z
- Patch available: yes
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-7040
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-122 | Heap-based Buffer Overflow |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/robrwo/Text-Minify-XS/security/advisories/GHSA-jqhf-vv4h-77h2 | Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2026/04/27/5 | Mailing List, Third Party Advisory |
| https://metacpan.org/release/RRWO/Text-Minify-XS-v0.7.8/changes | Product, Release Notes |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| rrwo:text::minify::xs | >= 0.3.0, < 0.7.8 | no | nvd | /v1/products/rrwo/text::minify::xs |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| robrwo/Text-Minify-XS | security_advisory | yes | /v1/repositories/robrwo/Text-Minify-XS |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts