{
  "id": "CVE-2026-56017",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-56017",
  "published_at": "2026-06-29T19:38:14.599Z",
  "title": "JavaScript::Minifier::XS versions before 0.16 for Perl crash with a NULL pointer dereference when the first meaningful token of the input is a slash",
  "vendor": "GTERMARS",
  "product": "JavaScript::Minifier::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": "JavaScript::Minifier::XS versions before 0.16 for Perl crash with a NULL pointer dereference when the first meaningful token of the input is a slash.\n\nThe regexp versus division disambiguator in JsTokenizeString (XS.xs) inspects the previous token's last byte to choose between a regexp literal and a division operator. When a slash is the first meaningful token, with the start of input or only whitespace and comments before it, there is no valid preceding token: the walk back over whitespace and comment nodes runs off the head of the node list to NULL, and the byte lookup reads through a NULL contents pointer at an underflowed length index. The following identifier check dereferences the same NULL pointer.\n\nThe crash is reachable through the public minify() API, so input as small as a single slash byte crashes the calling process. A service that minifies untrusted or third-party JavaScript can be crashed by a remote request, causing denial of service.",
  "cwe": "CWE-476",
  "cvss_by_source": {
    "cisa-adp": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "GTERMARS",
        "product": "JavaScript::Minifier::XS",
        "ranges": [
          "\u003c 0.16"
        ],
        "fixed_in": [
          "0.16"
        ]
      }
    ],
    "solutions": [
      "Upgrade to JavaScript::Minifier::XS version 0.16 or later."
    ],
    "upgrade": [
      "Upgrade JavaScript::Minifier::XS to 0.16 or later."
    ],
    "references": [
      {
        "kind": "Release notes",
        "url": "https://metacpan.org/release/GTERMARS/JavaScript-Minifier-XS-0.16/changes"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
