CVE-2024-42416
Freebsd 13.0 – 13.3
Raw vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2024-42416 is a high-severity Improper Filtering of Special Elements (CWE-790) vulnerability in Freebsd. Its CVSS base score is 8.8 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked at the 35th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SI-10 (Information Input Validation) — see the control section below for these in your framework.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-39611
Vulnerability Data
The ctl_report_supported_opcodes function did not sufficiently validate a field provided by userspace, allowing an arbitrary write to a limited amount of kernel help memory. Malicious software running in a guest VM that exposes virtio_scsi can exploit the vulnerabilities to achieve…
more
code execution on the host in the bhyve userspace process, which typically runs as root. Note that bhyve runs in a Capsicum sandbox, so malicious code is constrained by the capabilities available to the bhyve process. A malicious iSCSI initiator could achieve remote code execution on the iSCSI target host.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
- 1 hardening rule · 1 OS baseline
V6.7.2V1.4.2V2.2.1V2.2.2
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
Developer testing and evaluation (including static analysis and fuzzing) directly finds unsafe pointer arithmetic before deployment.
Input validation directly requires checking and filtering special elements in data received from upstream before further processing or forwarding.
Output filtering validates data sent downstream and can catch or correct unfiltered special elements prior to transmission.
Requiring documented development standards and tools can mandate safe pointer usage and compiler/runtime checks that stop the weakness from being introduced.
Security engineering principles can require bounds-checked pointer arithmetic or safe language constructs that structurally avoid out-of-range offsets.
Process isolation confines damage from invalid pointer offsets to a single address space, reducing overall impact.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Security testing can detect improper filtering but does not itself implement the filtering control.
Secure coding standards require proper filtering and encoding of special elements before downstream processing.
A.8.30 carries secure design, coding and testing practices (8.25-8.29) into outsourced development contracts, which reduces ordinary implementation-phase memory-safety flaws like CWE-823 in delivered code the way those practices do, but the effect is mediated by fallible human practice and depends on the referenced clauses being implemented, capping the rung at partial.
A.8.8's reach is disclosure-based (vulnerability scanning, advisories, CVE feeds, third-party component inventory); it finds CWE-823 only where the out-of-range pointer offset has been published as a vendor advisory in a third-party component, which is a minority of the class — most instances live in first-party code and are reached by A.8.29's source-reading testing, not by A.8.8.
Hardening callouts derived
Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over our cross-walk; rows rated `none` are excluded, and each rule says how its mapping was checked.
Definition changed on 29 October 2026. Until then this section listed every rule rated above none, partial included. From that date it lists rules whose mapping is rated full or mostly and checked at llm_unverified or higher; partial mappings show when you ask.
No rule maps to these weaknesses at full or mostly. Tick the option above to see the partial mappings.
Windows 10 (1 partial rule)
- V-220726 Data Execution Prevention (DEP) must be configured to at least OptOut. blocks CWE-823