Skip to main content

rt-labs SOES CVE-2026-129804

| EUVDEUVD-2026-132154 MEDIUM
Incorrect Calculation of Buffer Size (CWE-131)
2026-11-21 rt-labs GHSA-3fqv-p3h9-8fww
4.2
CVSS 3.1 · Vendor: rt-labs
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain access to EtherCAT fieldbus as master
  2. Delivery
    Send crafted FoE request with length multiple of 256
  3. Exploit
    Filename length truncates to 0 via uint8_t store
  4. Execution
    strncmp(len=0) always matches in FOE_fopen
  5. Impact
    Read or overwrite first password-0 file

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer size calculation
Exploitation Conditions

Exploitation requires FoE (File over EtherCAT) to be in use on a SOES-based slave and the attacker to reach the device over the adjacent EtherCAT fieldbus as the master (AV:A). The attacker must craft the mailbox length so that (mbxheader.length - ESC_FOEHSIZE) is an exact multiple of 256, or set the mailbox length equal to ESC_FOEHSIZE, to force the truncated filename length to 0. Exploitation is further gated (AC:H) by the requirement that a file with password 0 is registered on the slave - this is the file that gets opened, and it is determined by device configuration, not the attacker. Limiting factors: no remote/network reach beyond the fieldbus segment, dependence on a password-0 file existing, and impact confined to whichever file that happens to be.

Impact

This is a genuinely low-to-moderate priority issue despite the file-access impact. The CVSS 3.1 score of 4.2 (MEDIUM) is internally consistent: AV:A limits the attacker to the adjacent EtherCAT fieldbus segment (an attacker already positioned as, or able to impersonate, the EtherCAT master), AC:H reflects that exploitation depends on a condition the attacker does not fully control - namely that a file with password 0 is registered, as the description states the 'first registered file whose password is 0 is opened' - and C:L/I:L/A:N captures that only limited read/write of an unintended file results, with no availability impact. No EPSS score, KEV listing, or POC is present in the input, so the exploitation signals all point the same direction rather than conflicting. The vuln.today decision label is 'this_month', consistent with a real but non-urgent defect. The only source is a single rt-labs vendor advisory; there is no independent corroboration of affected versions or a fixed release in the provided data, so remediation scoping cannot be confirmed here.

Exploit ScenarioDerived

An attacker with access to the EtherCAT fieldbus, acting as or spoofing the master, sends a FoE (File over EtherCAT) read or write request whose mailbox length is crafted so that (mbxheader.length - ESC_FOEHSIZE) is a multiple of 256 - or exactly equal to ESC_FOEHSIZE - causing the stored filename length to truncate to 0. FOE_fopen then calls strncmp with length 0, which always matches, so the slave opens the first registered file whose password is 0 regardless of the filename requested, letting the attacker read or overwrite that file instead of the intended one. No public exploit identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 21, 2026

rt-labs SOES mishandles the filename length in its FoE (File over EtherCAT) read/write handlers, allowing an EtherCAT master on the adjacent fieldbus segment to open a registered file it did not name. Because FOE_read and FOE_write store the length in a uint8_t, a mailbox length that is an exact multiple of 256 bytes past ESC_FOEHSIZE - or a length exactly equal to ESC_FOEHSIZE - yields a computed filename length of 0, and the subsequent strncmp comparison always reports a match, so the first registered file with password 0 is opened regardless of the requested name. The result is limited disclosure and possible modification of whichever single file happens to be registered with a password of 0; the assessed severity is CVSS 4.2 (AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N), exploitation is gated by FoE being enabled and such a file existing on the device, and no public exploit has been identified at time of analysis. Vendor tracking is via advisory rrtl-261119-01 and the issue is classified as a this-month priority.

RemediationAI

No vendor-released patch or fixed version is identified in the available data for CVE-2026-129804; check the rt-labs advisory at https://docs.rt-labs.com/security/advisories/rrtl-261119-01.html for the current fix status and version guidance before upgrading. Because the defect sits in the FoE filename-length handling, the most direct compensating control is to disable FoE file transfer on SOES-based slaves that do not need it, accepting that firmware/file updates over EtherCAT then require an alternative path. Where FoE must remain enabled, review the slave's registered file table and avoid registering entries with a password of 0, since the bypassed name check always resolves to the first such entry - the trade-off is that any password-0 file already provisioned by design must be re-provisioned with a non-zero password and master tools updated accordingly. Because the assessed vector requires the attacker to be positioned as the EtherCAT master on the adjacent fieldbus segment (AV:A), segmenting and physically protecting the fieldbus is a further constraint on exposure, though it does not remediate the flaw itself.

Affected VersionsENISA

SOES 0 <3.2.1

Affected Packages

euvd soes fix: 3.2.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

