# CVE-2022-39343: Azure RTOS FileX vulnerable to Buffer Offerflow

- Severity: Medium 5.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`
- 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): 1.09%, higher than 66% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-11-08T00:00:00.000Z
- Modified: 2026-06-17T04:58:10.787Z
- Weaknesses: CWE-120, CWE-190, CWE-191
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Azure RTOS FileX is a FAT-compatible file system that’s fully integrated with Azure RTOS ThreadX. In versions before 6.2.0, the Fault Tolerant feature of Azure RTOS FileX includes integer under and overflows which may be exploited to achieve buffer overflow and modify memory contents. When a valid log file with correct ID and checksum is detected by the `_fx_fault_tolerant_enable` function an attempt to recover the previous failed write operation is taken by call of `_fx_fault_tolerant_apply_logs`. This function iterates through the log entries and performs required recovery operations. When properly crafted a log including entries of type `FX_FAULT_TOLERANT_DIR_LOG_TYPE` may be utilized to introduce unexpected behavior. This issue has been patched in version 6.2.0. A workaround to fix line 218 in fx_fault_tolerant_apply_logs.c is documented in the GHSA.

(As written by CVE List.)

## Affected

- azure-rtos filex: < 6.2.0
- microsoft azure_rtos_filex: before 6.2.0

## Every score

- GitHub_M: CVSS:3.1 5.6 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/azure-rtos/filex/security/advisories/GHSA-8jqf-wjhq-4w9f> (exploit, mitigation, third-party-advisory)
- <https://github.com/azure-rtos/filex/blob/master/common/src/fx_fault_tolerant_apply_logs.c#L218> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2022-39343](https://www.cve.org/CVERecord?id=CVE-2022-39343), CVE Terms of Use, modified 2025-04-22
- NVD: [CVE-2022-39343](https://nvd.nist.gov/vuln/detail/CVE-2022-39343), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-39343 · Whole record: https://cve.day/CVE-2022-39343.json · Rebuilt by cve.day 2026-11-25T22:58:16.266Z
