DEBIAN-CVE-2026-77422
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.
DEBIAN-CVE-2026-77422
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:DEBIAN-CVE-2026-77422
jline3
Source reference: /affected/0/package/name
- Affected versions
- 3.3.1-3
Source reference:
/affected/0/versions3.3.1-4Source reference:
/affected/0/versions3.3.1-5Source reference:
/affected/0/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
jline3
Source reference: /affected/1/package/name
- Affected versions
- 3.3.1-4
Source reference:
/affected/1/versions3.3.1-5Source reference:
/affected/1/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
jline3
Source reference: /affected/2/package/name
- Affected versions
- 3.3.1-4
Source reference:
/affected/2/versions3.3.1-5Source reference:
/affected/2/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jline3",
"purl": "pkg:deb/debian/jline3?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"3.3.1-3",
"3.3.1-4",
"3.3.1-5"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-77422.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jline3",
"purl": "pkg:deb/debian/jline3?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"3.3.1-4",
"3.3.1-5"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-77422.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jline3",
"purl": "pkg:deb/debian/jline3?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"3.3.1-4",
"3.3.1-5"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-77422.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #59402 · Revision 1
- Added to Heist Feed
- Publisher date