CVE catalog

CVE-2026-77420

jline3: CVE-2026-77420

[CVE catalog]

Severity
Medium · CVSS 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.18% · Oct 27, 2026

JLine is a Java library for handling console input. From 3.0.0 until 3.30.15 and 4.3.1, DefaultHistory.matchPatterns(String patterns, String line) in reader/src/main/java/org/jline/reader/impl/history/DefaultHistory.java converts the HISTORY_IGNORE configuration value into a Java regular expression while escaping only part of its syntax, allowing other regex metacharacters to reach the backtracking engine. An attacker who can control application or user configuration can supply a nested-quantifier expression that is reevaluated whenever a command is added to history, consuming excessive CPU and indefinitely blocking the reader thread. 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-readerNot 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-readermavenNot reported3.30.15Not reportedGHSA-5Q95-HRPC-M3W3Not 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