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.
History

Mon, 23 Nov 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sat, 21 Nov 2026 22:15:00 +0000

Type Values Removed Values Added
First Time appeared Rt-labs Ab
Rt-labs Ab soes
Vendors & Products Rt-labs Ab
Rt-labs Ab soes

Sat, 21 Nov 2026 12:30:00 +0000

Type Values Removed Values Added
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.
Title FoE Filename Matching Bypass via Length Truncation
Weaknesses CWE-131
CWE-284
References
Metrics cvssV3_1

{'score': 4.2, 'vector': 'CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: rt-labs

Published: 2026-11-21T12:03:17.192Z

Updated: 2026-11-23T20:25:23.180Z

Reserved: 2026-11-16T11:16:49.875Z

Link: CVE-2026-129804

cve-icon Vulnrichment

Updated: 2026-11-23T20:25:18.258Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-11-21T13:16:40.010

Modified: 2026-11-23T21:16:54.903

Link: CVE-2026-129804

cve-icon Redhat

No data.