CVE-2026-7040

Source
https://cve.org/CVERecord?id=CVE-2026-7040
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-7040.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-7040
Aliases
  • GHSA-jqhf-vv4h-77h2
Published
2026-04-27T12:29:53.967Z
Modified
2026-07-15T01:48:51.764879820Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Text::Minify::XS versions from 0.3.0 before 0.7.8 for Perl have heap overflow when processing some malformed UTF-8 characters
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-122",
        "CWE-176"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/7xxx/CVE-2026-7040.json",
    "cna_assigner": "CPANSec"
}
References

Affected packages

Git / github.com/robrwo/text-minify-xs

Affected ranges

Type
GIT
Repo
https://github.com/robrwo/text-minify-xs
Events
Database specific
{
    "cpe": "cpe:2.3:a:rrwo:text\\:\\:minify\\:\\:xs:*:*:*:*:*:perl:*:*",
    "extracted_events": [
        {
            "introduced": "0.3.0"
        },
        {
            "fixed": "0.7.8"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE"
    ]
}

Affected versions

v0.*
v0.3.0
v0.3.1
v0.3.2
v0.3.3
v0.3.4
v0.3.5
v0.3.6
v0.3.7
v0.3.8
v0.3.9
v0.4.0
v0.4.1
v0.4.10
v0.4.2
v0.4.3
v0.4.4
v0.4.5
v0.4.6
v0.4.7
v0.4.8
v0.4.9
v0.5.0
v0.5.1
v0.5.2
v0.5.3
v0.5.4
v0.5.5
v0.5.6
v0.6.0
v0.6.1
v0.6.2
v0.6.3
v0.6.4
v0.6.5
v0.7.0
v0.7.1
v0.7.2
v0.7.3
v0.7.4
v0.7.5
v0.7.6
v0.7.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-7040.json"