Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain access to EtherCAT fieldbus as master
-
DeliverySend crafted FoE request with length multiple of 256
-
ExploitFilename length truncates to 0 via uint8_t store
-
Executionstrncmp(len=0) always matches in FOE_fopen
-
ImpactRead 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
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).
Primary rating from Vendor (rt-labs).
CVSS VectorVendor: rt-labs
Lifecycle Timeline
1DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Out-of-bounds write in the rt-labs SOES EtherCAT slave stack lets an on-segment EtherCAT master overflow an application-
Out-of-bounds write in the rt-labs SOES EtherCAT slave stack lets an unauthenticated attacker on the same EtherCAT field
Out-of-bounds writes in the rt-labs SOES EtherCAT slave stack occur in the CoE SDO download handler for flexible-length
An out-of-bounds write in the rt-labs SOES EtherCAT slave stack allows an adjacent EtherCAT master to corrupt memory by
NULL pointer dereference and stale-pointer write in rt-labs SOES, the open-source EtherCAT slave stack, let any party ab
Out-of-bounds read in the rt-labs SOES EtherCAT slave stack's File-over-EtherCAT mailbox handler allows an adjacent Ethe
Denial of service in rt-labs SOES EtherCAT slave stacks can be triggered by an adjacent EtherCAT master sending a File-o
A single CANopen-over-EtherCAT (CoE) Service Data Object request for object index 0xFFFF sent to an EtherCAT slave runni
Integer underflow in the rt-labs SOES EtherCAT slave stack lets an adjacent attacker crash or destabilize an EoE-enabled
The SOES open-source EtherCAT slave stack dereferences a NULL function pointer when an integrating application leaves th
Out-of-bounds read in rt-labs SOES can crash an EtherCAT slave when an adjacent master writes 0xFF to the subindex-0 SM-
NULL pointer dereference in the rt-labs SOES EtherCAT slave stack causes a device crash when an EoE (Ethernet-over-Ether
EUVD-2026-132154
GHSA-3fqv-p3h9-8fww
NVD
CVE.org
EPSS
VulDB
Exploit-DB