# CVE-2026-7040

## Summary

- **CVE ID:** CVE-2026-7040
- **Severity:** HIGH
- **CVSS Score:** 7.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
- **CWE:** CWE-176, CWE-122
- **Published:** Apr 27, 2026
- **Last Modified:** May 1, 2026

## 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 minnify.

## Affected Products

- RRWO — Text::Minify::XS (v0.3.0)
- RRWO — Text::Minify::XS (0.3.0)

## References

- [CNA](https://github.com/robrwo/Text-Minify-XS/security/advisories/GHSA-jqhf-vv4h-77h2)
- [CNA](https://metacpan.org/release/RRWO/Text-Minify-XS-v0.7.8/changes)
- [CVE](http://www.openwall.com/lists/oss-security/2026/04/27/5)

## Exploitation Prediction (EPSS)

- **EPSS Score:** 0.44%
- **EPSS Percentile:** 36.8

---
_Exported from OnDuty AI Vulnerability Intelligence on 2026-09-10._