CVE-2026-7040

Text::Minify::XS versions from 0.3.0 before 0.7.8 for Perl have heap overflow when processing some malformed UTF-8 characters

State
Published
Severity
7.5 High
Published
Apr 27, 2026
Updated
May 1, 2026
Reserved
Apr 25, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

  • CWE-176 Improper Handling of Unicode Encoding
  • CWE-122 Heap-based Buffer Overflow

Affected Products

ProductVersions
Text::Minify::XSRRWO
  • 0.3.0 to before 0.7.8Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.