Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2016-5725: Directory traversal vulnerability in JCraft JSch before 0.1.54 on Windows, when the mode is ChannelSftp.OVERWR

55
This week
MEDIUM 5.9REMOTEUPGRADE

CVE-2016-5725 is a medium-severity flaw (CVSS 5.9) affecting jsch. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • EPSS top 2%: very likely to be exploited
  • Public exploit reference
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score5.9 (Medium)
Attack vectorNetwork (remote)
Attack complexityHigh
Privileges neededNone
User interactionNone
EPSS exploit chance24.1% (top 2%)
CISA exploited listNo
WeaknessCWE-22
Published2017-01-19
Last modified2026-06-17
Publisher (CNA): MITRE · Vendor: jcraft

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

jcraft jsch UPGRADE
Affected: <= 0.1.53
Fixed in: newer than 0.1.53
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy jsch || rpm -q jsch || jsch --version
2. UPGRADE to newer than 0.1.53 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade jsch
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade jsch
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2016-5725?

jsch: upgrade to newer than 0.1.53. Exact commands for each OS are on this page.

Is CVE-2016-5725 being exploited?

CVE-2016-5725 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2016-5725 affect?

CVE-2016-5725 affects jsch. Severity is medium (CVSS 5.9). 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

How urgent is CVE-2016-5725?

Priority 55/100. EPSS top 2%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action

Software pages

Windows vulnerabilities

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.