CVE-2025-43187

Arbitrary Code Execution via hdiutil Command

Published Aug 29, 2025 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
This issue was addressed by removing the vulnerable code. This issue is fixed in macOS Sequoia 15.6, macOS Sonoma 14.7.7, macOS Ventura 13.7.7. Running an hdiutil command may unexpectedly execute arbitrary code.

Analysis

AI-generated

Technical impact

The vulnerable macOS "hdiutil" command could be manipulated to run unintended shell commands, allowing an attacker to execute arbitrary code on the affected system. This operation bypasses normal security controls and grants an attacker full control over the affected machine. The weakness stems from improper handling of command‑line arguments and is consistent with a CWE‑78 style vulnerability.

Affected Systems

Apple macOS systems running a version earlier than Sequoia 15.6, Sonoma 14.7.7, or Ventura 13.7.7 are affected; the issue was resolved by removing the vulnerable code in the releases listed above.

Risk and Exploitability

The CVSS score of 7.8 indicates a high‑severity vulnerability, yet the EPSS score of less than 1% suggests a very low probability of exploitation. The vulnerability is not listed in CISA’s KEV catalog and appears to require local execution of the hdiutil command, meaning the attacker must either obtain local access or manipulate a user trusted to run the command.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest macOS update—Sequoia 15.6 or newer, Sonoma 14.7.7 or newer, or Ventura 13.7.7 or newer—to remove the vulnerable code.
  • If an update cannot be applied immediately, restrict or disable the hdiutil command for non‑trusted users and monitor for suspicious usage patterns.
  • Review any scripts or automated processes that invoke hdiutil to ensure they accept only trusted arguments and sources.

Generated by OpenCVE AI on April 28, 2026 at 18:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-26255 This issue was addressed by removing the vulnerable code. This issue is fixed in macOS Sonoma 14.7.7, macOS Ventura 13.7.7, macOS Sequoia 15.6. Running an hdiutil command may unexpectedly execute arbitrary code.
History
Type Values Removed Values Added
Title Arbitrary Code Execution via hdiutil Command
Type Values Removed Values Added
Description This issue was addressed by removing the vulnerable code. This issue is fixed in macOS Sonoma 14.7.7, macOS Ventura 13.7.7, macOS Sequoia 15.6. Running an hdiutil command may unexpectedly execute arbitrary code. This issue was addressed by removing the vulnerable code. This issue is fixed in macOS Sequoia 15.6, macOS Sonoma 14.7.7, macOS Ventura 13.7.7. Running an hdiutil command may unexpectedly execute arbitrary code.
Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Apple
Apple macos
Apple macos Sequoia
Apple macos Sonoma
Apple macos Ventura
Vendors & Products Apple
Apple macos
Apple macos Sequoia
Apple macos Sonoma
Apple macos Ventura
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description This issue was addressed by removing the vulnerable code. This issue is fixed in macOS Sonoma 14.7.7, macOS Ventura 13.7.7, macOS Sequoia 15.6. Running an hdiutil command may unexpectedly execute arbitrary code.
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
apple
Published
Updated
Apr 2, 2026, 6:25 PM
Reserved
Apr 16, 2025, 3:24 PM
Status
Modified
Published
Aug 29, 2025, 1:15 AM
Modified
Oct 18, 2026, 9:10 PM