# CVE-2026-129804: FoE Filename Matching Bypass via Length Truncation

- Severity: Medium 4.2 (CVSS:3.1, scored by rt-labs) `CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-02)
- Published: 2026-11-21T12:03:17.192Z
- Modified: 2026-11-23T21:16:54.903Z
- Weaknesses: CWE-131, CWE-284
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: rt-labs

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

(As written by CVE List.)

## Affected

- RT-Labs AB SOES: before 3.2.1

## References

- <https://docs.rt-labs.com/security/advisories/rrtl-261119-01.html>

## Sources

- CVE List: [CVE-2026-129804](https://www.cve.org/CVERecord?id=CVE-2026-129804), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-129804](https://nvd.nist.gov/vuln/detail/CVE-2026-129804), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-129804 · Whole record: https://cve.day/CVE-2026-129804.json · Rebuilt by cve.day 2026-11-25T22:59:52.519Z
