CVE-2020-24385 in Freebsd and 1 more product
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 fr...
Affects 2 products from 2 vendors. Facts below cite their sources.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Freebsd | Freebsd | ≤ 7.0 |
| Midnightbsd | Midnightbsd | < 1.2.6 ≥ 1.3, ≤ 2020-08-19 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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().
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2020-24385 |
|---|---|
| BreachSpider ID | BS-2020-GLOBAL-180256-M |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| Published | 2020-09-03 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-476: NULL Pointer Dereference
Software attempts to use a NULL pointer, causing a crash and denial of service.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2020. A medium severity vulnerability affects Freebsd systems (CVE-2020-24385). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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(). CVSS vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
Questions
What is CVE-2020-24385?
This vulnerability was disclosed in 2020. A medium severity vulnerability affects Freebsd systems (CVE-2020-24385). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2020-24385?
CVE-2020-24385 has CVSS 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. EPSS: 0.4%.
Is CVE-2020-24385 actively exploited?
No confirmed active exploitation of CVE-2020-24385 as of 2026-09-25.
How do I remediate CVE-2020-24385?
Priority: MONITOR. Advisory: https://www.midnightbsd.org/notes/ PSIRT: [email protected]
What systems are affected by CVE-2020-24385?
CVE-2020-24385 affects Freebsd Freebsd; Midnightbsd Midnightbsd.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Freebsd","product":"Freebsd","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.