# CVE-2023-5368: msdosfs data disclosure

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/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.67%, higher than 53% of CVEs (2026-12-01)
- Published: 2023-10-04T03:38:09.357Z
- Modified: 2026-06-17T06:48:26.557Z
- Weaknesses: CWE-1188
- Assigned by: freebsd

## Description

On an msdosfs filesystem, the 'truncate' or 'ftruncate' system calls under certain circumstances populate the additional space in the file with unallocated data from the underlying disk device, rather than zero bytes.

This may permit a user with write access to files on a msdosfs filesystem to read unintended data (e.g. from a previously deleted file).

(As written by CVE List.)

## Affected

- FreeBSD FreeBSD: from 13.2-RELEASE before p4; from 12.4-RELEASE before p6; before 12.4; from 13.0 before 13.2; 12.4; 13.2

## References

- <https://security.FreeBSD.org/advisories/FreeBSD-SA-23:12.msdosfs.asc> (patch, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20231124-0004/>
- <https://dfir.ru/2023/11/01/bringing-unallocated-data-back-the-fat12-16-32-case/>

## Sources

- CVE List: [CVE-2023-5368](https://www.cve.org/CVERecord?id=CVE-2023-5368), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2023-5368](https://nvd.nist.gov/vuln/detail/CVE-2023-5368), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-5368 · Whole record: https://cve.day/CVE-2023-5368.json · Rebuilt by cve.day 2026-11-25T22:58:28.439Z
