Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-7040: Text::Minify::XS versions from 0.3.0 before 0.7.8 for Perl have a heap overflow when processing some malformed

41
This month
HIGH 7.5REMOTEUPGRADE

CVE-2026-7040 is a high-severity flaw (CVSS 7.5) affecting text\. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • High severity
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score7.5 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance0.4% (top 62%)
CISA exploited listNo
WeaknessCWE-122, CWE-176
Published2026-04-27
Last modified2026-10-26
Publisher (CNA): CPANSec · Vendor: rrwo

Share: LinkedIn · X · Reddit

Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

rrwo text\ UPGRADE
Affected: >= 0.3.0 and < 0.7.8
Fixed in: 0.7.8
Safe to downgrade to: a release before 0.3.0
1. Check installed version
apt-cache policy text || rpm -q text || text --version
2. UPGRADE to 0.7.8 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade text
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade text
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 0.3.0 (Debian / Ubuntu)
apt-cache madison text sudo apt install text=<VERSION_BEFORE_0.3.0> sudo apt-mark hold text
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list text sudo dnf downgrade text-<VERSION_BEFORE_0.3.0> sudo dnf versionlock add text
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-7040?

text\: upgrade to 0.7.8. Exact commands for each OS are on this page.

Is CVE-2026-7040 being exploited?

CVE-2026-7040 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-7040 affect?

CVE-2026-7040 affects text\. Severity is high (CVSS 7.5). 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 mi

How urgent is CVE-2026-7040?

Priority 41/100. High severity; Remotely exploitable, no login, no user action

Software pages

Perl vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.