Security Advisory

CVE-2021-35977: Digi RealPort ADDP Buffer Overflow

Last updated:
  • CVE-2021-35977

CVE-2021-35977 is a buffer overflow in Digi RealPort for Windows, the driver that presents serial ports on Digi device servers as local COM ports. A crafted ADDP discovery response can lead to arbitrary code execution on the Windows host. NVD scores it 9.8; the researcher scored it 8.0 as an adjacent-network attack. Digi fixed it in driver 4.10.490.

Vulnerability summary

CVSS base score

9.8

Critical severity

EPSS score (FIRST)

1.6%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

No

Not listed

Published

Vulnerability ID: CVE-2021-35977 · Source: NVD

Affected components

ComponentCPEVersion range
Digi RealPort software for Windowscpe:2.3:a:digi:realport:*:*:*:*:*:windows:*:*through 4.8.488.0 (NVD); fixed in driver 4.10.490 (Digi notice of 25 August 2023)
Digi RealPort software for Linuxcpe:2.3:a:digi:realport:*:*:*:*:*:linux:*:*through 1.9-40 (NVD); Digi marks 1.9-40 and earlier 'Vulnerable, less critical' with no fixed version named
Digi RealPort devices (ConnectPort TS and LTS, PortServer TS family, Digi One, TransPort WR and others)cpe:2.3:o:digi:portserver_ts_firmware:*:*:*:*:*:*:*:*all versions in NVD's CPE list, taken from the researcher's product list; Digi's notice gives no device firmware fix for this CVE

What does this mean for affected devices?

NVD carries the MITRE-assigned description: in Digi RealPort for Windows through 4.8.488.0, "A buffer overflow exists in the handling of ADDP discovery response messages. This could result in arbitrary code execution." NVD's Primary score is CVSS v3.1 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), with CVSS v2 7.5 and CWE-120, a buffer copy without checking the size of the input. MITRE published the record on 2021-10-08 with no CNA score (NVD, CVE record).

What do the researcher and Digi say?

Reid Wightman's RealPort disclosure, dated 2021-09-28 and last updated 2023-05-08, says RealPort for Windows "is vulnerable to a buffer overrun when parsing response messages during device setup" and scores it CVSS v3 8.0 (AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H): the attacker sits on the local network and a user has to run device setup. It refers to Dragos advisory VA-2021-10 for details. Digi's RealPort notice of 25 August 2023 answers that "This vulnerability was fixed in Windows RealPort driver version 4.10.490."

Product Digi status for CVE-2021-35977
RealPort software for Windows 4.8.488.0 and earlier fixed in 4.10.490
RealPort software for Linux 1.9-40 and earlier "Vulnerable, less critical", no fixed version named

NVD's CPE list also marks the firmware of the ConnectPort TS 8/16 and LTS, the PortServer TS family, Digi One, TransPort WR and other RealPort devices, all versions, following the researcher's product list. Digi's notice lists device firmware fixes only for CVE-2021-36767 and CVE-2023-4299, so for this CVE the fix is the driver update on every Windows host that runs RealPort. NVD's Linux range ends at 1.9-40, while the researcher's 2023 update lists RealPort for Linux 1.9-41 and earlier.

What should owners do?

Update RealPort for Windows to 4.10.490 or later on the engineering workstations and SCADA servers that use it. For hosts and devices that stay in service, CISA's ICSA-23-243-04 for the later RealPort replay flaw CVE-2023-4299 carries Dragos's advice: allow only the workstations that start RealPort sessions to reach the devices on TCP 771, or TCP 1027 when encryption is enabled, and in reverse mode allow only known Digi devices to reach the workstation on those ports. Both ports can be changed, so read the configured value from each device. The same Dragos report produced CVE-2021-35979, the encrypted-mode man-in-the-middle flaw. The Digi and Lantronix gateway and device server guide puts RealPort next to the PortServer and ConnectPort web flaws such as CVE-2021-38412. The memory corruption fix guide covers this class of overflow.

CVE-2021-35977 is not in the CISA KEV catalog as of 2026-11-24 (catalog version 2026.11.23, 1,792 entries). FIRST EPSS gives it 0.01579, the 76.1th percentile, in the 2026-11-23 dataset (CISA KEV, FIRST EPSS).

