Cyber Resilience

CVE-2024-42416

Freebsd 13.0 – 13.3

Published
05 September 2024
Modified
04 November 2025
Patch / advisory
CVSS Score v3.1 8.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS Score 0.0040 33th percentile
Risk Priority 63 floored blend · peak EPSS

Summary

CVE-2024-42416 is a high-severity Improper Filtering of Special Elements (CWE-790) vulnerability in Freebsd Freebsd. Its CVSS base score is 8.8 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique PowerShell (T1059.001); ranked at the 33th 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

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

T1059.001 PowerShell Execution
Adversaries may abuse PowerShell commands and scripts for execution.
T1059.003 Windows Command Shell Execution
Adversaries may abuse the Windows command shell for execution.
T1059.004 Unix Shell Execution
Adversaries may abuse Unix shell commands and scripts for execution.
T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-15576Same product: Freebsd Freebsd
CVE-2026-45251Same product: Freebsd Freebsd
CVE-2026-4747Same product: Freebsd Freebsd
CVE-2026-42512Same product: Freebsd Freebsd
CVE-2026-35547Same product: Freebsd Freebsd
CVE-2024-45287Same product: Freebsd Freebsd
CVE-2023-3494Same product: Freebsd Freebsd
CVE-2026-45252Same product: Freebsd Freebsd
CVE-2024-45063Same product: Freebsd Freebsd
CVE-2026-45255Same product: Freebsd Freebsd

Affected Assets

freebsd
freebsd
13.3, 13.4, 14.0, 14.1 · 13.0 — 13.3

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)
  • 2 hardening rules · 2 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V6.7.2
  • V1.4.2
  • V2.1.1
  • V2.2.1

Mitigating Controls (NIST 800-53 r5) AI

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) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly require proper sanitization and filtering of special elements before data passes downstream.

ID.RA-01 partial match
prevents

Identifying recorded vulnerabilities can surface missing input filters during code or configuration review.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing can detect improper filtering but does not itself implement the filtering control.

prevents

Secure development life cycle mandates input validation and sanitization that directly prevents improper filtering of special elements.

prevents

Application security requirements explicitly call for input validation controls that mitigate improper special-element filtering.

prevents

Secure system architecture and engineering principles include defensive input handling that reduces the risk of unfiltered special elements.

prevents

Secure coding standards require proper filtering and encoding of special elements before downstream processing.

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 `controls_xwalks` (authoritative rows only; rows rated `none` are excluded).

Windows 10 (1 rule)
  • V-220726 Data Execution Prevention (DEP) must be configured to at least OptOut. prevents CWE-823

References