CVE-2026-129804
FoE Filename Matching Bypass via Length Truncation
Medium · 4.2Fix available
- CVSS
- 4.2
- EPSS
- 0.18% (p4)
- Published
- 2026-11-21
- Age
- 8d old
- Modified
- 2026-11-23
- Product
- RT-Labs AB SOES
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Description
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.
Fixed in
3.2.1
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | SOES | >=0, <3.2.1 | 3.2.1 |