cve.bz

CVE-2026-77421 jline jline3

6.5 mediumEPSS 0.4%Fix available

Medium (6.5) in jline jline3. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in org.jline:jline-builtins 3.30.15, 4.3.1.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 38th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-09-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-1333 Inefficient Regular Expression Complexity
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • org.jline:jline-builtins (Maven): fixed in 4.3.1, 3.30.15

Ask an AI about this CVE

Show the promptExplain CVE-2026-77421 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-77421?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-77421?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-77421 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
jline3>= 3.0.0, < 3.30.15
jline3>= 4.0.0, < 4.3.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-ph9c-7hw9-vhhwMavenorg.jline:jline-builtins>=4.0.0 <4.3.14.3.1
GHSA-ph9c-7hw9-vhhwMavenorg.jline:jline-builtins>=3.0.0 <3.30.153.30.15

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14jline3no fix listedDEBIAN-CVE-2026-77421
Ubuntu14.04:LTS, 16.04:LTS, 18.04:LTS and 1 morejline, jline2no fix listedUBUNTU-CVE-2026-77421
Ubuntu22.04:LTS, 24.04:LTS, 26.04:LTS and 1 morejline, jline2, jline3no fix listedUBUNTU-CVE-2026-77421

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat rates this issue as Moderate severity for the following reasons:

Conditions for exploitation: This vulnerability requires an authenticated user to actively type or paste a specially crafted regular expression into the JLine built-in nano editor's search prompt. Unlike a configuration-based attack, the malicious input must be provided interactively during a live editor session. Red Hat's CVSS score reflects this by including UI:R (User Interaction Required), which differs from the upstream CNA score that omits it.

Impact limitations: Successful exploitation results only in a Denial of Service (DoS) through excessive CPU consumption on the editor session thread. There is no impact on data confidentiality or integrity. In single-user scenarios, only the attacker's own session is blocked; in multi-user deployments a worker thread per affected session may be lost, but this does not compromise system-level availability.

Red Hat's mitigation

Do not expose the JLine built-in nano editor to untrusted users. If applications embedding JLine must provide an interactive editor, disable the regex search mode or restrict editor access to authenticated and trusted users only.

ProductPackageStateAdvisory
Red Hat AMQ Broker 7jline-builtinsFix deferred
Red Hat AMQ Broker 7jline-readerFix deferred
Red Hat Fuse 7jline-builtinsOut of support scope
Red Hat Fuse 7jline-readerFix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-spark-operator-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-th06-cpu-torch210-py312-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-th06-cpu-torch291-py312-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-th06-cuda130-torch210-py312-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-th06-cuda130-torch291-py312-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-th06-rocm64-torch291-py312-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-th-torch-cpu-py312-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-th-torch-cuda-py312-rhel9Fix deferred
Red Hat OpenStack Platform 13 (Queens)opendaylightOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-77421.

Attack patterns (CAPEC)

  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON