FoE Filename Matching Bypass via Length Truncation

State
Published
Severity
4.2 Medium
Published
Nov 21, 2026
Updated
Nov 23, 2026
Reserved
Nov 16, 2026

Read the record on cve.org

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.

ProductVersions
SOES RT-Labs ABbefore 3.2.1 Affected

Weaknesses

  • CWE-131 Incorrect Calculation of Buffer Size
  • CWE-284 Improper Access Control

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.