Security Advisory

CVE-2021-38441: Cyclone DDS XML Parser Write-What-Where

Last updated:
  • CVE-2021-38441

CVE-2021-38441 is a write-what-where condition (CWE-123) in the XML parser of Eclipse Cyclone DDS before 0.8.0 that may let an attacker write arbitrary values. NVD scores it 9.8 as a network attack, while CISA's advisory ICSA-21-315-02 scores it 6.6 with a local vector. Cyclone DDS 0.8.0, released on 2021-09-15, is the fixed version.

Vulnerability summary

CVSS base score

9.8

Critical severity

EPSS score (FIRST)

2.1%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

No

Not listed

Published

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

Affected components

ComponentCPEVersion range
Eclipse Cyclone DDScpe:2.3:a:eclipse:cyclonedds:*:*:*:*:*:*:*:*before 0.8.0 (0.8.0 released 2021-09-15)

What does this mean for affected devices?

NVD's description: "Eclipse CycloneDDS versions prior to 0.8.0 are vulnerable to a write-what-where condition, which may allow an attacker to write arbitrary values in the XML parser." NVD's Primary score is 9.8, CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. CISA's own score is 6.6, AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H, local access with low privileges, and it classes the bug CWE-123 (NVD). The gap matters for triage: a scanner that sorts by NVD score puts this above most network parser bugs.

The researchers' write-up explains the local vector. It files CVE-2021-38441 and its sibling CVE-2021-38443 (CWE-228, improper handling of an invalid structure) under the "configuration XML file" attack surface, mapped to ATT&CK for ICS supply chain compromise, module firmware and project file infection. Bugs on that surface "can be abused to affect the DDS developer or system integrator, potentially compromising the integrity of the software supply chain." Cyclone DDS takes its XML configuration from the location the CYCLONEDDS_URI environment variable points to (Cyclone DDS README), so whoever controls that file or variable controls the parser input.

CISA's ICS advisory ICSA-21-315-02, first published on 2021-11-11 and updated on 2022-02-01, covers 13 CVEs in six DDS implementations and marks critical infrastructure sectors as "Multiple" and deployment as "Worldwide". For Cyclone DDS it lists versions before 0.8.0 and says "Eclipse recommends users apply the latest CycloneDDS patches." Cyclone DDS 0.8.0 was released on 2021-09-15; its notes describe a rewritten C IDL compiler and other features but do not mention the CVEs. Cyclone DDS ships in robot firmware: the NVD record for CVE-2026-27509 names a CycloneDDS topic in Unitree Go2 firmware (NVD), though that record does not give the Cyclone DDS version.

CVE-2021-38441 is not in the CISA KEV catalog as of 2026-11-16 (catalog version 2026.11.13). FIRST EPSS gives it 0.0215, the 82.4th percentile, in the 2026-11-15 dataset (CISA KEV, FIRST EPSS).

In a device, treat the Cyclone DDS configuration file as code: ship it read-only, sign it with the firmware image, and do not let a field technician or an update script set CYCLONEDDS_URI to a writable path. Read the Cyclone DDS version from the firmware SBOM and move to a supported release. Our DDS security guide covers the governance and permissions XML documents that DDS Security adds. CVE-2021-38435 is a Connext parser flaw from the same disclosure.

How to fix this class of issueNo dedicated SoftWSP guide covers this weakness class; the fix is usually the vendor patch or firmware update referenced above. Our related guide explains how to plan and verify it: NIST SP 800-40 Rev. 4: enterprise patch management planning, explained.

Evidence

  • Cyclone DDS before 0.8.0 write-what-where in XML parser; NVD Primary 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H); CISA 6.6 (AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H); CWE-123. — NVD
  • CVE-2021-38441 and CVE-2021-38443 under configuration XML file attack surface; ATT&CK for ICS T0862, T0839, T0873; configuration bugs can affect developer or integrator and the software supply chain. — Trend Micro Research, 2022-04-19
  • XML configuration is loaded from the file CYCLONEDDS_URI points to. — Cyclone DDS README
  • Cyclone DDS before 0.8.0 listed; Eclipse recommends latest patches; advisory 2021-11-11, Update A 2022-02-01. — CISA ICS Advisory ICSA-21-315-02
  • Cyclone DDS 0.8.0 (Réplique) released 2021-09-15; notes do not mention CVEs. — Cyclone DDS 0.8.0 release
  • Unitree Go2 firmware uses an Eclipse CycloneDDS topic (rt/api/programming_actuator/request). — NVD CVE-2026-27509
  • Not in the CISA KEV catalog as of 2026-11-16 (catalog version 2026.11.13). — CISA KEV
  • EPSS 0.02146 (82.4th percentile), dataset 2026-11-15, read 2026-11-16. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. CISA ICS Advisory ICSA-21-315-02: Multiple Data Distribution Service (DDS) Implementations
  3. CISA CSAF record for ICSA-21-315-02 (revision 2, 2022-02-01)
  4. Trend Micro Research: Critically Underrated: Studying the Data Distribution Service (DDS) Protocol
  5. Eclipse Cyclone DDS 0.8.0 release
  6. Eclipse Cyclone DDS README (CYCLONEDDS_URI configuration)
  7. NVD: CVE-2026-27509 (Unitree Go2, CycloneDDS topic)
  8. CISA KEV
  9. FIRST EPSS

Frequently asked questions

Is CVE-2021-38441 remotely exploitable?

NVD scores it with a network vector (9.8); CISA scores it with a local vector and low privileges (6.6). The researchers place it on the configuration XML file attack surface, so the attacker needs to control the configuration the parser reads (per NVD and Trend Micro Research).

Which Cyclone DDS version fixes CVE-2021-38441?

Version 0.8.0, released on 2021-09-15. CISA's advisory lists versions before 0.8.0 as affected (per CISA ICSA-21-315-02 and the Cyclone DDS release).

What is the related CVE-2021-38443?

A second Cyclone DDS XML parser flaw from the same disclosure: improper handling of a syntactically invalid structure (CWE-228), also fixed in 0.8.0 (per CISA ICSA-21-315-02).

Is CVE-2021-38441 exploited in the wild?

It is not in the CISA KEV catalog as of 2026-11-16 (catalog version 2026.11.13). FIRST EPSS gives it 0.0215, the 82.4th percentile, in the 2026-11-15 dataset (per CISA KEV and FIRST EPSS).