CVE-2026-7040CWE-122CWE-176

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

High · published April 27, 2026

CVSS v3.1
7.5
EPSS
1%
Percentile
52.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00693 · 52.3th percentile
Weaknesses
CWE-122 · Heap-based Buffer Overflow; CWE-176 · Improper Handling of Unicode Encoding
Published
2026-04-27T12:29Z
EPSS history
Timeline
  • 27 APR 12:29Z
    Text::Minify::XS versions from 0.3.0 before 0.7.8 for Perl have heap overflow when processing some malformed UTF-8 characters
    cvelistv5