FoE Filename Matching Bypass via Length Truncation
- CVE-2026-129804
- GHSA-3fqv-p3h9-8fww
- EUVD-2026-132154
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.
Text from the CVE.org record.
Recommendation
RT-Labs AB SOES
- If you run a version before 3.2.1update to 3.2.1 or later
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
RT-Labs AB SOES
Affected versions Fixed in before 3.2.1 3.2.1
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.