Skip to content
Fencer Intel
medium 5.3

CVE-2018-10916 json

It has been discovered that lftp up to and including version 4.8.3 does not properly sanitize remote file names, leading to a loss of integ…

published 8y ago modified 4mo ago also EUVD-2018-2971

cvss
5.3
version 3.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
4.8%
EPSS 4.8% chance of exploitation in 30 days, percentile 91%
public exploits
0
none known

Summary

It has been discovered that lftp up to and including version 4.8.3 does not properly sanitize remote file names, leading to a loss of integrity on the local system when reverse mirroring is used. A remote attacker may trick a user to use reverse mirroring on an attacker controlled FTP server, resulting in the removal of all files in the current working directory of the victim's system.

Patch / fix

  • lftp Debian 14, Debian 13, Debian 12 4.8.4-1

debian advisories DEBIAN-CVE-2018-10916

  • lftp Ubuntu 14.04 LTS 4.4.13-1ubuntu0.1
  • lftp Ubuntu 16.04 LTS 4.6.3a-1ubuntu0.1
  • lftp Ubuntu 18.04 LTS 4.8.1-1ubuntu0.1

ubuntu advisories UBUNTU-CVE-2018-10916

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • lftp RHEL 7 4.4.8-12.el7
  • lftp-scripts RHEL 7 4.4.8-12.el7

red hat advisories RHSA-2020:1045

  • lftp SLE Module for Basesystem 15 4.8.3-4.3.1
  • lftp SLES for SAP 12 SP4, SLES for SAP 12 SP3, SLES 12 SP4 +3 more 4.7.4-3.6.1

suse advisories SUSE-SU-2019:0643-1SUSE-SU-2019:0642-1

  • lftp openSUSE Tumbleweed 4.9.2-1.7
  • lftp openSUSE Leap 15.0 4.8.3-lp150.3.3.1

opensuse advisories openSUSE-SU-2024:10915-1openSUSE-SU-2019:1110-1

  • lftp Alpine 3.24, Alpine 3.23, Alpine 3.22 +13 more 4.8.4-r0

alpine advisories ALPINE-CVE-2018-10916

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Is CVE-2018-10916 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-10916 updated cvss 5.3

lftp: particular remote file names may lead to current working directory erased

  • Red Hat Enterprise Linux 6 lftp, lftp-scripts
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux Client (v. 7) lftp 4.4.8-12.el7 Red Hat Enterprise Linux Client Optional (v. 7) lftp-scripts 4.4.8-12.el7 Red Hat Enterprise Linux ComputeNode (v. 7) lftp 4.4.8-12.el7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) lftp-scripts 4.4.8-12.el7 Red Hat Enterprise Linux Server (v. 7) lftp 4.4.8-12.el7 Red Hat Enterprise Linux Server Optional (v. 7) lftp-scripts 4.4.8-12.el7
    +2 more products
    Red Hat Enterprise Linux Workstation (v. 7) lftp 4.4.8-12.el7 Red Hat Enterprise Linux Workstation Optional (v. 7) lftp-scripts 4.4.8-12.el7
    fixed: vendor fix RHSA-2020:1045
  • Red Hat Enterprise Linux 5 lftp Red Hat Enterprise Linux 8 lftp, lftp-scripts
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

4.78% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • github.com https://github.com/lavv17/lftp/issues/452 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.0 5.3 CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
NVD 3.0 6.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
NVD 2.0 7.8 AV:N/AC:M/Au:N/C:N/I:P/A:C

Affected products

  • [UNKNOWN] lftp

Classification

Weakness
  • CWE-20 Improper Input Validation

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.