CVE-2026-70388

Memory Corruption via Integer Underflow in Message Length Validation

Published Oct 26, 2026 CVSS 3.1 · 8.3 High EPSS < 1% KEV · Not listed
Description
SOEM version 2.0.0 and earlier contains vulnerabilities where a malicious device on the network can send specially crafted messages that cause the master to write data outside allocated memory boundaries. The software performs arithmetic on message length values without proper validation, allowing negative or extremely large values to bypass safety checks. This can corrupt memory and potentially allow an attacker to execute arbitrary code on the master system.

Analysis

AI-generated

Technical impact

The vulnerability arises from integer underflow and overflow conditions in the SOEM message length validation routine. An attacker sending a specially crafted packet can cause the master to compute a negative or excessively large length, bypassing bounds checks and writing beyond allocated memory. This memory corruption can overwrite control data and enables arbitrary code execution on the master controller.

Affected Systems

Vulnerable versions are SOEM 2.0.0 and all earlier releases from RT‑Labs AB. Any device running those releases on a network where an untrusted node can communicate with the SOEM master is susceptible. The flaw exists in the core EtherCAT master library distributed by RT‑Labs.

Risk and Exploitability

The CVSS score of 8.3 reflects a high severity, and the lack of an EPSS score indicates no current exploit data are publicly available, though the KEV status is not listed. Based on the description, it is inferred that the attack vector is network-based; control or management traffic from an adversarial device could deliver the crafted message. While the vulnerability is exploitable with sufficient network access, no public proof‑of‑concept is currently known.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a SOEM release 2.1.0 or later that includes bounds and integer checks in the message length handling.
  • Segment the network to restrict physical or logical access to the SOEM master; allow only authenticated and authorized devices to communicate on the EtherCAT domain.
  • Implement rate limiting or message length filtering on the master side, rejecting frames whose length fields fall outside acceptable ranges, as a temporary mitigation while awaiting an official update.

Generated by OpenCVE AI on October 26, 2026 at 09:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Rt-labs Ab
Rt-labs Ab soem
Vendors & Products Rt-labs Ab
Rt-labs Ab soem
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description SOEM version 2.0.0 and earlier contains vulnerabilities where a malicious device on the network can send specially crafted messages that cause the master to write data outside allocated memory boundaries. The software performs arithmetic on message length values without proper validation, allowing negative or extremely large values to bypass safety checks. This can corrupt memory and potentially allow an attacker to execute arbitrary code on the master system.
Title Memory Corruption via Integer Underflow in Message Length Validation
Weaknesses CWE-191
CWE-195
CWE-787
References
Metrics cvssV3_1

{'score': 8.3, 'vector': 'CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H'}

Weaknesses
  • CWE-191

    Integer Underflow (Wrap or Wraparound)

  • CWE-195

    Signed to Unsigned Conversion Error

  • CWE-787

    Out-of-bounds Write

Sources

Status
PUBLISHED
Assigner
ENISA
Published
Updated
Nov 2, 2026, 6:14 PM
Reserved
Aug 4, 2026, 7:41 AM
Status
Awaiting Analysis
Published
Oct 26, 2026, 9:16 AM
Modified
Nov 2, 2026, 7:18 PM