# CVE-2020-24385: In MidnightBSD before 1.2.6 and 1.3 before August 2020, and FreeBSD before 7, a NULL pointer dereference was found in the Linux emulation l…

- 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.37%, higher than 32% of CVEs (2026-12-01)
- Published: 2020-09-03T14:35:36.000Z
- Modified: 2026-06-17T03:05:28.367Z
- Weaknesses: CWE-476
- Assigned by: mitre

## Description

In MidnightBSD before 1.2.6 and 1.3 before August 2020, and FreeBSD before 7, a NULL pointer dereference was found in the Linux emulation layer that allows attackers to crash the running kernel. During binary interaction, td->td_emuldata in sys/compat/linux/linux_emul.h is not getting initialized and returns NULL from em_find().

(As written by CVE List.)

## Affected

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

## 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://www.midnightbsd.org/notes/> (release-notes, vendor-advisory)
- <http://www.midnightbsd.org/security/adv/MIDNIGHTBSD-SA-20:02.txt> (vendor-advisory)

## Sources

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

---

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