CVE-2018-5764: High severity Samba rsync vulnerability

Published Jan 17, 2018
·
Updated

Last updated 25 August 2025

Other sources

The parsearguments function in options.c in rsyncd in rsync before 3.1.3 does not prevent multiple --protect-args uses, which allows remote attackers to bypass an argument-sanitization protection mechanism.

MITRE

Affected Software

8 affected componentsFixes available
Samba rsync<3.1.3
Debian Debian Linux=7.0
Debian Debian Linux=8.0
Debian Debian Linux=9.0
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=17.10
debian/rsync
3.2.3-4+deb11u13.2.3-4+deb11u43.2.7-1+deb12u63.2.7-1+deb12u53.4.1+ds1-5+deb13u43.4.1+ds1-5+deb13u33.4.4+ds1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/rsync to a version that resolves this vulnerability.

    Fixed in 3.2.3-4+deb11u1Fixed in 3.2.3-4+deb11u4Fixed in 3.2.7-1+deb12u6Fixed in 3.2.7-1+deb12u5Fixed in 3.4.1+ds1-5+deb13u4Fixed in 3.4.1+ds1-5+deb13u3Fixed in 3.4.4+ds1-1
  2. Upgrade

    Upgrade rsync/rsyncd to a version that resolves this vulnerability.

    Fixed in 3.1.3

Event History

Jan 17, 2018
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
Description
Data Sourced
via NVD·10:29 PM
DescriptionSeverityAffected Software
Feb 19, 2026
Data Sourced
via Ubuntu·09:44 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·09:44 PM
Description
Jul 16, 2026
Data Sourced
via Debian·11:14 AM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2018-5764?

CVE-2018-5764 is a vulnerability in the rsync software before version 3.1.3 that allows remote attackers to bypass an argument-sanitization protection mechanism by using multiple --protect-args options.

2

What software is affected by CVE-2018-5764?

CVE-2018-5764 affects Samba Rsync, Debian Debian Linux versions 7.0, 8.0, and 9.0, and Canonical Ubuntu Linux versions 14.04, 16.04, and 17.10.

3

What is the severity of CVE-2018-5764?

The severity of CVE-2018-5764 is high, with a CVSS score of 7.5.

4

How can I fix CVE-2018-5764?

To fix CVE-2018-5764, update rsync to version 3.1.3 or higher.

5

Where can I find more information about CVE-2018-5764?

You can find more information about CVE-2018-5764 at the following references: [SecurityFocus](http://www.securityfocus.com/bid/102803), [SecurityTracker](http://www.securitytracker.com/id/1040276), [Samba Rsync News](https://download.samba.org/pub/rsync/src-previews/rsync-3.1.3pre1-NEWS).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203