How to fix this class of issueThis advisory's weakness class is Memory corruption. Our practical guide covers how to detect, fix, verify and disclose it: How to fix memory corruption in embedded firmware.

Evidence

  • NVD (read 2026-11-24): status Modified; published 2021-10-08; NVD Primary CVSS v3.1 9.8 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H and CVSS v2 7.5; CWE-120; CPE RealPort Windows through 4.8.488.0, RealPort Linux through 1.9-40, plus firmware of 19 Digi device families (all versions). — NVD
  • CVE record (checked 2026-11-24): state PUBLISHED, CNA MITRE, published 2021-10-08, no CNA CVSS score, reference to the researcher disclosure. — CVE.org
  • Not in the CISA KEV catalog, catalog version 2026.11.23, 1,792 entries, checked 2026-11-24. — CISA KEV
  • EPSS 0.01579, percentile 0.76140, dataset 2026-11-23, read 2026-11-24. — FIRST EPSS
  • Researcher disclosure dated 28-September-2021, updated 31-December-2021 and 08-May-2023, read 2026-11-24: affected RealPort for Windows 4.10.490 and earlier, RealPort for Linux 1.9-41 and earlier, and Digi device families; CVE-2021-35977 CVSSv3 8.0 AV:A/AC:L/PR:N/UI:R; CVE-2021-35979 CVSSv3 7.5, partially fixed in Windows 4.10.490 and Linux 1.9-41 by certificate pinning; CVE-2021-36767 CVSSv3 9.1, offline bruteforce; refers to Dragos VA-2021-10. — Reid Wightman disclosure
  • Digi customer notice dated 08/25/2023, read 2026-11-24: CVE-2021-35977 and CVE-2021-35979 fixed in Windows RealPort driver 4.10.490 (certificates pinned at first encrypted connection); Linux 1.9-40 and earlier 'Vulnerable, less critical'; CVE-2021-36767 not applicable to DAL 21.11 or newer, ConnectPort TS 8/16 and Connect ES fixed in 2.26.2.4, ConnectPort LTS 8/16/32 1.4.9; fix not feasible for Passport, PortServer TS family, Digi One IAP/IA/SP IA/SP; CM, WR31, WR11 XT, WR44 R, WR21, Connect SP end-of-life without update; 6350-SR and ConnectCore 8X do not contain RealPort. — Digi International
  • CISA ICSA-23-243-04 CSAF (released 2023-08-31), read 2026-11-24: for CVE-2023-4299 Dragos recommends restricting access to Digi devices on TCP/771 (default) or TCP/1027 (default when encryption is enabled) to the workstations that initiate RealPort connections, and in reverse mode restricting the workstation port to known Digi RealPort devices; ports are configurable. — CISA ICSA-23-243-04

Related advisories

Sources

  1. NVD
  2. Digi International: RealPort CVEs customer notice (25 August 2023)
  3. Reid Wightman: Digi RealPort vulnerability disclosure (2021-02)
  4. CISA CSAF: ICSA-23-243-04 Digi RealPort Protocol (machine-readable advisory)
  5. CVE.org record CVE-2021-35977 (CNA: MITRE)
  6. CISA KEV
  7. FIRST EPSS

Frequently asked questions

Which RealPort version fixes CVE-2021-35977?

The Windows RealPort driver 4.10.490, per Digi's RealPort notice of 25 August 2023. Digi marks RealPort for Linux 1.9-40 and earlier as vulnerable, less critical, and names no fixed Linux version.

Why does NVD score it 9.8 when the researcher says 8.0?

NVD scored it as reachable over the network with no user interaction. The researcher scored it as adjacent-network (AV:A) with user interaction (UI:R), because the overflow happens while a user runs device setup and parses discovery responses on the local network.

Do Digi device servers need a firmware update for this CVE?

Digi's notice ties CVE-2021-35977 only to the RealPort host software. NVD's CPE list includes many Digi device families, taken from the researcher's list, but the code that overflows runs on the Windows host, so the driver update is the fix.

Is CVE-2021-35977 in the CISA KEV catalog?

No, not as of 2026-11-24 (catalog version 2026.11.23, 1,792 entries). FIRST EPSS rates it 0.01579 (76.1th percentile) in the 2026-11-23 dataset.