CVE catalog

CVE-2026-77422

jline3: CVE-2026-77422

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.60% · Oct 25, 2026

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 grep command in builtins/src/main/java/org/jline/builtins/PosixCommands.java accepts a user-controlled regular expression in grep(...) and, unless line-regexp mode is used, automatically adds a dot-star prefix and suffix before compiling it with Java's backtracking regular expression engine. The wrapping expands the backtracking search space, so a short nested-quantifier expression evaluated against non-matching input can consume excessive CPU and indefinitely block a command worker, including in remotely exposed shell sessions. This issue is fixed in versions 3.30.15 and 4.3.1.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianjlinesid1.0-3not affected
Debianjlineforky1.0-3not affected
Debianjlinetrixie1.0-3not affected
Debianjlinebookworm1.0-3not affected
Debianjline2sid2.14.6-6not affected
Debianjline2forky2.14.6-6not affected
Debianjline2trixie2.14.6-6not affected
Debianjline2bookworm2.14.6-5not affected
Debianjline3sid3.3.1-5vulnerable
Debianjline3forky3.3.1-5vulnerable
Debianjline3trixie3.3.1-4vulnerable
Debianjline3bookworm3.3.1-3vulnerable
Mavenorg.jline:jline-builtinsNot reported3.30.15fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
DebianjlinesourcesidNot affectedunimportantNot reportedNot reported
DebianjlinesourceforkyNot affectedunimportantNot reportedNot reported
DebianjlinesourcetrixieNot affectedunimportantNot reportedNot reported
DebianjlinesourcebookwormNot affectedunimportantNot reportedNot reported
Debianjline2sourcesidNot affectedunimportantNot reportedNot reported
Debianjline2sourceforkyNot affectedunimportantNot reportedNot reported
Debianjline2sourcetrixieNot affectedunimportantNot reportedNot reported
Debianjline2sourcebookwormNot affectedunimportantNot reportedNot reported
Debianjline3sourcesid(unfixed)unimportantNot reportedNot reported
Debianjline3sourceforky(unfixed)unimportantNot reportedNot reported
Debianjline3sourcetrixie(unfixed)unimportantNot reportedNot reported
Debianjline3sourcebookworm(unfixed)unimportantNot reportedNot reported
Mavenorg.jline:jline-builtinsmavenNot reported3.30.15Not reportedGHSA-R2XF-8XR9-62GWNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libjline3-java]Affected

    Source package: [jline3]

    Details (2)
    • 3.3.1-3 · all · bookworm

      Affected

      dsa · jline3 · debian · bookworm; dsa · jline3 · debian · 12

    • 3.3.1-3 · all · bookworm

      Affected

      dsa · jline3 · debian · bookworm; dsa · jline3 · debian · 12

  • [libjline2-java]Not affected

    Source package: [jline2]

    Details (2)
    • 2.14.6-5 · all · bookworm

      Not affected

      dsa · jline2 · debian · bookworm

    • 2.14.6-5 · all · bookworm

      Not affected

      dsa · jline2 · debian · bookworm

  • [libjline-java]Not affected

    Source package: [jline]

    Details (2)
    • 1.0-3 · all · bookworm

      Not affected

      dsa · jline · debian · bookworm

    • 1.0-3 · all · bookworm

      Not affected

      dsa · jline · debian · bookworm

  • [libjline-java-doc]Not affected

    Source package: [jline]

    Details (2)
    • 1.0-3 · all · bookworm

      Not affected

      dsa · jline · debian · bookworm

    • 1.0-3 · all · bookworm

      Not affected

      dsa · jline · debian · bookworm

[Debian 13 (Trixie)]

  • [libjline3-java]Affected

    Source package: [jline3]

    Details (2)
    • 3.3.1-4 · all · trixie

      Affected

      dsa · jline3 · debian · 13

    • 3.3.1-4 · all · trixie

      Affected

      dsa · jline3 · debian · 13

Observed:

References