{
  "id": "CVE-2026-7040",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-7040",
  "published_at": "2026-04-27T12:29:53.967Z",
  "title": "Text::Minify::XS versions from 0.3.0 before 0.7.8 for Perl have heap overflow when processing some malformed UTF-8 characters",
  "vendor": "RRWO",
  "product": "Text::Minify::XS",
  "cvss": {
    "score": 7.5,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.\n\nThe minify functions mishandled some malformed UTF-8 characters, leading to heap corruption.\n\nNote that the minify_utf8 function is an alias for minify.",
  "cwe": "CWE-176",
  "cpes": [
    "cpe:2.3:a:rrwo:text\\:\\:minify\\:\\:xs:*:*:*:*:*:perl:*:*"
  ],
  "cvss_by_source": {
    "cisa-adp": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "RRWO",
        "product": "Text::Minify::XS",
        "ranges": [
          "\u003e= 0.3.0, \u003c 0.7.8"
        ],
        "fixed_in": [
          "0.7.8"
        ]
      }
    ],
    "solutions": [
      "Upgrade to v0.7.8 or later."
    ],
    "upgrade": [
      "Upgrade Text::Minify::XS to 0.7.8 or later."
    ],
    "workarounds": [
      "Validate that all strings passed to the minify and minify_utf8 functions."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/robrwo/Text-Minify-XS/security/advisories/GHSA-jqhf-vv4h-77h2"
      },
      {
        "kind": "Release notes",
        "url": "https://metacpan.org/release/RRWO/Text-Minify-XS-v0.7.8/changes"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
