Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Remote attacker-supplied malformed UTF-8 reliably triggers heap corruption with no auth or interaction (AV:N/AC:L/PR:N/UI:N), and impact is a crash only, so C:N/I:N/A:H.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionCVE.org
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.
AnalysisAI
Denial of service in the Perl module Text::Minify::XS (v0.3.0 up to but excluding v0.7.8) arises because its minify functions mishandle certain malformed UTF-8 byte sequences, corrupting the heap. A remote attacker who can supply crafted text to an application that calls minify (or its alias minify_utf8) can trigger heap corruption and crash the process. There is no public exploit identified at time of analysis, EPSS risk is negligible (0.04%), and the flaw is not in CISA KEV.
Technical ContextAI
Text::Minify::XS is an XS (C-backed) Perl module that strips leading and trailing whitespace from text to reduce its size. Because the whitespace-stripping logic is implemented in C for performance, it operates directly on the byte buffer, and the CWE-176 (Improper Handling of Unicode Encoding) root cause is that the parser does not correctly validate multi-byte UTF-8 sequences. When a malformed UTF-8 character is encountered, the length/boundary calculation runs past the intended heap allocation, producing an out-of-bounds write (a heap buffer overflow, consistent with the 'Buffer Overflow' tag). The affected code path is shared: minify_utf8 is documented as an alias for minify, so both entry points are vulnerable. The affected product is identified by CPE cpe:2.3:a:rrwo:text::minify::xs (author RRWO / Rob Rothenberg).
RemediationAI
Vendor-released patch: upgrade Text::Minify::XS to v0.7.8 or later, which corrects the malformed-UTF-8 handling (see the changelog at https://metacpan.org/release/RRWO/Text-Minify-XS-v0.7.8/changes and advisory GHSA-jqhf-vv4h-77h2). Update via CPAN (e.g. cpanm Text::Minify::XS) and rebuild any XS dependency chain. If you cannot patch immediately, the practical compensating control is to validate or sanitize input before it reaches minify/minify_utf8 - decode and re-encode text through a strict UTF-8 validator (such as Encode with the FB_CROAK/strict flag) and reject or replace malformed sequences, which prevents the malformed bytes from reaching the vulnerable C code at the cost of extra processing per request; alternatively, restrict the minify code path to trusted, already-validated input only. Since this is a library rather than a network service, there is no port or feature to disable.
Memory corruption in the Text::CSV_XS Perl module (all versions before 1.62) occurs when application-registered callback
Vulnerability in the Oracle Text component of Oracle Database Server. Rated high severity (CVSS 8.2), this vulnerability
Vulnerability in the Oracle Text component of Oracle Database Server. Rated high severity (CVSS 8.1), this vulnerability
An attacker may cause a denial of service by crafting an Accept-Language header which ParseAcceptLanguage will take sign
The x/text package before 0.3.3 for Go has a vulnerability in encoding/unicode that could lead to the UTF-16 decoder ent
Vulnerability in the Oracle Text component of Oracle Database Server. Rated high severity (CVSS 7.2), this vulnerability
Resource amplification in Text::LineFold (Unicode-LineBreak Perl distribution, versions through 2019.001) causes output
Vulnerability in the Oracle Text component of Oracle Database Server. Rated low severity (CVSS 3.1), this vulnerability
Same weakness CWE-176 – Improper Handling of Unicode Encoding
View allSame technique Buffer Overflow
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-25833