CVE-2026-136756
Text::Minify::XS versions from 0.3.0 before 0.7.10 for Perl have a heap buffer overflow in minify on malformed UTF-8 when utf8 warnings are disabled
Description
Text::Minify::XS versions from 0.3.0 before 0.7.10 for Perl have a heap buffer overflow in minify on malformed UTF-8 when utf8 warnings are disabled. Text::Minify::XS removes indentation and trailing whitespace from multi-line text. With utf8 warnings disabled in the calling scope, a malformed byte decodes to a replacement character that takes more bytes to encode than were read, overflowing the output buffer, which is sized to the input. minify_utf8 is an alias for minify. The fix for CVE-2026-7040 in version 0.7.8 rejects malformed UTF-8 only when perl reports a decoding error, which it does only when utf8 warnings are enabled. An application that minifies untrusted text with utf8 warnings disabled, for example under "no warnings", allows heap corruption and a crash.
INFO
Published Date :
Dec. 6, 2026, 11:06 a.m.
Last Modified :
Dec. 6, 2026, 11:06 a.m.
Remotely Exploit :
No
Source :
CPANSec
Affected Products
The following products are affected by CVE-2026-136756
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
Solution
- Update Text::Minify::XS to version 0.7.10 or later.
- Enable UTF-8 warnings in your Perl application.
- Avoid minifying untrusted text with warnings disabled.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-136756 vulnerability anywhere in the article.