{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "3.0.0"
              },
              {
                "fixed": "3.30.15"
              },
              {
                "introduced": "4.0.0"
              },
              {
                "fixed": "4.3.1"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "cc36cb24e2d5aedc5c25476448e6841dde01d50f"
            },
            {
              "introduced": "e2422d778d98d935edd3d250a0d32b75a802c142"
            },
            {
              "fixed": "b880666cb543c2dc31054ff2203ce5f84190867b"
            },
            {
              "fixed": "6b83c24b6c3900f1c85d113dbeff23280e024f04"
            },
            {
              "fixed": "1d5fc3099e77938b971e197211cad2d4fbb17541"
            },
            {
              "fixed": "341ee69ccc57b7733c1b40d6993219b64b3206ae"
            }
          ],
          "repo": "https://github.com/jline/jline3",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-ph9c-7hw9-vhhw"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-1333"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77421.json"
  },
  "details": "JLine is a Java library for handling console input. From 3.0.0 until 3.30.15 and 4.3.1, the JLine built-in nano editor's regex search mode passes a user-controlled search term from doSearch(String text) in builtins/src/main/java/org/jline/builtins/Nano.java to Java's backtracking regular expression engine without a timeout or backtracking bound. A nested-quantifier expression evaluated against non-matching buffer content can consume excessive CPU and indefinitely block the editor session thread, and remote multi-user deployments can lose a worker thread for each affected session. This issue is fixed in versions 3.30.15 and 4.3.1.",
  "id": "CVE-2026-77421",
  "modified": "2026-10-02T03:30:22.011930340Z",
  "published": "2026-09-23T18:07:21.134Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/jline/jline3/releases/tag/4.3.1"
    },
    {
      "type": "WEB",
      "url": "https://github.com/jline/jline3/releases/tag/jline-3.30.15"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77421.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/jline/jline3/security/advisories/GHSA-ph9c-7hw9-vhhw"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-77421"
    },
    {
      "type": "FIX",
      "url": "https://github.com/jline/jline3/commit/1d5fc3099e77938b971e197211cad2d4fbb17541"
    },
    {
      "type": "FIX",
      "url": "https://github.com/jline/jline3/commit/341ee69ccc57b7733c1b40d6993219b64b3206ae"
    },
    {
      "type": "FIX",
      "url": "https://github.com/jline/jline3/pull/2012"
    },
    {
      "type": "FIX",
      "url": "https://github.com/jline/jline3/pull/2018"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "JLine: ReDoS in Nano Editor Regex Search Mode"
}