CVE Feed
7.5 High

jline3 leads to ReDoS in Built-in Less Viewer Search

CVE-2026-77423

Summary The JLine3 built-in less pager compiles user-supplied search patterns directly as Java regular expressions with no sanitization, timeout, or backtracking bound. A malicious pattern such as (a+)+b can trigger catastrophic backtracking and hang the session thread at 100% CPU. In deployments that expose less over Telnet or SSH, this becomes a denial-of-service issue for the affected session and can be used to exhaust a bounded session pool. Details Less.getPattern() in builtins/src/main/java/org/jline/builtins/Less.java compiles the user-controlled search string directly with Pattern.compile(): java private Pattern getPattern(boolean doDisplayPattern) { Pattern compiled = null; String pattern = doDisplayPattern ? displayPattern : pattern; if (pattern != null) { boolean insensitive = ignoreCaseAlways || ignoreCaseCond && pattern.toLowerCase().equals(pattern); compiled = Pattern.compile( "(" + pattern + ")", insensitive ? Pattern.CASEINSENSITIVE | Pattern.UNICODECASE : 0); } return compiled; } The resulting pattern is then applied repeatedly against file content with compiled.matcher(line).find() in the less search path. Because Java's java.util.regex engine is…

Proof-of-concept code is published

Public PoC

Signals come from Exploit-DB, Metasploit, Nuclei and published proof-of-concept repositories. Their absence means nothing was found, not that nothing exists.

Assessment

CVSS
7.5 (v3.1)
Severity
High
EPSS
0.00461% chance of exploitation in the next 30 days
Known exploited
Not listed in CISA KEV
Exploit availability
Public PoC
Published
23 November 2026
Last updated
23 November 2026
Weakness
CWE-1333

CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

At the source

References

Community proofs of concept

No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.

Submit a proof of concept
Before you submit *

Query this programmatically

Agents can read this through the MCP endpoint, or over HTTP:

curl https://cve.zerocrew.in/api/cve/CVE-2026-77423