{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2025-5889",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-5889",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-06-09T18:16:01.889Z",
    "updatedAt": "2025-06-11T10:39:58.114Z",
    "importedAt": "2026-10-24T01:57:39.058Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "juliangruber brace-expansion index.js expand redos",
      "summary": "A vulnerability was found in juliangruber brace-expansion up to 1.1.11/2.0.1/3.0.0/4.0.0. It has been rated as problematic. Affected by this issue is the function expand of the file index.js. The manipulation leads to inefficient regular expression complexity. The attack may be launched remotely. The complexity of an attack is rather high. The exploitation is known to be difficult. The exploit has been disclosed to the public and may be used. Upgrading to version 1.1.12, 2.0.2, 3.0.1 and 4.0.1 is able to address this issue. The name of the patch is a5b98a4f30d7813266b221435e1eaaf25a1b0ac5. It is recommended to upgrade the affected component.",
      "affected": [
        {
          "vendor": "juliangruber",
          "product": "brace-expansion",
          "versions": [
            {
              "version": "1.1.0",
              "status": "affected"
            },
            {
              "version": "1.1.1",
              "status": "affected"
            },
            {
              "version": "1.1.2",
              "status": "affected"
            },
            {
              "version": "1.1.3",
              "status": "affected"
            },
            {
              "version": "1.1.4",
              "status": "affected"
            },
            {
              "version": "1.1.5",
              "status": "affected"
            },
            {
              "version": "1.1.6",
              "status": "affected"
            },
            {
              "version": "1.1.7",
              "status": "affected"
            },
            {
              "version": "1.1.8",
              "status": "affected"
            },
            {
              "version": "1.1.9",
              "status": "affected"
            },
            {
              "version": "1.1.10",
              "status": "affected"
            },
            {
              "version": "1.1.11",
              "status": "affected"
            },
            {
              "version": "2.0.0",
              "status": "affected"
            },
            {
              "version": "2.0.1",
              "status": "affected"
            },
            {
              "version": "3.0",
              "status": "affected"
            },
            {
              "version": "4.0",
              "status": "affected"
            },
            {
              "version": "1.1.12",
              "status": "unaffected"
            },
            {
              "version": "2.0.2",
              "status": "unaffected"
            },
            {
              "version": "3.0.1",
              "status": "unaffected"
            },
            {
              "version": "4.0.1",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  }
}