Security Advisory

CVE-2021-38445: OpenDDS RTPS Length Handling Flaw

Last updated:
  • CVE-2021-38445

CVE-2021-38445 is an improper handling of a length parameter inconsistency (CWE-130) in OCI OpenDDS before 3.18.1, which CISA says may allow an attacker to remotely execute arbitrary code. NVD scores it 9.8 and CISA 7.0. OpenDDS 3.18.1, released on 2021-09-24, is the fix CISA names, and it also fixes two amplification flaws.

Vulnerability summary

CVSS base score

9.8

Critical severity

EPSS score (FIRST)

2.7%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

No

Not listed

Published

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

Affected components

ComponentCPEVersion range
OCI OpenDDScpe:2.3:a:objectcomputing:opendds:*:*:*:*:*:*:*:*before 3.18.1 (fixed in 3.18.1, per CISA ICSA-21-315-02)

What does this mean for affected devices?

NVD's description: "OCI OpenDDS versions prior to 3.18.1 do not handle a length parameter consistent with the actual length of the associated data, which may allow an attacker to remotely execute arbitrary code." 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 scored it 7.0 with high attack complexity, AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H, and classed it CWE-130 (NVD).

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". OpenDDS has three CVEs in it, all fixed in 3.18.1: this one, CVE-2021-38429 (network amplification, CWE-406, NVD 9.1) and CVE-2021-38447 (asymmetric resource consumption, CWE-405, NVD 7.5). CISA's remediation: "OCI recommends users update to Version 3.18.1 of OpenDDS or later." The researchers list CVE-2021-38445 under the "malformed RTPS packet" network attack surface, with OpenDDS and ROS 2 in scope (Trend Micro Research).

The OpenDDS 3.18.1 release notes, dated 2021-09-24, do not name the CVEs, but they list the kind of change that closes them: "Input validity check for RTPS Parameters (#2917), sequences (#2944), addresses (#2981, #3016), locators (#3000)", "Fragment reassembly fixes (#2960)" and "Auth resend backs off (more delay over time) (#2937, #2984)". Which pull request closes which CVE is not stated, so treat 3.18.1 as the minimum, as CISA does.

CVE-2021-38445 is not in the CISA KEV catalog as of 2026-11-16 (catalog version 2026.11.13). FIRST EPSS gives it 0.0268, the 86.1st percentile, in the 2026-11-15 dataset (CISA KEV, FIRST EPSS).

OpenDDS is open source, so it is often vendored into a product's own source tree rather than installed as a package, and a version string may not survive the build. Check the firmware SBOM for the OpenDDS version and check that the build is 3.18.1 or later. Our DDS security guide lists the other implementations in the same disclosure and the later OpenDDS parser CVE. CVE-2021-38425 is the matching amplification flaw in Fast DDS.

How to fix this class of issueThis advisory's weakness class is Resource exhaustion. Our practical guide covers how to detect, fix, verify and disclose it: How to fix SQL injection, XSS, resource exhaustion and deserialization flaws in embedded firmware.

Evidence

  • OpenDDS before 3.18.1 length parameter inconsistency; may allow remote code execution; NVD Primary 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H); CISA 7.0 (AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H); CWE-130. — NVD
  • OpenDDS CVE-2021-38445, CVE-2021-38429 (CWE-406) and CVE-2021-38447 (CWE-405); OCI recommends 3.18.1 or later; advisory 2021-11-11, Update A 2022-02-01. — CISA ICS Advisory ICSA-21-315-02
  • OpenDDS 3.18.1 released 2021-09-24; notes list input validity checks (#2917, #2944, #2981, #3016, #3000), fragment reassembly fixes (#2960), auth resend back-off (#2937, #2984); no CVE IDs named. — OpenDDS 3.18.1 release
  • CVE-2021-38445 under malformed RTPS packet, scope OpenDDS, ROS 2. — Trend Micro Research, 2022-04-19
  • Not in the CISA KEV catalog as of 2026-11-16 (catalog version 2026.11.13). — CISA KEV
  • EPSS 0.0268 (86.1st 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. OpenDDS 3.18.1 release notes
  5. Trend Micro Research: Critically Underrated: Studying the Data Distribution Service (DDS) Protocol
  6. CISA KEV
  7. FIRST EPSS

Frequently asked questions

Which OpenDDS version fixes CVE-2021-38445?

OpenDDS 3.18.1, released on 2021-09-24. CISA's advisory recommends 3.18.1 or later (per CISA ICSA-21-315-02 and the OpenDDS release notes).

Can CVE-2021-38445 lead to remote code execution?

CISA's description says it may allow an attacker to remotely execute arbitrary code. CISA still rates attack complexity high, which is why its score is 7.0 while NVD's is 9.8 (per NVD).

Are there other OpenDDS CVEs in the same advisory?

Yes. CVE-2021-38429 (network amplification) and CVE-2021-38447 (asymmetric resource consumption) were disclosed in ICSA-21-315-02 and are also fixed in 3.18.1 (per CISA ICSA-21-315-02).

Is CVE-2021-38445 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.0268, the 86.1st percentile, in the 2026-11-15 dataset (per CISA KEV and FIRST EPSS).