SOES is an open-source Simple Open EtherCAT Slave stack from rt-labs that implements the slave side of the EtherCAT mailbox protocols, including FoE used for firmware and file transfer. The affected code is the FoE mailbox handler pair FOE_read and FOE_write, which derive a filename length from the incoming mailbox header by subtracting the fixed ESC_FOEHSIZE from mbxheader.length before passing it to FOE_fopen and then into a strncmp name comparison. The computed length is held in a uint8_t, so it is reduced modulo 256, and a value of 256, 512 and so on collapses to 0; a mailbox length exactly equal to ESC_FOEHSIZE produces 0 without any truncation at all. Since strncmp with a count of 0 compares nothing and returns equality, the name check is bypassed entirely and the lookup falls through to the first registered file entry whose password field is 0. The underlying weakness is best mapped to CWE-131 (incorrect calculation of numeric/length values rather than a buffer overflow), producing a logically incorrect name match rather than memory corruption. Attack reach is confined to the EtherCAT fieldbus segment (AV:A), the attacker does not control which file is registered with password 0, and the CVSS high-attack-complexity metric reflects that configuration dependence rather than any timing or race condition - the sources do not describe any additional trigger conditions beyond the crafted mailbox length and the pre-existing password-0 registration.

Know when Soes gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (rt-labs) PRIMARY 4.2 MEDIUM
AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
vuln.today AI 4.2 MEDIUM

Attacker must sit on the EtherCAT bus (AV:A) and rely on a registered password-0 file existing (AC:H); FoE needs no auth (PR:N); impact is limited read and write of one unintended file (C:L/I:L/A:N).

3.1 AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
4.0 AV:A/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (rt-labs).

CVSS VectorVendor: rt-labs

Attack Vector
Adjacent
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

1
Patch available
Nov 21, 2026 - 14:01 EUVD

DescriptionCVE.org

FOE_read and FOE_write store the filename length as uint8_t, truncating it modulo 256. When (mbxheader.length - ESC_FOEHSIZE) is a multiple of 256, the length becomes 0. Additionally, a request whose mailbox length equals ESC_FOEHSIZE exactly also produces a length of 0 without any truncation. In both cases FOE_fopen calls strncmp with a length of 0, which always returns equal, so the first registered file whose password is 0 is opened regardless of the filename the master sent.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Low
SOES is a niche open-source EtherCAT slave stack for industrial devices
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Controlled
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

21
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +21
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Soes

View all
CVE-2026-129794 HIGH
8.8 Nov 21

Out-of-bounds write in the rt-labs SOES EtherCAT slave stack lets an on-segment EtherCAT master overflow an application-

CVE-2026-129798 HIGH
8.8 Nov 21

Out-of-bounds write in the rt-labs SOES EtherCAT slave stack lets an unauthenticated attacker on the same EtherCAT field

CVE-2026-129796 HIGH
8.8 Nov 21

Out-of-bounds writes in the rt-labs SOES EtherCAT slave stack occur in the CoE SDO download handler for flexible-length

CVE-2026-129811 HIGH
8.8 Nov 21

An out-of-bounds write in the rt-labs SOES EtherCAT slave stack allows an adjacent EtherCAT master to corrupt memory by

CVE-2026-129797 HIGH
8.8 Nov 21

NULL pointer dereference and stale-pointer write in rt-labs SOES, the open-source EtherCAT slave stack, let any party ab

CVE-2026-129801 HIGH
7.1 Nov 21

Out-of-bounds read in the rt-labs SOES EtherCAT slave stack's File-over-EtherCAT mailbox handler allows an adjacent Ethe

CVE-2026-129807 MEDIUM
6.5 Nov 21

Denial of service in rt-labs SOES EtherCAT slave stacks can be triggered by an adjacent EtherCAT master sending a File-o

CVE-2026-129799 MEDIUM
6.5 Nov 21

A single CANopen-over-EtherCAT (CoE) Service Data Object request for object index 0xFFFF sent to an EtherCAT slave runni

CVE-2026-129795 MEDIUM
6.5 Nov 21

Integer underflow in the rt-labs SOES EtherCAT slave stack lets an adjacent attacker crash or destabilize an EoE-enabled

CVE-2026-129808 MEDIUM
6.5 Nov 21

The SOES open-source EtherCAT slave stack dereferences a NULL function pointer when an integrating application leaves th

CVE-2026-129800 MEDIUM
6.5 Nov 21

Out-of-bounds read in rt-labs SOES can crash an EtherCAT slave when an adjacent master writes 0xFF to the subindex-0 SM-

CVE-2026-129810 MEDIUM
5.3 Nov 21

NULL pointer dereference in the rt-labs SOES EtherCAT slave stack causes a device crash when an EoE (Ethernet-over-Ether

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy