CVE-2016-5725 JCraft JSch
| Affected software | JCraft JSch |
|---|---|
| Severity | 5.9 Medium CVSS 3.0 2 scores |
| Fixed in | 0.1.54 |
| Weakness | Path traversal (CWE-22) |
| Published | 19 Jan 2017 |
| Updated | 17 Jun 2026 |
Description
Directory traversal vulnerability in JCraft JSch before 0.1.54 on Windows, when the mode is ChannelSftp.OVERWRITE, allows remote SFTP servers to write to arbitrary files via a ..\ (dot dot backslash) in a response to a recursive GET command.
Exploitation status
Working exploit published
A reviewed exploit catalogue lists ready-to-run exploit code for this CVE.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment no assessment published
- Indexed PoC 1 indexed Published artifacts you can open, in Exploit-DB; first seen 2016-09-22.
- EPSS 24% chance in 30 days A model's forecast, not a report of exploitation. Higher than 98% of all scored CVEs.
| Index | Artifact | Stars | First seen |
|---|---|---|---|
| Exploit-DB | JCraft/JSch Java Secure Channel 0.1.53 - Recursive sftp-get Directory Traversal | 2016-09-22 |
Waratek protection
Waratek has a rule that blocks attacks on this vulnerability.
- Protection full
- Action available patch rule
- Review human ARMR file
- Record active
| Decided by | An ARMR patch file on disk for this CVE |
|---|---|
| Finding | CVE has an ARMR patch rule that provides mitigation |
ARMR rule files
1 fileThe rule files Waratek ships for this CVE. Some CVEs need more than one, for example one per affected library or one per ARMR version.
CVE-2016-5725.armr patch rule, ARMR 2.6 added 2019-03-26 updated 2026-03-04How to mitigate CVE-2016-5725
Upgrade JCraft JSch to 0.1.54 or later. Until you can, Waratek RASP blocks exploitation with a rule written for this CVE. It runs inside the Java application, with no code changes.
CVSS
5.9 MEDIUM
v3.0 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
2 metrics
CVSS
5.9 MEDIUM v3.0CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
2 metrics
We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| CVSS 3.0 | 5.9 | MEDIUM | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
NVD | Primary | published |
| CVSS 2.0 | 4.3 | none | AV:N/AC:M/Au:N/C:N/I:P/A:N |
NVD | Primary |
Affected software and releases
Oracle advisories
| Advisory | Type | Quarter | Products Oracle names in its risk matrix |
|---|---|---|---|
| Oracle Critical Patch Update April 2021 ↗ | CPU | 2021-Q2 | Oracle Construction and Engineering / Admin (JCraft JSch) (17.12.0-17.12.10) Oracle JD Edwards / Enterprise Infrastructure SEC (JCraft JSch) (Prior to 9.2.5.0) |
| Oracle Critical Patch Update January 2021 ↗ | CPU | 2021-Q1 | Oracle Fusion Middleware / Install, config, upgrade (JCraft JSch) (11.1.1.9.0, 12.2.1.3.0) |
Oracle components and versions
| Family | Component | Versions, as Oracle lists them | Read as |
|---|---|---|---|
| Oracle Construction and Engineering | Admin (JCraft JSch) | 17.12.0-17.12.10 | |
| Oracle Fusion Middleware | Install, config, upgrade (JCraft JSch) | 11.1.1.9.0, 12.2.1.3.0 | 11.1.1.9.0 · 12.2.1.3.0 |
| Oracle JD Edwards | Enterprise Infrastructure SEC (JCraft JSch) | Prior to 9.2.5.0 |
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
com.jcraft:jsch |
0 | 0.1.54 |
unbounded |
References
Timeline
Timeline
| Published | 2017-01-19 | By the CVE Program. |
|---|---|---|
| ARMR remediation created | 2019-03-26 | Earliest commit adding this CVE's ARMR patch or security rule. |
| ARMR remediation last updated | 2026-03-04 | Most recent commit touching this CVE's ARMR patch or security rule. |
| Last VRT activity | 2026-03-04 | Most recent commit touching this CVE's classification, patch or rule file. |
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |