CVE-2026-129804

FoE Filename Matching Bypass via Length Truncation

Medium published · updated

4.2
CVSS score out of 10 · NVD (4b71179a-3b92-4a9d-b9fc-af8b8ed579ee)

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
soes rt-labs ab 0 → <3.2.13.2.1 CVE.org

References