Description
A security flaw has been discovered in mwiede jsch up to 2.28.5. Affected is the function getRevokedKeys of the file src/main/java/com/jcraft/jsch/KnownHosts.java. Performing a manipulation of the argument known_hosts results in improper check for certificate revocation. The attack is possible to be carried out remotely. The attack is considered to have high complexity. The exploitability is told to be difficult. The exploit has been released to the public and may be used for attacks. Upgrading to version 2.28.6 is able to address this issue. The patch is named 194a2f76a5c0f1c3f778565be3fd66bcafc42d23. You should upgrade the affected component.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| mwiede | jsch | 2.28.0, 2.28.1, 2.28.2, 2.28.3, 2.28.4, 2.28.5 | 2.28.6 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | jsch | No fix yet | — |
| Debian 13 | jsch | No fix yet | — |
| Debian 12 | jsch | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | jsch | No fix yet | — |
| Ubuntu 26.04 LTS | jsch | No fix yet | — |
| Ubuntu 24.04 LTS | jsch | No fix yet | — |
| Ubuntu 22.04 LTS | jsch | No fix yet | — |
| Ubuntu 20.04 LTS | jsch | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | jsch | No fix yet | — |
| Ubuntu 16.04 LTS | jsch | No fix yet | — |
| Ubuntu 14.04 LTS | jsch | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | apache-commons-codec | 1.22.0-150200.3.12.1 | SUSE-SU-2026:5017-1 |
| SLES 15 SP7 | apache-commons-io | 2.22.0-150200.3.18.1 | SUSE-SU-2026:5017-1 |
| SLES 15 SP7 | apache-commons-logging | 1.4.0-150200.11.12.1 | SUSE-SU-2026:5017-1 |
| SLES 15 SP7 | glassfish-jsp | 2.3.4-150200.3.7.1 | SUSE-SU-2026:5017-1 |
| SLES 15 SP7 | jsch | 2.28.7-150200.11.19.1 | SUSE-SU-2026:5017-1 |
| SLES 15 SP7 | maven-file-management | 3.2.0-150200.3.10.1 | SUSE-SU-2026:5017-1 |
| SLES 15 SP7 | opentest4j | 1.3.0-150200.3.9.1 | SUSE-SU-2026:5017-1 |
| SLES 15 SP6 | apache-commons-codec | 1.22.0-150200.3.12.1 | SUSE-SU-2026:5017-1 |
| SLES 15 SP6 | apache-commons-io | 2.22.0-150200.3.18.1 | SUSE-SU-2026:5017-1 |
| SLES 15 SP6 | apache-commons-logging | 1.4.0-150200.11.12.1 | SUSE-SU-2026:5017-1 |
| SLES 15 SP6 | jsch | 2.28.7-150200.11.19.1 | SUSE-SU-2026:5017-1 |
| SLES 15 SP6 | maven-file-management | 3.2.0-150200.3.10.1 | SUSE-SU-2026:5017-1 |
| SLES 15 SP6 | opentest4j | 1.3.0-150200.3.9.1 | SUSE-SU-2026:5017-1 |
| SLES 15 SP5 | apache-commons-codec | 1.22.0-150200.3.12.1 | SUSE-SU-2026:5017-1 |
| SLES 15 SP5 | apache-commons-io | 2.22.0-150200.3.18.1 | SUSE-SU-2026:5017-1 |
| SLES 15 SP5 | apache-commons-logging | 1.4.0-150200.11.12.1 | SUSE-SU-2026:5017-1 |
| SLES 15 SP5 | avalon-logkit | 2.1-150200.11.9.1 | SUSE-SU-2026:5017-1 |
| SLES 15 SP5 | jsch | 2.28.7-150200.11.19.1 | SUSE-SU-2026:5017-1 |
| SLES 15 SP5 | maven-file-management | 3.2.0-150200.3.10.1 | SUSE-SU-2026:5017-1 |
| SLES 15 SP5 | opentest4j | 1.3.0-150200.3.9.1 | SUSE-SU-2026:5017-1 |
| SLES 15 SP4 | apache-commons-codec | 1.22.0-150200.3.12.1 | SUSE-SU-2026:5017-1 |
| SLES 15 SP4 | apache-commons-io | 2.22.0-150200.3.18.1 | SUSE-SU-2026:5017-1 |
| SLES 15 SP4 | apache-commons-logging | 1.4.0-150200.11.12.1 | SUSE-SU-2026:5017-1 |
| SLES 15 SP4 | avalon-framework +1 | 4.3-150200.3.9.1 | SUSE-SU-2026:5017-1 |
| SLES 15 SP4 | avalon-logkit | 2.1-150200.11.9.1 | SUSE-SU-2026:5017-1 |
| SLES 15 SP4 | jsch | 2.28.7-150200.11.19.1 | SUSE-SU-2026:5017-1 |
| SLES 15 SP4 | maven-file-management | 3.2.0-150200.3.10.1 | SUSE-SU-2026:5017-1 |
| SLES 15 SP4 | opentest4j | 1.3.0-150200.3.9.1 | SUSE-SU-2026:5017-1 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP6 | apache-commons-codec | 1.22.0-150200.3.12.1 | SUSE-SU-2026:5017-1 |
| SLES for SAP 15 SP6 | apache-commons-io | 2.22.0-150200.3.18.1 | SUSE-SU-2026:5017-1 |
| SLES for SAP 15 SP6 | apache-commons-logging | 1.4.0-150200.11.12.1 | SUSE-SU-2026:5017-1 |
| SLES for SAP 15 SP6 | jsch | 2.28.7-150200.11.19.1 | SUSE-SU-2026:5017-1 |
| SLES for SAP 15 SP6 | maven-file-management | 3.2.0-150200.3.10.1 | SUSE-SU-2026:5017-1 |
| SLES for SAP 15 SP6 | opentest4j | 1.3.0-150200.3.9.1 | SUSE-SU-2026:5017-1 |
| SLES for SAP 15 SP5 | apache-commons-codec | 1.22.0-150200.3.12.1 | SUSE-SU-2026:5017-1 |
| SLES for SAP 15 SP5 | apache-commons-io | 2.22.0-150200.3.18.1 | SUSE-SU-2026:5017-1 |
| SLES for SAP 15 SP5 | apache-commons-logging | 1.4.0-150200.11.12.1 | SUSE-SU-2026:5017-1 |
| SLES for SAP 15 SP5 | avalon-logkit | 2.1-150200.11.9.1 | SUSE-SU-2026:5017-1 |
| SLES for SAP 15 SP5 | jsch | 2.28.7-150200.11.19.1 | SUSE-SU-2026:5017-1 |
| SLES for SAP 15 SP5 | maven-file-management | 3.2.0-150200.3.10.1 | SUSE-SU-2026:5017-1 |
| SLES for SAP 15 SP5 | opentest4j | 1.3.0-150200.3.9.1 | SUSE-SU-2026:5017-1 |
| SLES for SAP 15 SP4 | apache-commons-codec | 1.22.0-150200.3.12.1 | SUSE-SU-2026:5017-1 |
| SLES for SAP 15 SP4 | apache-commons-io | 2.22.0-150200.3.18.1 | SUSE-SU-2026:5017-1 |
| SLES for SAP 15 SP4 | apache-commons-logging | 1.4.0-150200.11.12.1 | SUSE-SU-2026:5017-1 |
| SLES for SAP 15 SP4 | avalon-framework +1 | 4.3-150200.3.9.1 | SUSE-SU-2026:5017-1 |
| SLES for SAP 15 SP4 | avalon-logkit | 2.1-150200.11.9.1 | SUSE-SU-2026:5017-1 |
| SLES for SAP 15 SP4 | jsch | 2.28.7-150200.11.19.1 | SUSE-SU-2026:5017-1 |
| SLES for SAP 15 SP4 | maven-file-management | 3.2.0-150200.3.10.1 | SUSE-SU-2026:5017-1 |
| SLES for SAP 15 SP4 | opentest4j | 1.3.0-150200.3.9.1 | SUSE-SU-2026:5017-1 |
| SLE HPC 15 SP5 | apache-commons-codec | 1.22.0-150200.3.12.1 | SUSE-SU-2026:5017-1 |
| SLE HPC 15 SP5 | apache-commons-io | 2.22.0-150200.3.18.1 | SUSE-SU-2026:5017-1 |
| SLE HPC 15 SP5 | apache-commons-logging | 1.4.0-150200.11.12.1 | SUSE-SU-2026:5017-1 |
| SLE HPC 15 SP5 | avalon-logkit | 2.1-150200.11.9.1 | SUSE-SU-2026:5017-1 |
| SLE HPC 15 SP5 | jsch | 2.28.7-150200.11.19.1 | SUSE-SU-2026:5017-1 |
| SLE HPC 15 SP5 | maven-file-management | 3.2.0-150200.3.10.1 | SUSE-SU-2026:5017-1 |
| SLE HPC 15 SP5 | opentest4j | 1.3.0-150200.3.9.1 | SUSE-SU-2026:5017-1 |
| SLE HPC 15 SP4 | apache-commons-codec | 1.22.0-150200.3.12.1 | SUSE-SU-2026:5017-1 |
| SLE HPC 15 SP4 | apache-commons-io | 2.22.0-150200.3.18.1 | SUSE-SU-2026:5017-1 |
| SLE HPC 15 SP4 | apache-commons-logging | 1.4.0-150200.11.12.1 | SUSE-SU-2026:5017-1 |
| SLE HPC 15 SP4 | avalon-framework +1 | 4.3-150200.3.9.1 | SUSE-SU-2026:5017-1 |
| SLE HPC 15 SP4 | avalon-logkit | 2.1-150200.11.9.1 | SUSE-SU-2026:5017-1 |
| SLE HPC 15 SP4 | jsch | 2.28.7-150200.11.19.1 | SUSE-SU-2026:5017-1 |
| SLE HPC 15 SP4 | maven-file-management | 3.2.0-150200.3.10.1 | SUSE-SU-2026:5017-1 |
| SLE HPC 15 SP4 | opentest4j | 1.3.0-150200.3.9.1 | SUSE-SU-2026:5017-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | jsch | 2.28.7-1.1 | openSUSE-SU-2026:11814-1 |
Advisories 2
- SUSE-SU-2026:5017-1 Security update for apache-commons-codec, apache-commons-io, apache-commons-logging, avalon-framework, avalon-logkit, glassfish-jsp, jsch, maven-file-management, opentest4j SUSE / openSUSE Security Updates · Nov 3, 2026
- openSUSE-SU-2026:11814-1 jsch-2.28.7-1.1 on GA media SUSE / openSUSE Security Updates · Sep 19, 2026
References
- VDB-399388 | mwiede jsch KnownHosts.java getRevokedKeys improper check for certificate revocation vdb-entry technical-description
- VDB-399388 | CTI Indicators (IOB, IOC, TTP, IOA) signature permissions-required
- CVE-2026-86231 | CVE Analysis and Report third-party-advisory
- Submit #898485 | mwiede jsch 2.28.4 Cert Revocation Type String Bypass third-party-advisory
- https://github.com/mwiede/jsch/issues/1091 exploit issue-tracking
- https://github.com/mwiede/jsch/pull/1098 issue-tracking patch
- https://github.com/mwiede/jsch/commit/194a2f76a5c0f1c3f778565be3fd66bcafc42d23 patch
- https://github.com/mwiede/jsch/releases/tag/jsch-2.28.6 patch
- https://github.com/mwiede/jsch/ product