# CVE-2020-24863: A memory corruption vulnerability was found in the kernel function kerngetfsstat in MidnightBSD before 1.2.7 and 1.3 through 2020-08-19, an…

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- 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.53%, higher than 46% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2020-09-03T14:34:32.000Z
- Modified: 2026-06-17T03:06:07.037Z
- Weaknesses: CWE-787
- Assigned by: mitre

## Description

A memory corruption vulnerability was found in the kernel function kern_getfsstat in MidnightBSD before 1.2.7 and 1.3 through 2020-08-19, and FreeBSD through 11.4, that allows an attacker to trigger an invalid free and crash the system via a crafted size value in conjunction with an invalid mode.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- midnightbsd midnightbsd: before 1.2.7; from 1.3 up to 2020-08-19
- freebsd freebsd: up to 11.4

## Every score

- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.9 Medium `AV:L/AC:L/Au:N/C:N/I:N/A:C`

## References

- <https://github.com/MidnightBSD/src/blob/1691c07ff4f27b97220a5d65e217341e477f4014/sys/kern/vfs_syscalls.c> (exploit, third-party-advisory)
- <http://www.midnightbsd.org/security/adv/MIDNIGHTBSD-SA-20:01.txt> (exploit, vendor-advisory)
- <https://www.midnightbsd.org/notes/> (release-notes, vendor-advisory)
- <https://www.freebsd.org/security/advisories/FreeBSD-EN-20:18.getfsstat.asc> (patch, vendor-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2020-24863 · Whole record: https://cve.day/CVE-2020-24863.json · Rebuilt by cve.day 2026-11-25T22:57:54.500Z
