ADVISORIES

Vulnerability

CVE-2021-21404

Syncthing is a continuous file synchronization program. In Syncthing before version 1.15.0, the relay server `strelaysrv` can be caused to crash and exit by sending a relay message with a negative length field. Similarly, Syncthing itself can crash for the same reason if given a malformed message from a malicious relay server when attempting to join the relay. Relay joins are essentially random (from a subset of low latency relays) and Syncthing will by default restart when crashing, at which point it's likely to pick another non-malicious relay. This flaw is fixed in version 1.15.0.

9 advisories report this vulnerability, across 6 ecosystems.

Advisories

  • ALPINE-CVE-2021-21404

    Syncthing is a continuous file synchronization program. In Syncthing before version 1.15.0, the relay server `strelaysrv` can be caused to crash and exit by sending a relay message with a negative length field.…

    CVE-2021-21404 Alpine Updated 3 November 2026
  • ALPINE-EDGE-CVE-2021-21404
    CVE-2021-21404 Alpine Updated 18 November 2026
  • DEBIAN-CVE-2021-21404

    Syncthing is a continuous file synchronization program. In Syncthing before version 1.15.0, the relay server `strelaysrv` can be caused to crash and exit by sending a relay message with a negative length field.…

    CVE-2021-21404 Debian Updated 23 October 2026
  • GHSA-x462-89pf-6r5h

    Crash due to malformed relay protocol message

    Low CVE-2021-21404 Go Updated 8 July 2026
  • GO-2022-0888

    Crash due to malformed relay protocol message in github.com/syncthing/syncthing

    CVE-2021-21404 Go Updated 3 March 2026
  • UBUNTU-CVE-2021-21404

    Syncthing is a continuous file synchronization program. In Syncthing before version 1.15.0, the relay server `strelaysrv` can be caused to crash and exit by sending a relay message with a negative length field.…

    CVE-2021-21404 Ubuntu Updated 17 October 2026
  • openSUSE-SU-2021:0688-1

    Security update for syncthing

    CVE-2021-21404 openSUSE Updated 4 February 2026
  • openSUSE-SU-2021:0713-1

    Security update for syncthing

    CVE-2021-21404 SUSE Updated 4 February 2026
  • openSUSE-SU-2024:11417-1

    syncthing-1.18.2-2.1 on GA media

    CVE-2021-21404 openSUSE Updated 4 February 2026

References