Home / FreeBSD / FreeBSD / CVE-2023-5368
CVE-2023-5368: is it exploited, and which versions of FreeBSD are affected and fixed?
CVE-2023-5368 is an insecure default setting vulnerability in FreeBSD. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: FreeBSD from 13.2-RELEASE before p4 and FreeBSD from 12.4-RELEASE before p6 (CVE record by freebsd). Fixed in p4 and p6 (CVE record by freebsd). Severity: Medium (6.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:35 UTC.
What is CVE-2023-5368?
msdosfs data disclosure
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).
From the CVE record by freebsd, last updated August 2, 2024, 07:59 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| FreeBSD | FreeBSD | from 13.2-RELEASE before p4 from 12.4-RELEASE before p6 | p4, p6 |
As the CVE record by freebsd states it, last updated August 2, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| freebsd | freebsd | before 12.4 | operating system |
| freebsd | freebsd | from 13.0 before 13.2 | operating system |
| freebsd | freebsd | 12.4 | operating system |
| freebsd | freebsd | 13.2 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 06:48 UTC.
How severe is CVE-2023-5368?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-5368 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.67% probability of exploitation activity in the next 30 days, percentile 53.2 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-1188 Initialization of a Resource with an Insecure Default
Where are the vendor advisories and references?
- https://security.FreeBSD.org/advisories/FreeBSD-SA-23:12.msdosfs.asc 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/
Who found and reported it?
- Maxim Suhanov (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- October 3, 2023
- Published
- October 4, 2023, 03:38 UTC
- CVE record updated
- August 2, 2024, 07:59 UTC by freebsd
- NVD
- Modified, last modified June 17, 2026, 06:48 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:35 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect FreeBSD?
- Oct 15, 2026CVE-2026-101311 FreeBSD: race condition
- Oct 15, 2026CVE-2026-101310 FreeBSD: buffer Over-read
- Oct 15, 2026CVE-2026-101309 FreeBSD: race condition
- Oct 15, 2026CVE-2026-101308 FreeBSD: time-of-check time-of-use race condition
- Oct 15, 2026CVE-2026-101307 FreeBSD: heap buffer overflow
- Oct 15, 2026CVE-2026-101303 FreeBSD: incorrectly Specified Destination in a Communication Channel
- Oct 15, 2026CVE-2026-101302 FreeBSD: off-by-one Error
- Oct 15, 2026CVE-2026-101306 FreeBSD: privilege escalation
Questions about CVE-2023-5368
Is CVE-2023-5368 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 0.67% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of FreeBSD are affected by CVE-2023-5368?
FreeBSD from 13.2-RELEASE before p4 and FreeBSD from 12.4-RELEASE before p6, per the CVE record by freebsd. The tables above give every range the sources list.
Which version fixes CVE-2023-5368?
p4 and p6, per the CVE record by freebsd. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-5368?
Medium (6.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2023-5368?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.