CVE-2026-145760
Text::Minify::XS versions before 0.7.10 for Perl terminate the process when minify is called with a number or a reference
AI summary AI generated
An attacker can crash the process by sending a number or reference where a string is expected to Text::Minify::XS minify functions in Perl.
Mitigation
- Upgrade Text-Minify-XS to 0.7.10 or later.
- Vendor workaround: For deployments that cannot upgrade, convert the argument to a string before calling minify, minify_utf8 or minify_ascii, for example minify("$text").
Who should check
- Anyone running Text-Minify-XS < 0.7.10
Vulnerability facts
- Affected
- Text-Minify-XS < 0.7.10
- Fixed in
- Text-Minify-XS 0.7.10
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- CWE
- CWE-843
- Modified
Description
Text::Minify::XS versions before 0.7.10 for Perl terminate the process when minify is called with a number or a reference. Text::Minify::XS removes indentation and trailing whitespace from multi-line text. minify and minify_ascii read the argument's string buffer directly, without converting a number or reference first. For such an argument the pointer and length are meaningless, and the call exits with an "Out of memory" error, or crashes, which eval cannot catch. minify_utf8 is an alias for minify. An attacker who can send a number or a JSON boolean where an application expects a string, for example in a JSON request body passed to minify, can terminate the process.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Text-Minify-XS | < 0.7.10 | — | cvelist |
Versions mentioned in the description AI generated
Extracted by AI; each line quotes the description word for word. Source data above takes precedence.
- Affected: text-minify-xs Text::Minify::XS versions before 0.7.10 for Perl
Text::Minify::XS versions before 0.7.10 for Perl
- Fixed: text-minify-xs 0.7.10
Text::Minify::XS versions before 0.7.10 for Perl
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-145760. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-145760.md Affected: Text-Minify-XS < 0.7.10 Fixed in: Text-Minify-XS 0.7.10 Steps: 1. Search this machine and project for Text-Minify-XS: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
FAQ
Is CVE-2026-145760 being exploited?
There is no confirmed exploitation: CVE-2026-145760 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.
How serious is CVE-2026-145760?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-145760?
Text-Minify-XS < 0.7.10.
Is there a fix for CVE-2026-145760?
Yes. Fixed in Text-Minify-XS 0.7.10. Upgrade Text-Minify-XS to 0.7.10 or later. Vendor workaround: For deployments that cannot upgrade, convert the argument to a string before calling minify, minify_utf8 or minify_ascii, for example minify("$text").
How do I check if I'm affected by CVE-2026-145760?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.